Utility functions that are used by the TOFEstimators processor. More...
Modules | |
TOFEstimators | |
Marlin processor that calculates harmonic mean momentum, track length and time-of-flight for charged particles. | |
Namespaces | |
TOFUtils | |
Functions | |
TOFEstimators::TOFEstimators (const TOFEstimators &)=delete | |
Copy constructor. More... | |
TOFEstimators & | TOFEstimators::operator= (const TOFEstimators &)=delete |
Copy assignment operator. More... | |
marlin::Processor * | TOFEstimators::newProcessor () |
Method required by the Marlin to register processor in the global scope. More... | |
TOFEstimators::TOFEstimators () | |
Default constructor. More... | |
void | TOFEstimators::init () |
Called at the begin of the job before anything is read. More... | |
void | TOFEstimators::processEvent (EVENT::LCEvent *evt) |
Called for every event - the working horse. More... | |
Variables | |
std::string | TOFEstimators::_pfoCollectionName {} |
Stores ReconstructedParticleCollection steering parameter. More... | |
bool | TOFEstimators::_extrapolateToEcal {} |
Stores ExtrapolateToEcal steering parameter. More... | |
std::string | TOFEstimators::_tofMethod {} |
Stores TofMethod steering parameter. More... | |
double | TOFEstimators::_timeResolution {} |
Stores TimeResolution steering parameter. More... | |
int | TOFEstimators::_maxEcalLayer {} |
Stores MaxEcalLayer steering parameter. More... | |
int | TOFEstimators::_nEvent {} |
Stores current event number. More... | |
std::vector< std::string > | TOFEstimators::_outputParNames {} |
Stores names of the output parameters. More... | |
MarlinTrk::IMarlinTrkSystem * | TOFEstimators::_trkSystem = nullptr |
Kalman Filter System. More... | |
double | TOFEstimators::_bField {} |
Stores z component of the magnetic field at the origin in Tesla. More... | |
double | TOFEstimators::_tpcOuterR {} |
Stores outer TPC radius in mm. More... | |
Utility functions that are used by the TOFEstimators processor.
void TOFEstimators::init | ( | ) |
Called at the begin of the job before anything is read.
Extracts geometry details and initializes Kalman Filter System.
Definition at line 76 of file TOFEstimators.cc.
|
inline |
Method required by the Marlin to register processor in the global scope.
Definition at line 37 of file TOFEstimators.h.
|
delete |
Copy assignment operator.
We remove it to avoid W-effc++ warnings.
void TOFEstimators::processEvent | ( | EVENT::LCEvent * | evt | ) |
Called for every event - the working horse.
Calculates momentum, track length and time of flight and writes them into PIDHandler of the input collection object.
Definition at line 98 of file TOFEstimators.cc.
|
delete |
Copy constructor.
We remove it to avoid W-effc++ warnings.
TOFEstimators::TOFEstimators | ( | ) |
Default constructor.
Registers steering parameters from the xml steering file.
Definition at line 37 of file TOFEstimators.cc.
|
private |
Stores z component of the magnetic field at the origin in Tesla.
Definition at line 95 of file TOFEstimators.h.
|
private |
Stores ExtrapolateToEcal steering parameter.
Definition at line 63 of file TOFEstimators.h.
|
private |
Stores MaxEcalLayer steering parameter.
Definition at line 75 of file TOFEstimators.h.
|
private |
Stores current event number.
Definition at line 79 of file TOFEstimators.h.
|
private |
Stores names of the output parameters.
These are "momentumHM", "trackLength" and "timeOfFlight".
Definition at line 84 of file TOFEstimators.h.
|
private |
Stores ReconstructedParticleCollection steering parameter.
Definition at line 59 of file TOFEstimators.h.
|
private |
Stores TimeResolution steering parameter.
Definition at line 71 of file TOFEstimators.h.
|
private |
Stores TofMethod steering parameter.
Definition at line 67 of file TOFEstimators.h.
|
private |
Stores outer TPC radius in mm.
Definition at line 99 of file TOFEstimators.h.
|
private |
Kalman Filter System.
Definition at line 91 of file TOFEstimators.h.