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

Reads TimePix calibration parameters stored in a .txt file
Writes data to TrackerDataCollection named CalibrationParameters. More...

#include <TimePixCalibParamReaderProcessor.h>

Inheritance diagram for marlin::TimePixCalibParamReaderProcessor:

Public Member Functions

TimePixCalibParamReaderProcessornewProcessor ()
 
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
 

Detailed Description

Reads TimePix calibration parameters stored in a .txt file
Writes data to TrackerDataCollection named CalibrationParameters.

Input - Prerequisites

Calibration parameters file.

Output

Parameters
FileListNameText file with list of input calibretion parameters files
Attention
{TimePix file names must be absolute pathes!}
Parameters
OutputCollectionNameName of the output collection, defaut CalibrationParameters
DetectorNameDetector name for run header, default "TPC"
DescriptionData descripton for run header, default "no description given"
SubDetectorNameSub-detector name for run header, default "TimePix"
ChipIDInterer ID number of the chip
NRowNumber of rows on the chip, default 256
NColumnNumber of columns on the chip, default 256
NParametersNumber of calibration parameters per chip, default 8
ChipsPerBoardXNumber of chips in a row, default 1
ChipsPerBoardYNumber of chips in a column, default 1
SetOutputTransientIf not 0 the output collection is set transient
TimePixChipIDIdentification name of chip
Author
R.Ulman , Bonn

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