MarlinTPC
1.2.0
|
Reads TimePix raw data: matrix of 256 x 256 values stored in a .dat file
Writes data to TrackerRawDataCollection named TimePixRawData Currelty only work for one chip.
More...
#include <OctoboardReaderProcessor.h>
Public Member Functions | |
virtual OctoboardReaderProcessor * | newProcessor () |
virtual void | readDataSource (int numEvents) |
Creates events with TrackerRawData collections from the TimePix raw data input files and calls all active processors' processEvent() and processRunHeader Method. | |
virtual void | init () |
virtual void | end () |
Protected Attributes | |
std::string | _outputColName |
bool | _isFirstEvent |
std::string | _listName |
std::ifstream | _infile |
int | _chipID |
int | _runNr |
int | _evtNr |
int | _nRow |
int | _nColumn |
int | _maxRecordN |
int | _totTime |
std::string | _detName |
std::string | _dataDescription |
std::string | _subDetName |
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 | |
Reads TimePix raw data: matrix of 256 x 256 values stored in a .dat file
Writes data to TrackerRawDataCollection named TimePixRawData Currelty only work for one chip.
TimePix data files.
FileListName | Text file with list of input TimePix files {TimePix file names must be absolute pathes!} |
OutputCollectionName | Name of the output collection, defaut TimePixRawData |
ModeMapCollectionName | Name of the output mode map collection, default TimePixMap |
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" |
ChipID | Interer ID number of the chip (lcio::TrackerRawData::CellID0), should be 0 as it's only one chip in the current version |
Mode | Operation mode of the chip: TOT, TIME, MM1 (mixed mode with CellID0 = TIME), MM2 (mixed mode with CellID0 = TOT) |
NRow | Number of rows on the chip, default 256 |
NColumn | Number of columns on the chip, default 256 |
MaxRecordNumber | Maximum number of events 100000 |
SetOutputTransient | If not 0 the output collection is set transient |