25 "prod_sumrestricteddecaf_R19-11-18-prod5reco.combi_opt2_fd_numi_fhc_full_v1_nue2020_fddatav2";
27 "prod_sumrestricteddecaf_R19-11-18-prod5reco.combi_opt2_fd_numi_rhc_full_v1_nue2020_fddatav2";
Cuts and Vars for the 2020 FD DiF Study.
void MakeTextListFile(const std::string &wildcard, const std::vector< Cut > &cut, const std::vector< std::string > &output, const std::vector< const Var * > &floatVars, const std::vector< const Var * > &intVars, const SpillCut *spillCut)
Make a file listing all the events passing the specified cut.
#define SIMPLEVAR(CAFNAME)
For Vars where literally all you need is a single CAF variable.
const Cut kInBeamSpill([](const caf::SRProxy *sr){if(sr->spill.run > util::kLastBadTimingRun) return kInBeamSpill_main(sr);else return kInBeamSpill_main(sr)||kInBeamSpill_shifted(sr);}, [](const caf::SRSpillProxy *spill){if(spill->run > util::kLastBadTimingRun) return kInBeamSpill_main.Livetime(spill);else return kInBeamSpill_main.Livetime(spill)+kInBeamSpill_shifted.Livetime(spill);}, [](const caf::SRSpillProxy *spill) -> double{return spill->spillpot;})
Does the event fall inside the window we call the beam spill?
const SpillCut kStandardSpillCuts
Apply this unless you're doing something special.
const Cut kNue2020FDPeripheral(kNue2020FDPeripheralFunc)
const Var kCosPIDCoreBDT
2020 nue cosmic rejection BDT variable - core
const Var kCosPIDPeriBDT
2020 nue cosmic rejection BDT variable - peripheral