DUNEAnaEventUtils class. More...
#include <DUNEAnaEventUtils.h>
Static Public Member Functions | |
static std::vector< art::Ptr< recob::PFParticle > > | GetPFParticles (const art::Event &evt, const std::string &label) |
Get the particles from the event. More... | |
static std::vector< art::Ptr< recob::Track > > | GetTracks (const art::Event &evt, const std::string &label) |
Get the tracks from the event. This function shouldn't be used as the basis of an analysis. More... | |
static std::vector< art::Ptr< recob::Shower > > | GetShowers (const art::Event &evt, const std::string &label) |
Get the showers from the event. This function shouldn't be used as the basis of an analysis. More... | |
static std::vector< art::Ptr< recob::Vertex > > | GetVertices (const art::Event &evt, const std::string &label) |
Get the vertices from the event. More... | |
static std::vector< art::Ptr< recob::Hit > > | GetHits (const art::Event &evt, const std::string &label) |
Get the hits from the event. More... | |
static std::vector< art::Ptr< recob::Wire > > | GetWires (const art::Event &evt, const std::string &label) |
Get the wires from the event. More... | |
static std::vector< art::Ptr< recob::SpacePoint > > | GetSpacePoints (const art::Event &evt, const std::string &label) |
Get the spacepoints from the event. More... | |
static std::vector< art::Ptr< recob::Slice > > | GetSlices (const art::Event &evt, const std::string &label) |
Get the slices from the event. More... | |
static std::vector< art::Ptr< simb::MCTruth > > | GetMCTruths (const art::Event &evt, const std::string &label) |
Get the MC truths from the event. More... | |
static std::vector< art::Ptr< simb::MCParticle > > | GetMCParticles (const art::Event &evt, const std::string &label) |
Get the MC particles from the event. More... | |
static std::vector< art::Ptr< recob::PFParticle > > | GetClearCosmics (const art::Event &evt, const std::string &label) |
Get the clear cosmic ray primaries from the event. More... | |
static art::Ptr< recob::PFParticle > | GetNeutrino (const art::Event &evt, const std::string &label) |
Get the neutrino from the event. More... | |
static bool | HasNeutrino (const art::Event &evt, const std::string &label) |
Check to see if the event has a reconstructed neutrino. More... | |
static std::vector< art::Ptr< cvn::Result > > | GetCVNResults (const art::Event &evt, const std::string &label) |
Get the CVN result objects from the event. More... | |
static std::vector< art::Ptr< ctp::CTPResult > > | GetSquIDResults (const art::Event &evt, const std::string &label) |
Get the SquID track PID result objects from the event. More... | |
Additional Inherited Members | |
Static Private Member Functions inherited from dune_ana::DUNEAnaUtilsBase | |
template<typename T > | |
static std::vector< art::Ptr< T > > | GetProductVector (const art::Event &evt, const std::string &label) |
template<typename T , typename U > | |
static std::vector< art::Ptr< T > > | GetAssocProductVector (const art::Ptr< U > &part, const art::Event &evt, const std::string &label, const std::string &assocLabel) |
template<typename T , typename U > | |
static art::Ptr< T > | GetAssocProduct (const art::Ptr< U > &part, const art::Event &evt, const std::string &label, const std::string &assocLabel) |
DUNEAnaEventUtils class.
Definition at line 40 of file DUNEAnaEventUtils.h.
|
static |
Get the clear cosmic ray primaries from the event.
evt | is the underlying art event |
label | is the label for the particle producer |
Definition at line 106 of file DUNEAnaEventUtils.cxx.
|
static |
Get the CVN result objects from the event.
evt | is the underlying art event |
label | is the label for the cvn evaluator |
Definition at line 174 of file DUNEAnaEventUtils.cxx.
|
static |
Get the hits from the event.
evt | is the underlying art event |
label | is the label for the hit producer |
Definition at line 64 of file DUNEAnaEventUtils.cxx.
|
static |
Get the MC particles from the event.
evt | is the underlying art event |
label | is the label for the MC particle producer |
Definition at line 99 of file DUNEAnaEventUtils.cxx.
|
static |
Get the MC truths from the event.
evt | is the underlying art event |
label | is the label for the MC truth producer |
Definition at line 92 of file DUNEAnaEventUtils.cxx.
|
static |
Get the neutrino from the event.
evt | is the underlying art event |
label | is the label for the particle producer |
Definition at line 131 of file DUNEAnaEventUtils.cxx.
|
static |
Get the particles from the event.
evt | is the underlying art event |
label | is the label for the particle producer |
Definition at line 28 of file DUNEAnaEventUtils.cxx.
|
static |
Get the showers from the event. This function shouldn't be used as the basis of an analysis.
evt | is the underlying art event |
label | is the label for the shower producer |
Definition at line 46 of file DUNEAnaEventUtils.cxx.
|
static |
Get the slices from the event.
evt | is the underlying art event |
label | is the label for the slice producer |
Definition at line 85 of file DUNEAnaEventUtils.cxx.
|
static |
Get the spacepoints from the event.
evt | is the underlying art event |
label | is the label for the spacepoint producer |
Definition at line 78 of file DUNEAnaEventUtils.cxx.
|
static |
Get the SquID track PID result objects from the event.
evt | is the underlying art event |
label | is the label for the SquID evaluator |
Definition at line 181 of file DUNEAnaEventUtils.cxx.
|
static |
Get the tracks from the event. This function shouldn't be used as the basis of an analysis.
evt | is the underlying art event |
label | is the label for the track producer |
Definition at line 35 of file DUNEAnaEventUtils.cxx.
|
static |
Get the vertices from the event.
evt | is the underlying art event |
label | is the label for the vertex producer |
Definition at line 57 of file DUNEAnaEventUtils.cxx.
|
static |
Get the wires from the event.
evt | is the underlying art event |
label | is the label for the wire producer |
Definition at line 71 of file DUNEAnaEventUtils.cxx.
|
static |
Check to see if the event has a reconstructed neutrino.
evt | is the underlying art event |
label | is the label for the particle producer |
Definition at line 153 of file DUNEAnaEventUtils.cxx.