#include "sbnana/CAFAna/Core/Binning.h"
#include "sbnana/CAFAna/Core/Cut.h"
#include "sbnana/CAFAna/Core/Ratio.h"
#include "sbnanaobj/StandardRecord/Proxy/SRProxy.h"
#include "SBNAna/Cuts/Cuts.h"
#include "SBNAna/Cuts/NueCuts.h"
#include "SBNAna/Cuts/TruthCuts.h"
#include "SBNAna/Cuts/VolumeDefinitions.h"
#include "SBNAna/Vars/Binnings.h"
#include "SBNAna/Vars/NueVars.h"
#include "SBNAna/Vars/TruthVars.h"
#include "SBNAna/Vars/Vars.h"
#include <fstream>
Go to the source code of this file.
Functions | |
const SpillVar | kNuEnergy ([](const caf::SRSpillProxy *sr){float energy=(sr->mc.nnu!=1?-5.f:(float) sr->mc.nu[0].E);return energy;}) |
const SpillCut | kSpillSingleNu ([](const caf::SRSpillProxy *sr){return(sr->mc.nnu< 2);}) |
const Cut | kTrueNuFV ([](const caf::SRSliceProxy *slc){return false;return PtInVolAbsX(slc->truth.position, fvndAbs);}) |
const Cut | kNuEEnergyCut ([](const caf::SRSliceProxy *slc){return true;for(auto const &prim:slc->truth.prim){if(std::abs(prim.pdg)!=11 &&std::abs(prim.pdg)!=22) continue;return true;}return false;}) |
Variables | |
const Cut | kCosmicRay = !kHasNu |
const Cut | kNuECC = kIsNue && !kIsNC && kSlcCompletenessCut && kTrueNuFV && kNuEEnergyCut |
const Cut | kNuMuCC = kIsNumu && !kIsNC && kSlcCompletenessCut && kTrueNuFV |
const Cut | kNC = kIsNC && kSlcCompletenessCut && kTrueNuFV |
const Cut | kOtherNu = kHasNu && !(kNuECC || kNuMuCC || kNC) |
double | POT = 6.6E20 |
const Cut kNuEEnergyCut | ( | [] (const caf::SRSliceProxy *slc){return true;for(auto const &prim:slc->truth.prim){if(std::abs(prim.pdg)!=11 &&std::abs(prim.pdg)!=22) continue;return true;}return false;} | ) |
const SpillVar kNuEnergy | ( | [] (const caf::SRSpillProxy *sr){float energy=(sr->mc.nnu!=1?-5.f:(float) sr->mc.nu[0].E);return energy;} | ) |
const SpillCut kSpillSingleNu | ( | [] (const caf::SRSpillProxy *sr){return(sr->mc.nnu< 2);} | ) |
const Cut kTrueNuFV | ( | [] (const caf::SRSliceProxy *slc){return false;return PtInVolAbsX(slc->truth.position, fvndAbs);} | ) |
const Cut kCosmicRay = !kHasNu |
Definition at line 54 of file PAC2020/SBND/helper.h.
Definition at line 59 of file PAC2020/SBND/helper.h.
const Cut kNuECC = kIsNue && !kIsNC && kSlcCompletenessCut && kTrueNuFV && kNuEEnergyCut |
Definition at line 57 of file PAC2020/SBND/helper.h.
Definition at line 58 of file PAC2020/SBND/helper.h.
Definition at line 60 of file PAC2020/SBND/helper.h.
double POT = 6.6E20 |
Definition at line 62 of file PAC2020/SBND/helper.h.