93 <<
"Rebuild failed to get the MCParticles. This is expected when running on a generation " 94 "or simulation step.";
109 <<
"Rebuild failed to get the MCParticles. This is expected when running on a generation " 110 "or simulation step.";
127 <<
"Rebuild failed to get the MCParticles. This is expected when running on a generation " 128 "or simulation step.";
bool priv_ParticleListReady()
void PrepParticleList(const Evt &evt) const
A function to load the ParticleList and cache it This function will find the particle list and load i...
const std::vector< art::Ptr< simb::MCTruth > > & MCTruthVector_Ps() const
const simb::MCParticle * TrackIdToParticle_P(int id) const
std::set< int > GetSetOfTrackIds() const
std::vector< const simb::MCParticle * > MCTruthToParticles_Ps(art::Ptr< simb::MCTruth > const &mct) const
void priv_PrepParticleList(const art::Event &evt)
const art::Ptr< simb::MCTruth > & ParticleToMCTruth_P(const simb::MCParticle *p) const
bool CanRun(const Evt &evt) const
A short function to check if use of the backtracker is appropriate or not based on the type of input ...
const std::vector< art::Ptr< simb::MCTruth > > & MCTruthVector_Ps() const
void PrepTrackIdToMCTruthIndex(const Evt &evt) const
A function to prepare and cache a map of TrackIds and MCTruth object indicies from fMCTruthList...
void PrepMCTruthList(const Evt &evt) const
A function to load and cache the MCTruthList of the event.
int TrackIdToEveTrackId(int tid) const
void priv_PrepEvent(const art::Event &evt, art::ScheduleContext)
std::vector< const simb::MCParticle * > MCTruthToParticles_Ps(art::Ptr< simb::MCTruth > const &mct) const
const art::Ptr< simb::MCTruth > & TrackIdToMCTruth_P(int id) const
const simb::MCParticle * TrackIdToParticle_P(int const &id) const
T get(std::string const &key) const
std::set< int > GetSetOfTrackIds() const
std::set< int > GetSetOfEveIds() const
GlobalSignal< detail::SignalResponseType::FIFO, void(Event const &, ScheduleContext)> sPreProcessEvent
const sim::ParticleList & ParticleList() const
void priv_PrepMCTruthList(const art::Event &evt)
code to link reconstructed objects back to the MC truth information
bool priv_TrackIdToMCTruthReady()
const simb::MCParticle * TrackIdToMotherParticle_P(int const &id) const
static ScheduleContext invalid()
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
ParticleInventoryService(const ParticleInventoryServiceConfig &config, art::ActivityRegistry ®)
void Rebuild(const art::Event &evt)
ParticleInventory(const ParticleInventoryConfig &config)
const simb::MCParticle * TrackIdToMotherParticle_P(int id) const
void priv_PrepTrackIdToMCTruthIndex(const art::Event &evt)
Particle list in DetSim contains Monte Carlo particle information.
std::set< int > GetSetOfEveIds() const
bool priv_MCTruthListReady()
int TrackIdToEveTrackId(const int &tid) const
const art::Ptr< simb::MCTruth > & TrackIdToMCTruth_P(int const &id) const
bool priv_CanRun(const art::Event &evt) const
const sim::ParticleList & ParticleList() const