#include <iostream>
#include "sbnana/SBNAna/Cuts/NumuCuts.h"
#include "sbnanaobj/StandardRecord/Proxy/SRProxy.h"
#include <cassert>
Go to the source code of this file.
Namespaces | |
ana | |
Oscillation analysis framework, runs over CAF files outside of ART. | |
Variables | |
const Cut | ana::kNumuBasicQual ([](const caf::SRSliceProxy *slc){bool hastrk=(slc->reco.ntrk > 0);if(!hastrk) return hastrk;unsigned int muIdx=(unsigned int) kPrimMuonIdx(slc);double len=slc->reco.trk[muIdx].len;return(len > 0);}) |
const Cut | ana::kHasFlashMatch ([](const caf::SRSliceProxy *slc){return(slc->fmatch.present);}) |
const Cut | ana::kFlashMatchScore ([](const caf::SRSliceProxy *slc){return(slc->fmatch.time > 0 &&slc->fmatch.score > 6);}) |
const Cut | ana::kFlashMatchNumuCut = kHasFlashMatch && kFlashMatchScore |
const Cut | ana::kNumuTrkLen ([](const caf::SRSliceProxy *slc){bool hastrk=(slc->reco.ntrk > 0);if(!hastrk) return hastrk;unsigned int muIdx=(unsigned int) kPrimMuonIdx(slc);double len=slc->reco.trk[muIdx].len;return(len > 50);}) |