MarlinTPC
1.2.0
|
Reads TimePix calibration parameters stored in a .txt file
Writes data to TrackerDataCollection named CalibrationParameters.
More...
#include <TimePixCalibParamReaderProcessor.h>
Public Member Functions | |
TimePixCalibParamReaderProcessor * | newProcessor () |
void | readDataSource (int numEvents) |
Creates an event with a collection from the calibration parameters input file, where it gets 8 parameters for each chip (4-ToT, 2-THL, 2-TimeWalk), and calls all active processors' processEvent() and processRunHeader Method. | |
void | init () |
void | end () |
Protected Attributes | |
std::string | _outputColName |
std::string | _CalibParamFileName |
std::ifstream | _infile |
int | _chipID |
int | _runNr |
int | _evtNr |
int | _nRow |
int | _nColumn |
int | _nParameters |
int | _chipsPerBoardX |
int | _chipsPerBoardY |
std::string | _detName |
std::string | _dataDescription |
std::string | _subDetName |
std::string | _timePixChipID |
bool | _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 calibration parameters stored in a .txt file
Writes data to TrackerDataCollection named CalibrationParameters.
Calibration parameters file.
FileListName | Text file with list of input calibretion parameters files |
OutputCollectionName | Name of the output collection, defaut CalibrationParameters |
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 |
NRow | Number of rows on the chip, default 256 |
NColumn | Number of columns on the chip, default 256 |
NParameters | Number of calibration parameters per chip, default 8 |
ChipsPerBoardX | Number of chips in a row, default 1 |
ChipsPerBoardY | Number of chips in a column, default 1 |
SetOutputTransient | If not 0 the output collection is set transient |
TimePixChipID | Identification name of chip |