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

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>

Inheritance diagram for marlin::TimePixSimpleAlternativeReaderProcessor:

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
 

Detailed Description

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.

Input - Prerequisites

TimePix data files (format: x y value).

Output

Parameters
FileListNameText file with list of input TimePix files
Attention
{TimePix file names must be absolute pathes!}
Parameters
OutputCollectionNameName of the output collection, defaut TimePixRawData
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 (lcio::TrackerRawData::CellID1), should be 0 as it's only one chip in the current version
NRowNumber of rows on the chip, default 256
NColumnNumber of columns on the chip, default 256
MaxRecordNumberMaximum number of events 100000
SetOutputTransientIf not 0 the output collection is set transient
RunNumberRun number for run header, default 0
Author
Simone Zimmermann (University of Bonn), Christoph Krieger (University of Bonn)

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