10 return std::string(
"$Rev: 3427 $");
14 return std::string(
"TPCConditions");
31 return getFloatVal( 0 ) ;
35 return getFloatVal( 1 ) ;
39 return getFloatVal( 2 ) ;
43 return getFloatVal( 3 ) ;
47 return getFloatVal( 4 ) ;
51 return getFloatVal( 5 ) ;
55 return getFloatVal( 6 ) ;
59 return getFloatVal( 7 ) ;
63 obj()->setFloatVal( 0 , Value ) ;
67 obj()->setFloatVal( 1 , Value ) ;
71 obj()->setFloatVal( 2 , Value ) ;
75 obj()->setFloatVal( 3 , Value ) ;
79 obj()->setFloatVal( 4 , Value ) ;
83 obj()->setFloatVal( 5 , Value ) ;
87 obj()->setFloatVal( 6 , Value ) ;
91 obj()->setFloatVal( 7 , Value ) ;
97 os<<
"drift velocity: ";
113 os<<
"transversal diffusion: ";
121 os<<
"longitudinal diffusion: ";
129 os<<
"ADC counts to primary electrons conversion factor: ";
void setTimeOffset(float Value)
set the time offset in us
float getDriftVelocity() const
return the drift velocity (in mm/us)
float getLongDiffusionCoef() const
return the diffusion coefficent for the longitudinal diffusion (in sqrt(mm))
void setLongDefocussing(float Value)
set the defocussion constant for the longitudinal diffusion (in mm)
float getADCtoPrimaryElectronsFactor() const
return the conversion factor from ADC counts to primary electrons (ADC * conv.Factor = # primary e) ...
static std::string getDefaultColName()
float getTransDefocussing() const
return the defocussion constant for the transversal diffusion (in mm)
void setTransDefocussing(float Value)
set the defocussion constant for the transversal diffusion (in mm)
void setLongDiffusionCoef(float Value)
set the diffusion coefficient for the longitudinal diffusion (in sqrt(mm))
std::ostream & operator<<(std::ostream &os, const ADCChannelMapping &acm)
void setADCtoPrimaryElectronsFactor(float Value)
set the conversion factor from ADC counts to primary electrons (ADC * conv.Factor = # primary e) ...
float getAmplification() const
return the amplification of the gas amplification device (e.g. GEMs)
void setDriftVelocity(float Value)
set the drift velocity in mm/us
void setAmplification(float Value)
set the amplification of the gas amplification device (e.g. GEMs)
void print(std::ostream &os=std::cout) const
float getTimeOffset() const
return the time offset (in us).
TPCConditions()
Convenient constructor.
float getLongDefocussing() const
return the defocussion constant for the longitudinal diffusion (in mm)
void setTransDiffusionCoef(float Value)
set the diffusion coefficient for the transversal diffusion (in sqrt(mm))
static std::string getRevision()
float getTransDiffusionCoef() const
return the diffusion coefficent for the transversal diffusion (in sqrt(mm))
virtual ~TPCConditions()
Important for memory handling.