1 #ifndef HITTIMERECALCULATIONPROCESSOR_H
2 #define HITTIMERECALCULATIONPROCESSOR_H
6 #include <EVENT/LCCollection.h>
7 #include <EVENT/TrackerData.h>
8 #include <IMPL/TrackerDataImpl.h>
9 #include <EVENT/TrackerPulse.h>
12 #include <marlin/Processor.h>
13 #include "marlin/Global.h"
15 #include "gear/TPCParameters.h"
17 #include <lccd/ConditionsMap.hh>
19 #include "GenericADCElectronicsParameters.h"
21 #include "TPCConditionsListener.h"
77 virtual Processor* newProcessor()
86 virtual void processRunHeader(lcio::LCRunHeader* run);
88 virtual void processEvent(lcio::LCEvent* evt);
90 virtual void check(lcio::LCEvent* evt);
149 double _getDriftVelocity();
155 #endif // HITTIMERECALCUILATIONPROCESSOR_H
std::string _inputTPCConditionsCollectionName
the name of the collection the TPC conditions are stored with
Definition: HitTimeRecalculationProcessor.h:111
float _readoutFrequencyOverride
The readout frequency of every readout group (in MHz).
Definition: HitTimeRecalculationProcessor.h:128
std::string _pedestalColName
the name of the pedestal collection
Definition: HitTimeRecalculationProcessor.h:101
float _noiseValuePedestalWidthFactor
factor to calculate the noise cut
Definition: HitTimeRecalculationProcessor.h:122
float _pulseStartPedestalWidthFactor
factor to calculate the start threshold
Definition: HitTimeRecalculationProcessor.h:120
TPCConditionsListener * _tpcConditionsListener
the standard way to access TPC conditions: the TPCConditions object via listening ...
Definition: HitTimeRecalculationProcessor.h:114
int _timeCalculationMode
the mode to calulate the time
Definition: HitTimeRecalculationProcessor.h:116
PulseFinder * _pulseFinder
The instance of the pulse finder object.
Definition: HitTimeRecalculationProcessor.h:151
std::string _outputColName
name of the collection, where TrackerHits are stored
Definition: HitTimeRecalculationProcessor.h:99
This processor recalculates the time of the hit based on the highest pulse in the hit according to th...
Definition: HitTimeRecalculationProcessor.h:72
Helper Class which provides access to the TPC conditions for every event.
Definition: TPCConditionsListener.h:37
The PulseFinder class is working horse of the ModularPulseFinderProcessor.
Definition: PulseFinder.h:66
bool _isPedestalSubtractedOverride
Sets, if the data is already pedestal subtracted in the read-out electronics.
Definition: HitTimeRecalculationProcessor.h:140
float _driftVelocityOverride
drift velocity in [mm/mu s]
Definition: HitTimeRecalculationProcessor.h:148
std::string _inputColName
name of the collection, where input TrackerHits are stored
Definition: HitTimeRecalculationProcessor.h:97
std::string _electrParaColName
Name of the conditions collection in which the parameters of the read out electronics is stored...
Definition: HitTimeRecalculationProcessor.h:107
int _polarityOverride
the polarity of all readout groups, overrides LCCD
Definition: HitTimeRecalculationProcessor.h:144
float _pedestalWidthOverride
The pedestal width to be used for every hardware channel in every readout group.
Definition: HitTimeRecalculationProcessor.h:136
std::string _electrParaObjName
Name of the conditions object in which the parameters of the read out electronics is stored...
Definition: HitTimeRecalculationProcessor.h:104
float _pedestalValueOverride
The pedestal value to be used for every hardware channel in every readout group.
Definition: HitTimeRecalculationProcessor.h:132
double _timeCalculationParameter
parameter for time methods (different meaning for different methods)
Definition: HitTimeRecalculationProcessor.h:117