All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
TimeOfFlight

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...
 
TOFEstimatorsTOFEstimators::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...
 

Detailed Description

Utility functions that are used by the TOFEstimators processor.

Author
F. Gaede, DESY, 2018
B. Dudar, DESY, 2021

Function Documentation

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.

marlin::Processor* TOFEstimators::newProcessor ( )
inline

Method required by the Marlin to register processor in the global scope.

Definition at line 37 of file TOFEstimators.h.

TOFEstimators& TOFEstimators::operator= ( const TOFEstimators )
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.

TOFEstimators::TOFEstimators ( const TOFEstimators )
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.

Variable Documentation

double TOFEstimators::_bField {}
private

Stores z component of the magnetic field at the origin in Tesla.

Definition at line 95 of file TOFEstimators.h.

bool TOFEstimators::_extrapolateToEcal {}
private

Stores ExtrapolateToEcal steering parameter.

Definition at line 63 of file TOFEstimators.h.

int TOFEstimators::_maxEcalLayer {}
private

Stores MaxEcalLayer steering parameter.

Definition at line 75 of file TOFEstimators.h.

int TOFEstimators::_nEvent {}
private

Stores current event number.

Definition at line 79 of file TOFEstimators.h.

std::vector<std::string> TOFEstimators::_outputParNames {}
private

Stores names of the output parameters.

These are "momentumHM", "trackLength" and "timeOfFlight".

Definition at line 84 of file TOFEstimators.h.

std::string TOFEstimators::_pfoCollectionName {}
private

Stores ReconstructedParticleCollection steering parameter.

Definition at line 59 of file TOFEstimators.h.

double TOFEstimators::_timeResolution {}
private

Stores TimeResolution steering parameter.

Definition at line 71 of file TOFEstimators.h.

std::string TOFEstimators::_tofMethod {}
private

Stores TofMethod steering parameter.

Definition at line 67 of file TOFEstimators.h.

double TOFEstimators::_tpcOuterR {}
private

Stores outer TPC radius in mm.

Definition at line 99 of file TOFEstimators.h.

MarlinTrk::IMarlinTrkSystem* TOFEstimators::_trkSystem = nullptr
private

Kalman Filter System.

Note
Release notes of MarlinTrk v02-00:
users should no longer delete the IMarlinTrkSystem pointer in their code

Definition at line 91 of file TOFEstimators.h.