Functions | Variables
varsandcuts.h File Reference
#include "includes.h"
#include "3FlavorAna/Vars/NumuVars.h"

Go to the source code of this file.

Functions

const Var kSAEnergy ([](const caf::SRProxy *sr){return sr->energy.numu.E;})
 
const Var kNumuEnergyDataMC ([](const caf::SRProxy *sr){bool isMC=(sr->hdr.ismc);if(isMC) return k3AEnergy(sr);if(!isMC) return kSAEnergy(sr);})
 
const Cut kNumuCosmicRej_Prod3 ([](const caf::SRProxy *sr){return(sr->sel.cosrej.anglekal > 0.5 &&sr->sel.cosrej.numuSAcontpid > 0.535 &&sr->slc.nhit< 400);})
 
const SpillCut kIs6e20 ([](const caf::SRSpillProxy *s){int RunNumber=s->run;int lastFDSARun=22900;int lastNDSARun=11383;if(s->det==caf::kFARDET) return(RunNumber<=lastFDSARun);if(s->det==caf::kNEARDET) return(RunNumber<=lastNDSARun);})
 
const SpillCut kIs3e20 ([](const caf::SRSpillProxy *s){int RunNumber=s->run;int lastFDSARun=22900;int lastNDSARun=11383;if(s->det==caf::kFARDET) return(RunNumber >lastFDSARun);if(s->det==caf::kNEARDET) return(RunNumber >lastNDSARun);})
 

Variables

const int nQuant = 4
 
const int nQuantPlus = 5
 
const Var k3AEnergy = kCCE
 
const Cut kNumuND_Prod3 = kNumuND
 
const Cut kNumuFD_Prod3 = kNumuQuality && kNumuContainFD && kNumuNCRej && kNumuCosmicRej_Prod3
 

Function Documentation

const SpillCut kIs3e20 ( [] (const caf::SRSpillProxy *s){int RunNumber=s->run;int lastFDSARun=22900;int lastNDSARun=11383;if(s->det==caf::kFARDET) return(RunNumber >lastFDSARun);if(s->det==caf::kNEARDET) return(RunNumber >lastNDSARun);}  )

Referenced by getData().

const SpillCut kIs6e20 ( [] (const caf::SRSpillProxy *s){int RunNumber=s->run;int lastFDSARun=22900;int lastNDSARun=11383;if(s->det==caf::kFARDET) return(RunNumber<=lastFDSARun);if(s->det==caf::kNEARDET) return(RunNumber<=lastNDSARun);}  )

Referenced by getData().

const Cut kNumuCosmicRej_Prod3 ( [] (const caf::SRProxy *sr){return(sr->sel.cosrej.anglekal > 0.5 &&sr->sel.cosrej.numuSAcontpid > 0.535 &&sr->slc.nhit< 400);}  )
const Var kNumuEnergyDataMC ( [] (const caf::SRProxy *sr){bool isMC=(sr->hdr.ismc);if(isMC) return k3AEnergy(sr);if(!isMC) return kSAEnergy(sr);}  )
const Var kSAEnergy ( [] (const caf::SRProxy *sr){return sr->energy.numu.E;}  )

Referenced by getData().

Variable Documentation

const Var k3AEnergy = kCCE

Definition at line 16 of file varsandcuts.h.

Referenced by getData().

const Cut kNumuFD_Prod3 = kNumuQuality && kNumuContainFD && kNumuNCRej && kNumuCosmicRej_Prod3

Definition at line 36 of file varsandcuts.h.

Referenced by getData().

const Cut kNumuND_Prod3 = kNumuND

Definition at line 35 of file varsandcuts.h.

Referenced by getData().

const int nQuant = 4
const int nQuantPlus = 5

Definition at line 5 of file varsandcuts.h.

Referenced by makePredTables(), plotDataPred(), and plotDataPred_SplitCanvas().