TimeOfFlight  1.32.00
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TOFEstimators.h
Go to the documentation of this file.
1 #ifndef TOFEstimators_h
2 #define TOFEstimators_h 1
3 
4 #include <string>
5 #include <vector>
6 #include "marlin/Processor.h"
7 
14  public:
18  TOFEstimators(const TOFEstimators&) = delete;
19 
23  TOFEstimators& operator=(const TOFEstimators&) = delete;
24 
29 
34  TOFEstimators();
35 
39  void init();
40 
45  void processEvent(EVENT::LCEvent* evt);
46 
47  private:
51 
55 
59 
62  double _timeResolution{};
63 
67 
70  int _nEvent{};
71 
75 
78  double _bField{};
79 
82  double _tpcOuterR{};
83 };
84 
85 #endif
TOFEstimators()
Default constructor.
std::string _pfoCollectionName
Stores ReconstructedParticleCollection steering parameter.
Definition: TOFEstimators.h:50
TOFEstimators & operator=(const TOFEstimators &)=delete
Copy assignment operator.
int _maxEcalLayer
Stores MaxEcalLayer steering parameter.
Definition: TOFEstimators.h:66
int _nEvent
Stores current event number.
Definition: TOFEstimators.h:70
STL class.
marlin::Processor * newProcessor()
Method required by the Marlin to register processor in the global scope.
Definition: TOFEstimators.h:28
Marlin processor that calculates time-of-flight for charged particles.
Definition: TOFEstimators.h:13
void processEvent(EVENT::LCEvent *evt)
Called for every event - the working horse.
double _bField
Stores z component of the magnetic field at the origin in Tesla.
Definition: TOFEstimators.h:78
std::string _tofMethod
Stores TofMethod steering parameter.
Definition: TOFEstimators.h:58
bool _extrapolateToEcal
Stores ExtrapolateToEcal steering parameter.
Definition: TOFEstimators.h:54
void init()
Called at the begin of the job before anything is read.
std::vector< std::string > _outputParNames
Stores names of the output parameter - &quot;timeOfFlight&quot;.
Definition: TOFEstimators.h:74
double _timeResolution
Stores TimeResolution steering parameter.
Definition: TOFEstimators.h:62
double _tpcOuterR
Stores outer TPC radius in mm.
Definition: TOFEstimators.h:82