MarlinTPC
1.2.0
|
This processor recalculates the time of the hit based on the highest pulse in the hit according to the choosen time evaluation method. More...
#include <HitTimeRecalculationProcessor.h>
Protected Member Functions | |
double | _getDriftVelocity () |
Protected Attributes | |
std::string | _inputColName |
name of the collection, where input TrackerHits are stored | |
std::string | _outputColName |
name of the collection, where TrackerHits are stored | |
std::string | _pedestalColName |
the name of the pedestal collection | |
std::string | _electrParaObjName |
Name of the conditions object in which the parameters of the read out electronics is stored. | |
std::string | _electrParaColName |
Name of the conditions collection in which the parameters of the read out electronics is stored. | |
std::string | _inputTPCConditionsCollectionName |
the name of the collection the TPC conditions are stored with | |
TPCConditionsListener * | _tpcConditionsListener |
the standard way to access TPC conditions: the TPCConditions object via listening | |
int | _timeCalculationMode |
the mode to calulate the time | |
double | _timeCalculationParameter |
parameter for time methods (different meaning for different methods) | |
float | _pulseStartPedestalWidthFactor |
factor to calculate the start threshold | |
float | _noiseValuePedestalWidthFactor |
factor to calculate the noise cut | |
float | _readoutFrequencyOverride |
The readout frequency of every readout group (in MHz). More... | |
float | _pedestalValueOverride |
The pedestal value to be used for every hardware channel in every readout group. More... | |
float | _pedestalWidthOverride |
The pedestal width to be used for every hardware channel in every readout group. More... | |
bool | _isPedestalSubtractedOverride |
Sets, if the data is already pedestal subtracted in the read-out electronics. More... | |
int | _polarityOverride |
the polarity of all readout groups, overrides LCCD | |
float | _driftVelocityOverride |
drift velocity in [mm/mu s] | |
PulseFinder * | _pulseFinder |
The instance of the pulse finder object. | |
This processor recalculates the time of the hit based on the highest pulse in the hit according to the choosen time evaluation method.
Collection of TrackerHits
InputCollectionName:string | Name of the input TrackerHit collection |
OutputCollectionName:string | Name of the output TrackerHit collection |
PulseStartPedestalWidthFactor:float | A pulse starts if the ADC value is this factor times width of the pedestal (default: : 4.0) |
NoiseValuePedestalWidthFactor:float | The noise (cut) value is calculated as this factor times pedestal width (default: 3.0) |
ElectronicsParameterObjectName:string | Name of the conditions object in which the parameters of the read out electronics is stored |
ElectronicsParametersCollectionName:string | Name of the conditions collection in which the parameters of the read out electronics is stored |
PedestalCollectionName:string | Name of the conditions collection in which the pedestals are stored |
TimeCalculationMode:int | Specifies the mode for time calculation. Valid values: INFLEXION_POINT = 0 (default) FIT_PARABOLA = 1 CENTRE_OF_GRAVITY = 2 FIRST_ABOVE_THRESHOLD = 3 AT_MAXIMUM = 4 CONSTANT_FRACTION = 5 GAMMA_FIT = 6 COG_ATMAX = 7 |
PedestalValueOverride | OPTIONAL: Manually set the pedestal value (in ADC counts) |
PedestalWidthOverride | OPTIONAL: Manually set value of the pedestal width (in ADC coutns) |
IsPedestalSubtractedOverride | OPTIONAL: Manually set whether the pedestal has been subtracted (true or false) |
SignalPolarityOverride | OPTIONAL: Manually set value of the electronics polarity (+-1) |
ReadoutFrequencyOverride | OPTIONAL: Manually set value of the readout frequency (in MHz) |
PlateauLengthCutOff | OPTIONAL: The maximum length of a plateau within a pulse in time bins. This used to cut off strange pulses that go into a plateau. |
As the interpretation of the data changes with the charge calculation mode (all charge or max charge) or the time calculation mode (different offsets), the parameters TimeCalculationMode
and ChargeCalculationMode
are stored as collection parameters of the pulse collection (in addition to being written to the run header together with all other processor parameters).
|
protected |
Sets, if the data is already pedestal subtracted in the read-out electronics.
This overrides any information provided by LCCD
|
protected |
The pedestal value to be used for every hardware channel in every readout group.
This overrides any information provided by LCCD
|
protected |
The pedestal width to be used for every hardware channel in every readout group.
This overrides any information provided by LCCD
|
protected |
The readout frequency of every readout group (in MHz).
This overrides any information provided by LCCD