Contains truth information for the slice for the parent neutrino/cosmic. More...
Public Member Functions | |
SRTruthBranch () | |
~SRTruthBranch () | |
void | setDefault () |
Public Attributes | |
std::vector< SRNeutrino > | nu |
implemented as a vector to maintain mc.nu structure, i.e. not a pointer, but with 0 or 1 entries. More... | |
std::vector< SRCosmic > | cosmic |
implemented as a vector to maintain mc.cosmic structure More... | |
std::vector< SRNeutrino > | allnus |
vector holding all Neutrinos More... | |
std::vector< SRCosmic > | allcosmics |
vector holding all Cosmics More... | |
short | faveidxeff |
Index of favorite in allnus when sorted by slicer efficiency. More... | |
short | faveidxenergy |
Index of favorite in allnus when sorted by energy. More... | |
short | faveidxpur |
Index of favorite in allnus when sorted by purity. More... | |
short | faveidxeffpur |
Index of favorite in allnus when sorted by product of efficiency and purity. More... | |
short | faveidxeffthenpur |
Index of favorite in allnus when neutrinos are sorted by efficiency and slices break ties by purity. More... | |
short | nnu |
Number of neutrinos in nu vector (0 or 1) More... | |
short | ncosmic |
Number of cosmics in cosmic vector (0 or 1) More... | |
short | nallnus |
Number of neutrinos in allnus vector. More... | |
short | nallcosmics |
Number of cosmics in allcosmics vector. More... | |
SRGlobalTruth | global |
Contains truth information for the slice for the parent neutrino/cosmic.
Definition at line 19 of file SRTruthBranch.h.
caf::SRTruthBranch::SRTruthBranch | ( | ) |
Definition at line 15 of file SRTruthBranch.cxx.
caf::SRTruthBranch::~SRTruthBranch | ( | ) |
Definition at line 32 of file SRTruthBranch.cxx.
void caf::SRTruthBranch::setDefault | ( | ) |
Definition at line 35 of file SRTruthBranch.cxx.
References faveidxeff, faveidxeffpur, faveidxeffthenpur, faveidxenergy, and faveidxpur.
Referenced by caf::CAFMaker::produce().
std::vector<SRCosmic> caf::SRTruthBranch::allcosmics |
vector holding all Cosmics
Definition at line 29 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), ana::ClearMultiNuInfo(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), and caf::CAFMaker::produce().
std::vector<SRNeutrino> caf::SRTruthBranch::allnus |
vector holding all Neutrinos
Definition at line 28 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), ana::ClearMichelTruthInfo(), ana::ClearMultiNuInfo(), ana::ClearPrimaryInfo(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), caf::CAFMaker::produce(), and ana::ResetBeamInfo().
std::vector<SRCosmic> caf::SRTruthBranch::cosmic |
implemented as a vector to maintain mc.cosmic structure
Definition at line 26 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), and caf::CAFMaker::produce().
short caf::SRTruthBranch::faveidxeff |
Index of favorite in allnus when sorted by slicer efficiency.
Definition at line 31 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), caf::CAFMaker::produce(), and setDefault().
short caf::SRTruthBranch::faveidxeffpur |
Index of favorite in allnus when sorted by product of efficiency and purity.
Definition at line 34 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), caf::CAFMaker::produce(), and setDefault().
short caf::SRTruthBranch::faveidxeffthenpur |
Index of favorite in allnus when neutrinos are sorted by efficiency and slices break ties by purity.
Definition at line 35 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), caf::CAFMaker::produce(), and setDefault().
short caf::SRTruthBranch::faveidxenergy |
Index of favorite in allnus when sorted by energy.
Definition at line 32 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), caf::CAFMaker::produce(), and setDefault().
short caf::SRTruthBranch::faveidxpur |
Index of favorite in allnus when sorted by purity.
Definition at line 33 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), caf::CAFMaker::produce(), and setDefault().
SRGlobalTruth caf::SRTruthBranch::global |
Information about the event from which the slice came. Variables in this branch should be used with caution since it can be duplicated across entries (slices) in the CAF tree.
Definition at line 42 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), and caf::CAFMaker::produce().
short caf::SRTruthBranch::nallcosmics |
Number of cosmics in allcosmics vector.
Definition at line 40 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), ana::ClearMultiNuInfo(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), SliceLID::initCAFAnaModel(), LSTME::initCAFAnaModel(), caf::Proxy< caf::SRTruthBranch >::operator=(), and caf::CAFMaker::produce().
short caf::SRTruthBranch::nallnus |
Number of neutrinos in allnus vector.
Definition at line 39 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), ana::ClearMultiNuInfo(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), SliceLID::initCAFAnaModel(), LSTME::initCAFAnaModel(), caf::Proxy< caf::SRTruthBranch >::operator=(), and caf::CAFMaker::produce().
short caf::SRTruthBranch::ncosmic |
Number of cosmics in cosmic vector (0 or 1)
Definition at line 38 of file SRTruthBranch.h.
Referenced by caf::Proxy< caf::SRTruthBranch >::CheckEquals(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), caf::Proxy< caf::SRTruthBranch >::operator=(), and caf::CAFMaker::produce().
short caf::SRTruthBranch::nnu |
Number of neutrinos in nu vector (0 or 1)
Definition at line 37 of file SRTruthBranch.h.
Referenced by caf_numu_reco_minus_true(), caf::Proxy< caf::SRTruthBranch >::CheckEquals(), efficiencySA(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), GetHistsFD(), GetHistsND(), DecTreeLoader::HandleRecord(), make_dst_cosrejbdttrain(), numu_cut_flow(), caf::Proxy< caf::SRTruthBranch >::operator=(), plot_kinematics_cafana(), Preliminary(), caf::CAFMaker::produce(), ProducingSA(), ana::BENDecomp::ReduceForBEN2020Decaf(), ReduceForSignalDecaf(), Tangible< T >::Tangible(), novarwgt::test::ToStandardRecord(), tree_maker_simple(), trimmubarid(), trimvar(), and useBDTG().
std::vector<SRNeutrino> caf::SRTruthBranch::nu |
implemented as a vector to maintain mc.nu structure, i.e. not a pointer, but with 0 or 1 entries.
Definition at line 25 of file SRTruthBranch.h.
Referenced by G4MismatchAna::analyze(), caf_numu_reco_minus_true(), caf::Proxy< caf::SRTruthBranch >::CheckEquals(), ana::ClearMichelTruthInfo(), ana::ClearPrimaryInfo(), ana::ClearReweightInfo(), efficiencySA(), flat::Flat< caf::SRTruthBranch >::Fill(), hdf5::HDF5TruthBranch< Tidx >::Fill(), FillTree(), GetHistsFD(), GetHistsND(), DecTreeLoader::HandleRecord(), make_dst_cosrejbdttrain(), numu_cut_flow(), caf::Proxy< caf::SRTruthBranch >::operator=(), plot_kinematics_cafana(), Preliminary(), caf::CAFMaker::produce(), ProducingSA(), ana::BENDecomp::ReduceForBEN2020Decaf(), ReduceForSignalDecaf(), ana::ResetBeamInfo(), Tangible< T >::Tangible(), novarwgt::test::ToStandardRecord(), tree_maker_simple(), trim_caf(), and useBDTG().