MarlinTPC  1.2.0
Public Member Functions | Static Public Member Functions | List of all members
tpcconddata::TPCConditions Class Reference
Inheritance diagram for tpcconddata::TPCConditions:

Public Member Functions

 TPCConditions ()
 Convenient constructor.
 
 TPCConditions (EVENT::LCObject *obj)
 'Copy constructor' needed to interpret LCCollection read from file/database.
 
virtual ~TPCConditions ()
 Important for memory handling.
 
float getDriftVelocity () const
 return the drift velocity (in mm/us)
 
float getTimeOffset () const
 return the time offset (in us). More...
 
float getLongDiffusionCoef () const
 return the diffusion coefficent for the longitudinal diffusion (in sqrt(mm))
 
float getLongDefocussing () const
 return the defocussion constant for the longitudinal diffusion (in mm)
 
float getTransDiffusionCoef () const
 return the diffusion coefficent for the transversal diffusion (in sqrt(mm))
 
float getTransDefocussing () const
 return the defocussion constant for the transversal diffusion (in mm)
 
float getAmplification () const
 return the amplification of the gas amplification device (e.g. GEMs)
 
float getADCtoPrimaryElectronsFactor () const
 return the conversion factor from ADC counts to primary electrons (ADC * conv.Factor = # primary e)
 
void setDriftVelocity (float Value)
 set the drift velocity in mm/us
 
void setTimeOffset (float Value)
 set the time offset in us
 
void setLongDiffusionCoef (float Value)
 set the diffusion coefficient for the longitudinal diffusion (in sqrt(mm))
 
void setLongDefocussing (float Value)
 set the defocussion constant for the longitudinal diffusion (in mm)
 
void setTransDiffusionCoef (float Value)
 set the diffusion coefficient for the transversal diffusion (in sqrt(mm))
 
void setTransDefocussing (float Value)
 set the defocussion constant for the transversal diffusion (in mm)
 
void setAmplification (float Value)
 set the amplification of the gas amplification device (e.g. GEMs)
 
void setADCtoPrimaryElectronsFactor (float Value)
 set the conversion factor from ADC counts to primary electrons (ADC * conv.Factor = # primary e)
 
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 ()
 

Member Function Documentation

float tpcconddata::TPCConditions::getTimeOffset ( ) const

return the time offset (in us).

This is intersection point of the drift velocity fit with the time axis. Can be used to correct hit time for offsets (e.g. from electronics and drift time calculation)

Referenced by marlintpc::TPCConditionsListener::getTimeOffset().


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