1 #ifndef ADCPulseConverterProcessor_h
2 #define ADCPulseConverterProcessor_h 1
9 #include "EVENT/LCCollection.h"
10 #include "EVENT/TrackerData.h"
11 #include "EVENT/TrackerPulse.h"
12 #include "IMPL/LCCollectionVec.h"
14 #include "marlin/Processor.h"
46 virtual Processor* newProcessor()
56 virtual void processRunHeader(lcio::LCRunHeader* run) ;
58 virtual void processEvent(lcio::LCEvent * evt) ;
60 virtual void check(lcio::LCEvent * evt) ;
88 int _minPulseDataSize;
96 int findPulses(lcio::TrackerData* thisData, lcio::LCCollectionVec* thisCollection,
97 float StartThreshold);
111 #endif //ADCPulseConverterProcessor_h
std::string _inputColName
name of the collection, where input data are stored
Definition: ADCPulseConverterProcessor.h:70
float calcPulseCharge(lcio::TrackerData *thisPulse)
calculate the integrated charge of the given pulse by sum up all bins of the ADC spectrum ...
Definition: ADCPulseConverterProcessor.cc:188
Convert zero-suppressed ADC raw data to pulses.
Definition: ADCPulseConverterProcessor.h:41
std::string _outputPulseColName
name of the collection, where TrackerPulse are stored
Definition: ADCPulseConverterProcessor.h:72
int _outputIsTransient
set the status which is set to the transient flag of the output collection it is an int instead of a ...
Definition: ADCPulseConverterProcessor.h:77
int _forceSpectrumSave
if not 0 the ADC spectrum will be saved for all pulses instead of only for pulses with quality !=0 it...
Definition: ADCPulseConverterProcessor.h:83
int findPulses(lcio::TrackerData *thisData, lcio::LCCollectionVec *thisCollection, float StartThreshold)
find pulses by threshold in the ADC information
float calcPulseTime(lcio::TrackerData *thisPulse)
The time is just the centre of gravity of the pulse.
Definition: ADCPulseConverterProcessor.cc:151
ADCPulseConverterProcessor()
constructor
Definition: ADCPulseConverterProcessor.cc:29