Definition at line 20 of file get_data.C.
References ana::kCosPIDCoreBDT, ana::kCosPIDPeriBDT, ana::kCVNe_looseptp, ana::kEvt, ana::kInBeamSpill, ana::kNue2020FD, ana::kNue2020FDPeripheral(), ana::kRun, kSlice, ana::kStandardSpillCuts, ana::kSubrun, ana::MakeTextListFile(), SIMPLEVAR, string, and vars.
Referenced by boost::python::map_indexing_suite< Container, NoProxy, final_map_derived_policies< Container, NoProxy > >::extension_def().
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";
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 SpillVar kRun([](const caf::SRSpillProxy *spill){return spill->run;})
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