MarlinTPC  1.2.0
Public Member Functions | Protected Attributes | List of all members
marlin::TimePixModeMapCreaterProcessor Class Reference

Creates a mode map for a TimePix - there are four possible maps: MM1, MM2, TOT, TIME. More...

#include <TimePixModeMapCreaterProcessor.h>

Inheritance diagram for marlin::TimePixModeMapCreaterProcessor:

Public Member Functions

virtual
TimePixModeMapCreaterProcessor
newProcessor ()
 
virtual void readDataSource (int numEvents)
 Creates 1 event with LCGenericObject collections of TimePixModeMap calls all active processors' processEvent() and processRunHeader Method.
 
virtual void init ()
 
virtual void end ()
 
virtual void createMixedMode1Map (lcio::LCCollectionVec *modeMap)
 creates map of chip operated in MixedMode starting with TIMEPIX
 
virtual void createMixedMode2Map (lcio::LCCollectionVec *modeMap)
 creates map of chip operated in MixedMode starting with TOT
 
virtual void createTOTMap (lcio::LCCollectionVec *modeMap)
 creates map of chip operated in TOT mode
 
virtual void createTIMEPIXMap (lcio::LCCollectionVec *modeMap)
 creates map of chip operated in TIME mode
 

Protected Attributes

std::string _outputColName
 
std::string _modeMapColName
 
bool _isFirstEvent
 
std::string _listName
 
std::ifstream _infile
 
std::vector< int > _chipIDs
 
int _runNr
 
int _evtNr
 
int _nRow
 
int _nColumn
 
int _maxRecordN
 
std::string _detName
 
std::string _description
 
std::string _subDetName
 
std::string _mode
 
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
 

Detailed Description

Creates a mode map for a TimePix - there are four possible maps: MM1, MM2, TOT, TIME.

Input - Prerequisites

Output

Parameters
OutputCollectionNameName of the output collection, defaut TimePixModeMap
DetectorNameDetector name for run header, default "TPC"
DescriptionData descripton for run header, default "no description given"
SubDetectorNameSub-detector name for run header, default "TimePix"
ModeOperation mode of the chip: TOT, TIME, MM1 (mixed mode with CellID0 = 0: TIME), MM2 (mixed mode with CellID0 = 0: TOT)
NRowNumber of rows on the chip, default 256
NColumnNumber of columns on the chip, default 256
SetOutputTransientIf not 0 the output collection is set transient
ChipIDsA list of Chip IDs for which a map is created
Author
Simone Zimmermann(University of Bonn)

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