OverlayCuts.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "CAFAna/Core/Cut.h"
4 
5 namespace ana
6 {
7  extern const NuTruthCut kNoCut_NT;
8 
9  extern const NuTruthCut kOverlaidMC_Nu;
11 
12  extern const Cut kTrueOFiducial;
14 
15  extern const Cut kTrueOFiducialLoose;
17 
18  extern const Cut kTrueE250MeV;
20 
21  extern const Cut kTrueNumuCC;
22  extern const NuTruthCut kTrueNumuCC_Nu;
23 
24  extern const Cut kTrueNueCC;
25  extern const NuTruthCut kTrueNueCC_Nu;
26 
27  extern const Cut kAnaTrueECut_Numu;
29 
30  extern const Cut kAnaTrueECut_Nue;
32 
33  extern const Cut kOverlaidEff51;
34 
35  extern const Cut kOverlaidNoEffCut;
36 
37  extern const Cut kNotOverlaidData;
38 
39  extern const SpillCut kNoCut_Sp;
40 }
const NuTruthCut kTrueNueCC_Nu([](const caf::SRNeutrinoProxy *truth){return( truth->iscc && abs(truth->pdg)==12 );})
Definition: OverlayCuts.h:25
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
const NuTruthCut kOverlaidData_Nu([](const caf::SRNeutrinoProxy *nu){return true;})
Definition: OverlayCuts.h:10
const Cut kAnaTrueECut_Numu
Definition: OverlayCuts.cxx:88
const NuTruthCut kOverlaidMC_Nu([](const caf::SRNeutrinoProxy *nu){return(nu->mode > 9999);})
Definition: OverlayCuts.h:9
const NuTruthCut kAnaTrueECut_Nu_Nue([](const caf::SRNeutrinoProxy *nu){return(nu->E >=0.&&nu->E< 6.0);})
Definition: OverlayCuts.h:31
const NuTruthCut kNoCut_NT([](const caf::SRNeutrinoProxy *nu){return true;})
Definition: OverlayCuts.h:7
const NuTruthCut kTrueNumuCC_Nu([](const caf::SRNeutrinoProxy *truth){return( truth->iscc && abs(truth->pdg)==14 );})
Definition: OverlayCuts.h:22
const Cut kTrueOFiducialLoose
Definition: OverlayCuts.cxx:57
const Cut kTrueE250MeV
Definition: OverlayCuts.cxx:63
const NuTruthCut kTrueOFiducial_Nu([](const caf::SRNeutrinoProxy *nu){return(nu->vtx.X()< ovtxmax.X()&& nu->vtx.X() > ovtxmin.X()&& nu->vtx.Y() > ovtxmin.Y()&& nu->vtx.Y()< ovtxmax.Y()&& nu->vtx.Z() > ovtxmin.Z()&& nu->vtx.Z()< ovtxmax.Z());})
Definition: OverlayCuts.h:13
const Cut kTrueNueCC
Definition: OverlayCuts.cxx:74
const Cut kOverlaidNoEffCut([](const caf::SRProxy *sr){if(sr->mc.nallnus==0) return false;for(int j=0;j< sr->mc.nallnus;j++) if((sr->mc.allnus[j].mode > 9999 ||!sr->spill.ismc)) return true;return false;})
Definition: OverlayCuts.h:35
const Cut kAnaTrueECut_Nue
Definition: OverlayCuts.cxx:95
const SpillCut kNoCut_Sp([](const caf::SRSpillProxy *sp){return true;})
Definition: OverlayCuts.h:39
const Cut kOverlaidEff51([](const caf::SRProxy *sr){if(sr->mc.nallnus==0) return false;for(int j=0;j< sr->mc.nallnus;j++) if((sr->mc.allnus[j].mode > 9999 ||!sr->spill.ismc) &&sr->mc.allnus[j].eff > 0.51) return true;return false;})
Definition: OverlayCuts.h:33
const NuTruthCut kTrueE250MeV_Nu([](const caf::SRNeutrinoProxy *nu){return nu->E > 0.25;})
Definition: OverlayCuts.h:19
const NuTruthCut kTrueOFiducialLoose_Nu([](const caf::SRNeutrinoProxy *nu){return(nu->vtx.X()< ovtxmaxLoose.X()&& nu->vtx.X() > ovtxminLoose.X()&& nu->vtx.Y() > ovtxminLoose.Y()&& nu->vtx.Y()< ovtxmaxLoose.Y()&& nu->vtx.Z() > ovtxminLoose.Z()&& nu->vtx.Z()< ovtxmaxLoose.Z());})
Definition: OverlayCuts.h:16
const Cut kTrueNumuCC
Definition: OverlayCuts.cxx:65
const Cut kTrueOFiducial
Definition: OverlayCuts.cxx:44
Template for Cut and SpillCut.
Definition: Cut.h:15
const Cut kNotOverlaidData([](const caf::SRProxy *sr){if(sr->mc.nallnus==0) return true;return false;})
Definition: OverlayCuts.h:37
const NuTruthCut kAnaTrueECut_Nu_Numu([](const caf::SRNeutrinoProxy *nu){return(nu->E >=0.&&nu->E< 7.);})
Definition: OverlayCuts.h:28