MarlinTPC  1.2.0
Public Member Functions | Static Public Member Functions | List of all members
tpcconddata::CalibParam Class Reference

Class that reads the parameters from the calibration data, for a single chip the data format should be: (1)ToT (2)THL offset (3)TimeWalk 4 ToT + 2 THL offset + 2 TimeWalk = 8 parameters. More...

#include <TimePixCalibParam.h>

Inheritance diagram for tpcconddata::CalibParam:

Public Member Functions

 CalibParam (int chip, int param, float cP)
 Convenient constructor using two integers and a float for calibration parameters. More...
 
 CalibParam (EVENT::LCObject *obj)
 'Copy constructor' needed to interpret LCCollection read from file/database.
 
virtual ~CalibParam ()
 Important for memory handling.
 
int getChip () const
 
int getParam () const
 
float getCP () const
 
void setChip (const int &chip)
 
void setParam (const int &param)
 
void setCP (const float &cP)
 
void print (std::ostream &os=std::cout) const
 
const std::string getTypeName () const
 
const std::string getDataDescription () const
 

Static Public Member Functions

static std::string getRevision ()
 
static std::string getDefaultColName ()
 

Detailed Description

Class that reads the parameters from the calibration data, for a single chip the data format should be: (1)ToT (2)THL offset (3)TimeWalk 4 ToT + 2 THL offset + 2 TimeWalk = 8 parameters.

for a quad board the data format in "pixelman notation" should be: (1)chip1 (2)chip0 (3)chip2 (4)chip3 so that together will have 32 parameters, differed by their index.

Combining them into a single object of type LCGenericObject. Based on the LCFixedObject template. This can be used to be stored in a LCCollectionVec.

Author
R.Ulman, Bonn

Constructor & Destructor Documentation

tpcconddata::CalibParam::CalibParam ( int  chip,
int  param,
float  cP 
)

Convenient constructor using two integers and a float for calibration parameters.

The object holds the calibration parameters, default is 8 per chip.

With the chipID (chip), the parameter index (param), and the calibration parameter (cP)

Member Function Documentation

int tpcconddata::CalibParam::getChip ( ) const
  • get chipID
float tpcconddata::CalibParam::getCP ( ) const
  • get calibration parameter
int tpcconddata::CalibParam::getParam ( ) const
  • get parameter index

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