MarlinTPC
1.2.0
|
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>
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 ¶m) |
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 () |
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.
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)
int tpcconddata::CalibParam::getChip | ( | ) | const |
float tpcconddata::CalibParam::getCP | ( | ) | const |
int tpcconddata::CalibParam::getParam | ( | ) | const |