MarlinTPC  1.2.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
tpcconddata::TimePixParameters Class Reference

The TimePix parameters. More...

#include <TimePixParameters.h>

Inheritance diagram for tpcconddata::TimePixParameters:

Public Member Functions

 TimePixParameters (EVENT::LCObject *obj)
 Constructor needed to interpret LCCollection read from file/database.
 
 TimePixParameters (int nChips=1)
 Constructor to create a TimePixParameters object directly By default parameters for one chip are created.
 
virtual ~TimePixParameters ()
 Important for memory handling.
 
void setChipID (int chipID)
 set the chip iID aka module number
 
int getChipID () const
 get the chip iID aka module number
 
void setDACs (int chipIndex, int *DACs)
 Set the DACs for one chip, a 16 words long integer array.
 
int getDAC (int chipIndex, int dacIndex) const
 Get a specific DAC by index.
 
void setType (int type)
 set the chip type (3=timepix)
 
int getType () const
 get the chip type (3=timepix)
 
void setPolarity (int polarity)
 set the polarity
 
int getPolarity () const
 get the polarity
 
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)
 
double getClock () const
 Get the clock (in MHz)
 
void setShutterEndTime (double shutterEndTime)
 Set the shutter end time (wrt. tigger)
 
double getShutterEndTime () const
 Get the shutter end time (wrt. tigger)
 
int getNChips () const
 Get the number of chips.
 
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
 

Detailed Description

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.


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