Public Member Functions | |
HitSelector (fhicl::ParameterSet const &pset) | |
virtual | ~HitSelector () |
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 | HitPtrVector = std::vector< art::Ptr< recob::Hit >> |
Private Attributes | |
art::InputTag | fHitProducerLabel |
The full collection of hits. More... | |
std::vector< float > | fMinMaxPulseHeighMulti |
Max pulse height of a pulse train must be this large. More... | |
std::vector< float > | fMinPulseHeightMulti |
Multi hit snippets, minimum pulse height per plane. More... | |
std::vector< float > | fMinPulseWidthMulti |
Multi hit snippets, minimum pulse width per plane. More... | |
std::vector< float > | fMinPulseHeightSingle |
Single hit snippets, minimum pulse height per plane. More... | |
std::vector< float > | fMinPulseWidthSingle |
Single hit snippets, minimum pulse width per plane. More... | |
int | fNumEvent |
Number of events seen. More... | |
Definition at line 38 of file HitSelector_module.cc.
|
private |
Definition at line 54 of file HitSelector_module.cc.
|
explicit |
Constructor.
Arguments:
pset - Fcl parameters.
Definition at line 77 of file HitSelector_module.cc.
|
virtual |
|
virtual |
Begin job method.
Definition at line 115 of file HitSelector_module.cc.
|
virtual |
|
virtual |
Produce method.
Arguments:
evt - Art event.
This is the primary method. The goal is to produce a list of recob::Hit objects which are a "clean" subset of all hits and which are believed to be due to a neutrino interaction. It does this by considering input CosmicTag objects, relating them to PFParticles/Tracks and removing the hits associated to those objects which are believed to be Cosmic Rays.
Definition at line 135 of file HitSelector_module.cc.
|
virtual |
Reconfigure method.
Arguments:
pset - Fcl parameter set.
Definition at line 103 of file HitSelector_module.cc.
|
private |
The full collection of hits.
Definition at line 57 of file HitSelector_module.cc.
|
private |
Max pulse height of a pulse train must be this large.
Definition at line 58 of file HitSelector_module.cc.
|
private |
Multi hit snippets, minimum pulse height per plane.
Definition at line 59 of file HitSelector_module.cc.
|
private |
Single hit snippets, minimum pulse height per plane.
Definition at line 61 of file HitSelector_module.cc.
|
private |
Multi hit snippets, minimum pulse width per plane.
Definition at line 60 of file HitSelector_module.cc.
|
private |
Single hit snippets, minimum pulse width per plane.
Definition at line 62 of file HitSelector_module.cc.
|
private |
Number of events seen.
Definition at line 65 of file HitSelector_module.cc.