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

reads in conditionsdata objects TimePixModeMap and TimePixStatusMap and unifies them to the TimePixMap More...

#include <TimePixMapHandlerProcessor.h>

Inheritance diagram for marlintpc::TimePixMapHandlerProcessor:

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 ()
 

Static Public Member Functions

static tpcconddata::TimePixMap * getTimePixMap ()
 This is the function that can be called from all following processors. More...
 
static TimePixMapHandlerProcessorregisterHighTOTProcessor (TimePixHighTOTAnalyserProcessor *htp)
 This function is called within the TimePixHighTOTAnalyserProcessor. More...
 

Protected Attributes

std::string _inputColName
 
std::string _outputColName
 
std::string _modeMapColName
 
std::string _statusMapColName
 
int _chipID
 
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 writen to an event used to store parameters only in the first collection (also done, if collection is transient)
 
int _nRun
 
double a
 
double b
 

Static Protected Attributes

static
tpcconddata::TimePixMapListener
_timePixMapListener = 0
 pointer to TimePixMapListener TimePixMapListener controlls the TimePixMap.
 
static
TimePixHighTOTAnalyserProcessor
_HighTOTProcessor = 0
 pointer to TimePixHighTOTAnalyserProcessor in case that this processor is active, the TimePixMap must be corrected further by this processor on event to event basis.
 
static TimePixMapHandlerProcessor_MapHandlerProcessor = 0
 pointer to TimePixMapHandlerProcessor needed as return value for registerHighTOTProcessor.
 

Friends

class TimePixHighTOTAnalyserProcessor
 

Detailed Description

reads in conditionsdata objects TimePixModeMap and TimePixStatusMap and unifies them to the TimePixMap

Input - Prerequisites

a collection of TimePixModeMap and a collection of TimePixStatusMap

Output

TimePixMap

Parameters
DataCollectionNameName of the collection containing the data
HitCollectionNameName of the collection containing the TrackerHits
ModeMapCollectionNameName of mode map collection
SetOutputTransientIf not 0 the output collection is set transient
SetOutputTransientIf not 0 the output collection is set transient
Author
Simone Zimmermann

Member Function Documentation

TimePixMap * marlintpc::TimePixMapHandlerProcessor::getTimePixMap ( )
static

This is the function that can be called from all following processors.

It returns the current TimePixMap.

References _HighTOTProcessor, _timePixMapListener, and marlintpc::TimePixHighTOTAnalyserProcessor::getUpdatedTimePixMap().

Referenced by marlintpc::TimePixDigitisationProcessor::init().

TimePixMapHandlerProcessor * marlintpc::TimePixMapHandlerProcessor::registerHighTOTProcessor ( TimePixHighTOTAnalyserProcessor htp)
static

This function is called within the TimePixHighTOTAnalyserProcessor.

It returns the Nullpointer if there is no TimePixMapHandlerProcessor active in the reconstruction chain. It initializes the _HighTOTProcessor pointer. If this pointer has been initialised, getTimePixMap() returns the TimePixMap of the current event corrected to high TOT values

Member Data Documentation

int marlintpc::TimePixMapHandlerProcessor::_chipID
protected
  • number of current chip, 0 if single chip
std::string marlintpc::TimePixMapHandlerProcessor::_inputColName
protected
  • the name of the input collection
std::string marlintpc::TimePixMapHandlerProcessor::_modeMapColName
protected
  • the name of the mode map collection
int marlintpc::TimePixMapHandlerProcessor::_nRun
protected
  • counts the processed runs
std::string marlintpc::TimePixMapHandlerProcessor::_outputColName
protected
  • the name of the output collection
std::string marlintpc::TimePixMapHandlerProcessor::_statusMapColName
protected
  • the name of the correction to mode map collection
double marlintpc::TimePixMapHandlerProcessor::a
protected
  • parameter of axis of projection y = a*x + b
double marlintpc::TimePixMapHandlerProcessor::b
protected
  • parameter of axis of projection y = a*x + b

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