MarlinTPC
1.2.0
|
Reads TimePix data stored in format x y value Writes data to TrackerRawDataCollection named TimePixRawData Does NOT make use of the zero suppressed input files, so output data is NOT zero suppressed! Currently only works for one chip. More...
#include <TimePixSimpleAlternativeReaderProcessor.h>
Public Member Functions | |
virtual TimePixSimpleAlternativeReaderProcessor * | 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 |
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 data stored in format x y value Writes data to TrackerRawDataCollection named TimePixRawData Does NOT make use of the zero suppressed input files, so output data is NOT zero suppressed! Currently only works for one chip.
TimePix data files (format: x y value).
FileListName | Text file with list of input TimePix files |
OutputCollectionName | Name of the output collection, defaut TimePixRawData |
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::CellID1), should be 0 as it's only one chip in the current version |
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 |
RunNumber | Run number for run header, default 0 |