Module: creates tracks from simulated particles. More...
Classes | |
struct | Config |
Module configuration data. More... | |
Public Types | |
using | Parameters = art::EDProducer::Table< Config > |
Standard art alias for module configuration table. More... | |
Public Member Functions | |
TotallyCheatTracker (Parameters const &config) | |
Constructor; see the class documentation for the configuration. More... | |
virtual void | produce (art::Event &event) override |
bool | acceptParticle (simb::MCParticle const &particle) const |
Returns whether the particle satisfies the selection criteria. More... | |
Private Attributes | |
art::InputTag | particleTag |
Label of the input data product. More... | |
double | minLength |
Minimum particle length [cm]. More... | |
double | minEnergy |
Minimum energy [GeV]. More... | |
lar::example::TotallyCheatTrackingAlg | trackMaker |
Reconstruction algorithm. More... | |
Module: creates tracks from simulated particles.
This module creates one LArSoft reconstructed track (lar::example::CheatTrack
) for each input simulated particle (simb::MCParticle
) passing the selection criteria.
A collection of simb::MCParticle
is required.
A collection of lar::example::CheatTrack
is produced, a one-to-one association of each of them to its original simb::MCParticle
. Associations are inserted in the same order as the trajectories.
largeant
): label of the data product with input simulated particlesDefinition at line 73 of file TotallyCheatTracker_module.cc.
using lar::example::TotallyCheatTracker::Parameters = art::EDProducer::Table<Config> |
Standard art alias for module configuration table.
Definition at line 110 of file TotallyCheatTracker_module.cc.
|
explicit |
Constructor; see the class documentation for the configuration.
Definition at line 144 of file TotallyCheatTracker_module.cc.
bool lar::example::TotallyCheatTracker::acceptParticle | ( | simb::MCParticle const & | particle | ) | const |
Returns whether the particle
satisfies the selection criteria.
Definition at line 228 of file TotallyCheatTracker_module.cc.
|
overridevirtual |
Definition at line 161 of file TotallyCheatTracker_module.cc.
|
private |
Minimum energy [GeV].
Definition at line 127 of file TotallyCheatTracker_module.cc.
|
private |
Minimum particle length [cm].
Definition at line 126 of file TotallyCheatTracker_module.cc.
|
private |
Label of the input data product.
Definition at line 124 of file TotallyCheatTracker_module.cc.
|
private |
Reconstruction algorithm.
Definition at line 130 of file TotallyCheatTracker_module.cc.