TPCCondData
|
The TimePix parameters. More...
#include <TimePixParameters.h>
Public Member Functions | |
TimePixParameters (EVENT::LCObject *obj) | |
Constructor needed to interpret LCCollection read from file/database. More... | |
TimePixParameters (int nChips=1) | |
Constructor to create a TimePixParameters object directly By default parameters for one chip are created. More... | |
virtual | ~TimePixParameters () |
Important for memory handling. More... | |
void | setChipID (int chipID) |
set the chip iID aka module number More... | |
int | getChipID () const |
get the chip iID aka module number More... | |
void | setDACs (int chipIndex, int *DACs) |
Set the DACs for one chip, a 16 words long integer array. More... | |
int | getDAC (int chipIndex, int dacIndex) const |
Get a specific DAC by index. More... | |
void | setType (int type) |
set the chip type (3=timepix) More... | |
int | getType () const |
get the chip type (3=timepix) More... | |
void | setPolarity (int polarity) |
set the polarity More... | |
int | getPolarity () const |
get the polarity More... | |
int | getIKrumm (int chipIndex) const |
int | getDisc (int chipIndex) const |
int | getPreamp (int chipIndex) const |
int | getBuffA (int chipIndex) const |
int | getBuffB (int chipIndex) const |
int | getDelayN (int chipIndex) const |
int | getTHLFine (int chipIndex) const |
int | getTHLCoarse (int chipIndex) const |
int | getTHHFine (int chipIndex) const |
int | getTHHCoarse (int chipIndex) const |
int | getFBK (int chipIndex) const |
int | getGnd (int chipIndex) const |
int | getTHS (int chipIndex) const |
int | getBiasVLDS (int chipIndex) const |
int | getRefLVDS (int chipIndex) const |
void | setClock (double clock) |
Set the clock (in MHz) More... | |
double | getClock () const |
Get the clock (in MHz) More... | |
void | setShutterEndTime (double shutterEndTime) |
Set the shutter end time (wrt. tigger) More... | |
double | getShutterEndTime () const |
Get the shutter end time (wrt. tigger) More... | |
int | getNChips () const |
Get the number of chips. More... | |
void | print (std::ostream &os=std::cout) const |
int | getNInt () const |
int | getNFloat () const |
int | getNDouble () const |
int | getIntVal (int index) const |
float | getFloatVal (int index) const |
double | getDoubleVal (int index) const |
bool | isFixedSize () const |
const std::string | getTypeName () const |
const std::string | getDataDescription () const |
Static Public Member Functions | |
static std::string | getRevision () |
static std::string | getDefaultColName () |
Protected Attributes | |
bool | createObj |
IMPL::LCGenericObjectImpl * | myObj |
The TimePix parameters.
This class should be able to store all the relevant information from the dsc file. In principle all functions also for medipix are there, although all convenience functions (calling the DAC by name, not by index) are only available for the Timepix.
Definition at line 23 of file TimePixParameters.h.
tpcconddata::TimePixParameters::TimePixParameters | ( | EVENT::LCObject * | obj | ) |
Constructor needed to interpret LCCollection read from file/database.
Definition at line 30 of file TimePixParameters.cc.
tpcconddata::TimePixParameters::TimePixParameters | ( | int | nChips = 1 | ) |
Constructor to create a TimePixParameters object directly By default parameters for one chip are created.
Definition at line 19 of file TimePixParameters.cc.
|
virtual |
Important for memory handling.
Definition at line 44 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getBiasVLDS | ( | int | chipIndex | ) | const |
Definition at line 95 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getBuffA | ( | int | chipIndex | ) | const |
Definition at line 85 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getBuffB | ( | int | chipIndex | ) | const |
Definition at line 86 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getChipID | ( | ) | const |
get the chip iID aka module number
Definition at line 50 of file TimePixParameters.cc.
double tpcconddata::TimePixParameters::getClock | ( | ) | const |
Get the clock (in MHz)
Definition at line 101 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getDAC | ( | int | chipIndex, |
int | dacIndex | ||
) | const |
Get a specific DAC by index.
Definition at line 67 of file TimePixParameters.cc.
|
inline |
Definition at line 118 of file TimePixParameters.h.
|
static |
Definition at line 112 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getDelayN | ( | int | chipIndex | ) | const |
Definition at line 87 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getDisc | ( | int | chipIndex | ) | const |
Definition at line 83 of file TimePixParameters.cc.
double tpcconddata::TimePixParameters::getDoubleVal | ( | int | index | ) | const |
Definition at line 128 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getFBK | ( | int | chipIndex | ) | const |
Definition at line 92 of file TimePixParameters.cc.
float tpcconddata::TimePixParameters::getFloatVal | ( | int | index | ) | const |
Definition at line 127 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getGnd | ( | int | chipIndex | ) | const |
Definition at line 93 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getIKrumm | ( | int | chipIndex | ) | const |
Definition at line 82 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getIntVal | ( | int | index | ) | const |
Definition at line 126 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getNChips | ( | ) | const |
Get the number of chips.
Definition at line 109 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getNDouble | ( | ) | const |
Definition at line 124 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getNFloat | ( | ) | const |
Definition at line 123 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getNInt | ( | ) | const |
Definition at line 120 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getPolarity | ( | ) | const |
get the polarity
Definition at line 79 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getPreamp | ( | int | chipIndex | ) | const |
Definition at line 84 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getRefLVDS | ( | int | chipIndex | ) | const |
Definition at line 96 of file TimePixParameters.cc.
|
static |
Definition at line 111 of file TimePixParameters.cc.
double tpcconddata::TimePixParameters::getShutterEndTime | ( | ) | const |
Get the shutter end time (wrt. tigger)
Definition at line 106 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getTHHCoarse | ( | int | chipIndex | ) | const |
Definition at line 91 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getTHHFine | ( | int | chipIndex | ) | const |
Definition at line 90 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getTHLCoarse | ( | int | chipIndex | ) | const |
Definition at line 89 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getTHLFine | ( | int | chipIndex | ) | const |
Definition at line 88 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getTHS | ( | int | chipIndex | ) | const |
Definition at line 94 of file TimePixParameters.cc.
int tpcconddata::TimePixParameters::getType | ( | ) | const |
get the chip type (3=timepix)
Definition at line 74 of file TimePixParameters.cc.
|
inline |
Definition at line 114 of file TimePixParameters.h.
|
inline |
Definition at line 112 of file TimePixParameters.h.
void tpcconddata::TimePixParameters::print | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 130 of file TimePixParameters.cc.
void tpcconddata::TimePixParameters::setChipID | ( | int | chipID | ) |
set the chip iID aka module number
Definition at line 49 of file TimePixParameters.cc.
void tpcconddata::TimePixParameters::setClock | ( | double | clock | ) |
Set the clock (in MHz)
Definition at line 99 of file TimePixParameters.cc.
void tpcconddata::TimePixParameters::setDACs | ( | int | chipIndex, |
int * | DACs | ||
) |
Set the DACs for one chip, a 16 words long integer array.
Definition at line 52 of file TimePixParameters.cc.
void tpcconddata::TimePixParameters::setPolarity | ( | int | polarity | ) |
set the polarity
Definition at line 77 of file TimePixParameters.cc.
void tpcconddata::TimePixParameters::setShutterEndTime | ( | double | shutterEndTime | ) |
Set the shutter end time (wrt. tigger)
Definition at line 104 of file TimePixParameters.cc.
void tpcconddata::TimePixParameters::setType | ( | int | type | ) |
set the chip type (3=timepix)
Definition at line 72 of file TimePixParameters.cc.
|
protected |
Definition at line 124 of file TimePixParameters.h.
|
protected |
Definition at line 125 of file TimePixParameters.h.