MarlinTPC
1.2.0
|
Creates a mode map for a TimePix - there are four possible maps: MM1, MM2, TOT, TIME. More...
#include <TimePixModeMapCreaterProcessor.h>
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 | |
Creates a mode map for a TimePix - there are four possible maps: MM1, MM2, TOT, TIME.
OutputCollectionName | Name of the output collection, defaut TimePixModeMap |
DetectorName | Detector name for run header, default "TPC" |
Description | Data descripton for run header, default "no description given" |
SubDetectorName | Sub-detector name for run header, default "TimePix" |
Mode | Operation mode of the chip: TOT, TIME, MM1 (mixed mode with CellID0 = 0: TIME), MM2 (mixed mode with CellID0 = 0: TOT) |
NRow | Number of rows on the chip, default 256 |
NColumn | Number of columns on the chip, default 256 |
SetOutputTransient | If not 0 the output collection is set transient |
ChipIDs | A list of Chip IDs for which a map is created |