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

zero suppression Processor of the MarlinTPC package . More...

#include <TimePixZeroSuppressionProcessor.h>

Inheritance diagram for marlintpc::TimePixZeroSuppressionProcessor:

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
 
std::string _outputColName
 
double _totThreshold
 -Threshold on the TOT value of a single pixel
 
int _nColumn
 -Number of columns of the chip
 
int _nRow
 -Number of rows of the chip
 
int _outputIsTransient
 give the status which is set to the transient flag of the output collection it is an int instead of a boolean, because the processor parameter cannot be a boolean
 
bool isFirstCollection
 is true till the first output collection is wirten to an event used to to store parameters only in the first collection (also done, if collection is transient)
 
int _nRun
 
int _nEvt
 
int _skipEmptyEvents
 Flag whether to throw SkipEventException for epmty events.
 

Detailed Description

zero suppression Processor of the MarlinTPC package .

converts TrackerRawData of a TimePix into zero suppressed TrackerRawData of a TimePix

Input - Prerequisites

a collection of TrackerRawData

Output

Collection containing zero suppressed TrackerRawData.

Parameters
InputCollectionNameName of input collection, TrackerRawData
OutputCollectionNameName of output collection, zero suppressed TrackerRawData
SetOutputTransientIf not 0 the output collection is set transient
TOTThresholdThreshold on the TOT value of a single pixel
NColumnnumber of columns of the chip
NRownumber of rows of the chip
SkipEmptyEventsThrow SkipEventException if TimePix data is empty. All subsequent processors are skipped, including the LCIOOutputProcessor. You might want to switch this off in case there is data from several subdetectors in the event. Default: 1
Author
Simone Zimmermann

Member Data Documentation

std::string marlintpc::TimePixZeroSuppressionProcessor::_inputColName
protected
  • the name of the input collection
int marlintpc::TimePixZeroSuppressionProcessor::_nEvt
protected
  • counts the processed events
int marlintpc::TimePixZeroSuppressionProcessor::_nRun
protected
  • counts the processed runs
std::string marlintpc::TimePixZeroSuppressionProcessor::_outputColName
protected
  • the name of the output collection

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