Public Member Functions | |
HitMerger (fhicl::ParameterSet const &pset) | |
virtual | ~HitMerger () |
Destructor. More... | |
virtual void | reconfigure (fhicl::ParameterSet const &pset) |
virtual void | produce (art::Event &e) |
virtual void | beginJob () |
Begin job method. More... | |
virtual void | endJob () |
End job method. More... | |
Private Types | |
using | RecobHitToPtrMap = std::unordered_map< const recob::Hit *, art::Ptr< recob::Hit >> |
using | HitPtrVector = std::vector< art::Ptr< recob::Hit >> |
Private Member Functions | |
void | makeWireAssns (const art::Event &, art::Assns< recob::Wire, recob::Hit > &, RecobHitToPtrMap &) const |
Create recob::Wire to recob::Hit associations. More... | |
void | makeRawDigitAssns (const art::Event &, art::Assns< raw::RawDigit, recob::Hit > &, RecobHitToPtrMap &) const |
Create raw::RawDigit to recob::Hit associations. More... | |
Private Attributes | |
std::vector< art::InputTag > | HitMergerfHitProducerLabelVec |
The full collection of hits. More... | |
Definition at line 40 of file HitMerger_module.cc.
|
private |
Definition at line 68 of file HitMerger_module.cc.
|
private |
Definition at line 55 of file HitMerger_module.cc.
|
explicit |
Constructor.
Arguments:
pset - Fcl parameters.
Definition at line 83 of file HitMerger_module.cc.
|
virtual |
|
virtual |
Begin job method.
Definition at line 114 of file HitMerger_module.cc.
|
virtual |
|
private |
Create raw::RawDigit to recob::Hit associations.
Definition at line 226 of file HitMerger_module.cc.
|
private |
Create recob::Wire to recob::Hit associations.
Definition at line 184 of file HitMerger_module.cc.
|
virtual |
Produce method.
Arguments:
evt - Art event.
This is the primary method. The goal is to merge input hit collections and output a single hit collection on the backside.
Associations with wires.
Associations with raw digits.
Definition at line 131 of file HitMerger_module.cc.
|
virtual |
Reconfigure method.
Arguments:
pset - Fcl parameter set.
Definition at line 107 of file HitMerger_module.cc.
|
private |
The full collection of hits.
Definition at line 71 of file HitMerger_module.cc.