8 #ifndef CHEAT_PARTICLEINVENTORYSERVICESERVICE_H 9 #define CHEAT_PARTICLEINVENTORYSERVICESERVICE_H 26 #include "nug4/ParticleNavigation/ParticleList.h" 27 #include "nug4/ParticleNavigation/EveIdCalculator.h" 40 fhicl::Comment(
"This is the fhicl configuration for the ParticleInventory Service Provider") };
105 #endif //CHEAT_PARTICLEINVENTORYSERVICESERVICE_H
simb::MCTruth TrackIdToMCTruth(int const id) const
bool priv_ParticleListReady()
const std::vector< art::Ptr< simb::MCTruth > > & MCTruthVector_Ps() const
bool MCTruthListReady() const
A simple check to determine if the MCTruthList has already been prepared and cached or not...
const simb::MCParticle * TrackIdToParticle_P(int id) const
void SetEveIdCalculator(sim::EveIdCalculator *ec)
bool TrackIdToMCTruthReady() const
A simple check to determine if the TrackIdToMCTruth map has been prepared or not. ...
ChannelGroupService::Name Name
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
int TrackIdToEveTrackId(int tid) const
void SetEveIdCalculator(sim::EveIdCalculator *ec)
simb::MCParticle TrackIdToParticle(int const id) const
void priv_PrepEvent(const art::Event &evt, art::ScheduleContext)
#define DECLARE_ART_SERVICE(svc, scope)
const art::Ptr< simb::MCTruth > & TrackIdToMCTruth_P(int id) const
const sim::ParticleList & ParticleList() const
simb::MCParticle TrackIdToMotherParticle(int const id) const
void priv_PrepMCTruthList(const art::Event &evt)
code to link reconstructed objects back to the MC truth information
bool priv_TrackIdToMCTruthReady()
bool ParticleListReady() const
A simple check to determine if the ParticleList has already been prepared for this event or not...
fhicl::Table< ParticleInventory::ParticleInventoryConfig > ParticleInventoryTable
ParticleInventoryService(const ParticleInventoryServiceConfig &config, art::ActivityRegistry ®)
Header for the ParticleInvenotry Service Provider.
void Rebuild(const art::Event &evt)
ParticleInventory(const ParticleInventoryConfig &config)
Event generator information.
const simb::MCParticle * TrackIdToMotherParticle_P(int id) const
void priv_PrepTrackIdToMCTruthIndex(const art::Event &evt)
std::set< int > GetSetOfEveIds() const
bool priv_MCTruthListReady()
simb::MCTruth ParticleToMCTruth(const simb::MCParticle *p) const
bool priv_CanRun(const art::Event &evt) const
const provider_type * provider() const