LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
IndirectHitParticleAssns (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
void | reconfigure (fhicl::ParameterSet const &pset) override |
void | CreateHitParticleAssociations (art::Event &, HitParticleAssociations *) override |
This rebuilds the internal maps. More... | |
Private Attributes | |
std::vector< art::InputTag > | fHitModuleLabelVec |
art::InputTag | fMCParticleModuleLabel |
art::InputTag | fHitPartAssnsModuleLabel |
Definition at line 33 of file IndirectHitParticleAssns_tool.cc.
|
explicit |
Constructor.
pset | Constructor. |
Arguments:
pset - Fcl parameters.
Definition at line 63 of file IndirectHitParticleAssns_tool.cc.
References reconfigure().
|
overridevirtual |
This rebuilds the internal maps.
Rebuild method -> rebuild the basic maps to get truth information
Arguments:
event - the art event used to extract all information
Implements t0::IHitParticleAssociations.
Definition at line 92 of file IndirectHitParticleAssns_tool.cc.
References art::Assns< L, R, D >::addSingle(), recob::Hit::Channel(), DEFINE_ART_CLASS_TOOL, art::EventID::event(), fHitModuleLabelVec, fHitPartAssnsModuleLabel, fMCParticleModuleLabel, art::ProductRetriever::getByLabel(), art::ProductRetriever::getValidHandle(), art::Event::id(), art::Handle< T >::isValid(), art::Ptr< T >::key(), recob::Hit::PeakTimeMinusRMS(), recob::Hit::PeakTimePlusRMS(), art::Event::run(), and art::Event::subRun().
|
overridevirtual |
Reconfigure method.
Arguments:
pset - Fcl parameter set.
Implements t0::IHitParticleAssociations.
Definition at line 78 of file IndirectHitParticleAssns_tool.cc.
References fHitModuleLabelVec, fHitPartAssnsModuleLabel, fMCParticleModuleLabel, and fhicl::ParameterSet::get().
Referenced by IndirectHitParticleAssns().
|
private |
Definition at line 51 of file IndirectHitParticleAssns_tool.cc.
Referenced by CreateHitParticleAssociations(), and reconfigure().
|
private |
Definition at line 53 of file IndirectHitParticleAssns_tool.cc.
Referenced by CreateHitParticleAssociations(), and reconfigure().
|
private |
Definition at line 52 of file IndirectHitParticleAssns_tool.cc.
Referenced by CreateHitParticleAssociations(), and reconfigure().