10 #include "cetlib_except/exception.h" 12 #include "canvas/Persistency/Common/FindManyP.h" 24 return DUNEAnaShowerUtils::GetAssocProductVector<recob::Hit>(pShower,
evt,
label,
label);
31 return DUNEAnaShowerUtils::GetAssocProductVector<recob::SpacePoint>(pShower,
evt,
label,
label);
38 return DUNEAnaShowerUtils::GetAssocProduct<recob::PFParticle>(pShower,
evt,
label,
label);
Utility containing helpful functions for end users to access information about Showers.
static std::vector< art::Ptr< recob::SpacePoint > > GetSpacePoints(const art::Ptr< recob::Shower > &pShower, const art::Event &evt, const std::string &label)
Get the spacepoints associated with the shower.
Declaration of signal hit object.
static std::vector< art::Ptr< recob::Hit > > GetHits(const art::Ptr< recob::Shower > &pShower, const art::Event &evt, const std::string &label)
Get the hits associated with the shower.
static art::Ptr< recob::PFParticle > GetPFParticle(const art::Ptr< recob::Shower > &pShower, const art::Event &evt, const std::string &label)
Get the particle associated with the shower.