26 return DUNEAnaTrackUtils::GetAssocProductVector<recob::Hit>(pTrack,
evt,
label,
label);
33 return DUNEAnaTrackUtils::GetAssocProductVector<recob::SpacePoint>(pTrack,
evt,
label,
label);
40 return DUNEAnaTrackUtils::GetAssocProduct<recob::PFParticle>(pTrack,
evt,
label,
label);
47 std::vector<art::Ptr<anab::Calorimetry>> calos = DUNEAnaTrackUtils::GetAssocProductVector<anab::Calorimetry>(pTrack,
evt,trackLabel,caloLabel);
51 if (caloObject->PlaneID().Plane ==
geo::kW)
return caloObject;
55 mf::LogError(
"DUNEAna") <<
"DUNEAnaTrackUtils::GetCalorimetry - no collection view calorimetry found. Returning first alternate view." <<
std::endl;
64 return DUNEAnaTrackUtils::GetAssocProduct<ctp::CTPResult>(pTrack,
evt,trackLabel,squidLabel);
static std::vector< art::Ptr< recob::SpacePoint > > GetSpacePoints(const art::Ptr< recob::Track > &pTrack, const art::Event &evt, const std::string &label)
Get the spacepoints associated with the track.
Class storing the result from the convolutional track PID.
Utility containing helpful functions for end users to access information about Tracks.
static art::Ptr< ctp::CTPResult > GetSquIDResult(const art::Ptr< recob::Track > &pTrack, const art::Event &evt, const std::string &trackLabel, const std::string &squidLabel)
Get the SquID track PID associated with the track.
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
static std::vector< art::Ptr< recob::Hit > > GetHits(const art::Ptr< recob::Track > &pTrack, const art::Event &evt, const std::string &label)
Get the hits associated with the track.
static art::Ptr< recob::PFParticle > GetPFParticle(const art::Ptr< recob::Track > &pTrack, const art::Event &evt, const std::string &label)
Get the particle associated with the track.
Declaration of signal hit object.
Provides recob::Track data product.
static art::Ptr< anab::Calorimetry > GetCalorimetry(const art::Ptr< recob::Track > &pTrack, const art::Event &evt, const std::string &trackLabel, const std::string &caloLabel)
Get the particle associated with the track.
Planes which measure W (third view for Bo, MicroBooNE, etc).
QTextStream & endl(QTextStream &s)