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

Analysis Processor of MarlinTPC for TimePix Events with extraordinary high TOT values. More...

#include <TimePixPixelInterpolationProcessor.h>

Inheritance diagram for marlintpc::TimePixPixelInterpolationProcessor:

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 ()
 
virtual float interpolatePixel (int chipID, int pixelID)
 

Protected Attributes

std::string _inputColName
 
std::string _outputColName
 
int _nColumn
 -Number of columns of the chip
 
int _nRow
 -Number of rows of the chip
 
int _chipID
 
int _minNoPixelToInterpolate
 
int _onlyRegardNonZeroPixels
 -For interpolation only Pixels with ADC-Values larger than 0 are taken into account
 
double _totThreshold
 -threshold on relation of TOT value to neighboring TOT values
 
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)
 
tpcconddata::TimePixMap * _timePixMap
 
std::map
< tpcconddata::TimePixPixelMode::PixelKey,
float > 
_inputMap
 

Detailed Description

Analysis Processor of MarlinTPC for TimePix Events with extraordinary high TOT values.

finds pixel with extremely high TOT values and sets their mode to ONEHIT for this event only.

Input - Prerequisites

a collection of TrackerHits

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
NColumnnumber of columns of the chip
NRownumber of rows of the chip
_onlyRegardNonZeroPixelsFor interpolation only Pixels with ADC-Values larger than 0 are taken into account
Author
Simone Zimmermann

Member Data Documentation

int marlintpc::TimePixPixelInterpolationProcessor::_chipID
protected
  • number of current chip, 0 if single chip
std::string marlintpc::TimePixPixelInterpolationProcessor::_inputColName
protected
  • the name of the input collection
int marlintpc::TimePixPixelInterpolationProcessor::_minNoPixelToInterpolate
protected
  • minimum number of pixels needed to interpolate
std::string marlintpc::TimePixPixelInterpolationProcessor::_outputColName
protected
  • the name of the output collection

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