#include "sbnana/CAFAna/Core/Binning.h"
#include "sbnanaobj/StandardRecord/Proxy/SRProxy.h"
#include "SBNAna/Vars/NumuVars.h"
#include "SBNAna/Cuts/TruthCuts.h"
Go to the source code of this file.
const Var kPrimTrkCosth |
( |
[] (const caf::SRSliceProxy *slc) -> double{int muIdx=kPrimMuonIdx(slc);if(muIdx< 0) return-5.;return(double) slc->reco.trk[muIdx].costh;} |
| ) |
|
const Cut kSig = kIsNumu && !kIsNC |
Initial value:=
{{
"count",
"", Binning::Simple(3,0,3),
kCounting},
{
"mucosth",
"cos#theta", Binning::Simple(10,-1,1),
kPrimTrkCosth},
{
"vtxx",
"X (cm)", Binning::Simple(10,-200,200),
kSlcVtxX},
{
"vtxy",
"Y (cm)", Binning::Simple(10,-200,200),
kSlcVtxY},
{
"vtxz",
"Z (cm)", Binning::Simple(10,0,500),
kSlcVtxZ},
}
const Var kPrimTrkCosth([](const caf::SRSliceProxy *slc) -> double{int muIdx=kPrimMuonIdx(slc);if(muIdx< 0) return-5.;return(double) slc->reco.trk[muIdx].costh;})
const Var kSlcVtxX([](const caf::SRSliceProxy *slc) -> double{return slc->slc.vertex.x;})
const Var kSlcVtxZ([](const caf::SRSliceProxy *slc) -> double{return slc->slc.vertex.z;})
const Var kSlcVtxY([](const caf::SRSliceProxy *slc) -> double{return slc->slc.vertex.y;})
Definition at line 54 of file demo.h.
Initial value:=
{{
"nocut",
"All Slices",
kNoCut, kBlack},
{
"sig",
"True NumuCC",
kSig, kRed+1},
{
"bkg",
"Not NumuCC", !
kSig, kAzure+2},
}
const Cut kNoCut([](const caf::SRSliceProxy *){return true;})
The simplest possible cut: pass everything, used as a default.
Definition at line 77 of file demo.h.