MarlinTPC  1.2.0
Public Member Functions | Protected Attributes | List of all members
marlintpc::PedestalSubtractorProcessor Class Reference

Pedestal subtracting processor of the MarlinTPC package. More...

#include <PedestalSubtractorProcessor.h>

Inheritance diagram for marlintpc::PedestalSubtractorProcessor:

Public Member Functions

virtual Processor * newProcessor ()
 
virtual void init ()
 
virtual void processRunHeader (lcio::LCRunHeader *run)
 
virtual void processEvent (lcio::LCEvent *evt)
 
virtual void check (lcio::LCEvent *evt)
 
virtual void end ()
 

Protected Attributes

std::string _inputColName
 the name of the input collection
 
std::string _outputColName
 the name of the output collection
 
std::string _pedestalColName
 the name of the pedestal collection
 
std::string _electrParaObjName
 the name of the collection with the read out electronics parameters
 
std::string _electrParaColName
 the name of the collection with the read out electronics parameters
 
bool _outputIsPersistent
 set the persistency flag of the output collection
 
int _maximum_ADC_value_override
 The maximum adc value, needed to determine if a pulse is maxed out. More...
 
float _pedestal_value_override
 The pedestal value to be used for every hardware channel in every readout group. More...
 
int _missingConditionsDataOverrideTimespan
 The timepan in seconds for which the last valid collection will be used if no conditions data are available via LCCD.
 

Detailed Description

Pedestal subtracting processor of the MarlinTPC package.

This processor subtracts pedestals provided via LCCD (simple file, database file or database).

Input - Prerequisites

Collection of TrackerData

Output

Collection of TrackerData.

Parameters
InputCollectionNameName of input data collection
OutputCollectionNameName of output data collection
WriteOutputToStorage:booloutput collection will be written if set to true (which is the default)
PedestalCollectionNameName of the collection containing the pedestals
MaximumADCValueOverrideMaximum ADC Value of the read-out electronic to detect overflow samples, if this parameter is set it overides condition information and no condition listener is used (optional parameter, if not set conditions data is used)
PedestalValueOverridePedestal of the read-out electronic to detect overflow samples, if this parameter is set it overides condition information and no condition listener is used (optional parameter, if not set, conditions data is used)
MissingConditionsDataOverrideTimespanSets the time in seconds that missing conditions data will be ignored by using the last valid conditions data collection (optional parameter, if not set, processing stops if no conditions data available for event time)
ElectronicsParametersObjectNameName of the conditions object in which the parameters of the read out electronics is stored. For example "GenericADCElectronicsParameters".
ElectronicsParametersCollectionNameName of the conditions collection in which the parameters of the read out electronics is stored
Author
M. E. Janssen, DESY; R. Diener, DESY

Member Data Documentation

int marlintpc::PedestalSubtractorProcessor::_maximum_ADC_value_override
protected

The maximum adc value, needed to determine if a pulse is maxed out.

This overrides any information provided by LCCD

float marlintpc::PedestalSubtractorProcessor::_pedestal_value_override
protected

The pedestal value to be used for every hardware channel in every readout group.

This overrides any information provided by LCCD


The documentation for this class was generated from the following files: