Project
Loading...
Searching...
No Matches
o2::trd::SimParam Class Reference

Constant parameters for the TRD simulation. More...

#include <SimParam.h>

Public Types

enum class  GasMixture { Xenon , Argon }
 

Public Member Functions

 SimParam ()
 
 SimParam (const SimParam &)=delete
 
SimParamoperator= (const SimParam &)=delete
 
void init ()
 initialization based on configured gas mixture in TRDSimParams
 
void cacheMagField ()
 
void setGasGain (float gasgain)
 
void setNoise (float noise)
 
void setChipGain (float chipgain)
 
void setADCoutRange (float range)
 
void setADCinRange (float range)
 
void setADCbaseline (int basel)
 
void setDiffusion (bool flag=true)
 
void setElAttach (bool flag=true)
 
void setElAttachProp (float prop)
 
void setTimeResponse (bool flag=true)
 
void setCrossTalk (bool flag=true)
 
void setPadCoupling (float v)
 
void setTimeCoupling (float v)
 
void setTimeStruct (bool flag=true)
 
void setPadResponse (bool flag=true)
 
void setExB (bool flag=true)
 
void setSamplingFrequency (float freq)
 
void setTRF (int trf, float mu=0., float sigma=0.3)
 
float getGasGain () const
 
float getNoise () const
 
float getChipGain () const
 
float getADCoutRange () const
 
float getADCinRange () const
 
int getADCbaseline () const
 
float getTRFlo () const
 
float getTRFhi () const
 
float getPadCoupling () const
 
float getTimeCoupling () const
 
bool diffusionOn () const
 
bool elAttachOn () const
 
float getElAttachProp () const
 
bool trfOn () const
 
bool ctOn () const
 
bool timeStructOn () const
 
bool prfOn () const
 
int getNumberOfPadsInPadResponse () const
 
double timeResponse (double) const
 
double crossTalk (double) const
 
bool isExBOn () const
 
bool isXenon () const
 
bool isArgon () const
 
GasMixture getGasMixture () const
 
float getSamplingFrequency () const
 
float getCachedField () const
 

Detailed Description

Constant parameters for the TRD simulation.

Definition at line 27 of file SimParam.h.

Member Enumeration Documentation

◆ GasMixture

enum class o2::trd::SimParam::GasMixture
strong
Enumerator
Xenon 
Argon 

Definition at line 30 of file SimParam.h.

Constructor & Destructor Documentation

◆ SimParam() [1/2]

SimParam::SimParam ( )

Definition at line 26 of file SimParam.cxx.

◆ SimParam() [2/2]

o2::trd::SimParam::SimParam ( const SimParam )
delete

Member Function Documentation

◆ cacheMagField()

void SimParam::cacheMagField ( )

Definition at line 35 of file SimParam.cxx.

◆ crossTalk()

double SimParam::crossTalk ( double  time) const

Definition at line 74 of file SimParam.cxx.

◆ ctOn()

bool o2::trd::SimParam::ctOn ( ) const
inline

Definition at line 83 of file SimParam.h.

◆ diffusionOn()

bool o2::trd::SimParam::diffusionOn ( ) const
inline

Definition at line 79 of file SimParam.h.

◆ elAttachOn()

bool o2::trd::SimParam::elAttachOn ( ) const
inline

Definition at line 80 of file SimParam.h.

◆ getADCbaseline()

int o2::trd::SimParam::getADCbaseline ( ) const
inline

Definition at line 74 of file SimParam.h.

◆ getADCinRange()

float o2::trd::SimParam::getADCinRange ( ) const
inline

Definition at line 73 of file SimParam.h.

◆ getADCoutRange()

float o2::trd::SimParam::getADCoutRange ( ) const
inline

Definition at line 72 of file SimParam.h.

◆ getCachedField()

float SimParam::getCachedField ( ) const

Definition at line 47 of file SimParam.cxx.

◆ getChipGain()

float o2::trd::SimParam::getChipGain ( ) const
inline

Definition at line 71 of file SimParam.h.

◆ getElAttachProp()

float o2::trd::SimParam::getElAttachProp ( ) const
inline

Definition at line 81 of file SimParam.h.

◆ getGasGain()

float o2::trd::SimParam::getGasGain ( ) const
inline

Definition at line 69 of file SimParam.h.

◆ getGasMixture()

GasMixture o2::trd::SimParam::getGasMixture ( ) const
inline

Definition at line 92 of file SimParam.h.

◆ getNoise()

float o2::trd::SimParam::getNoise ( ) const
inline

Definition at line 70 of file SimParam.h.

◆ getNumberOfPadsInPadResponse()

int o2::trd::SimParam::getNumberOfPadsInPadResponse ( ) const
inline

Definition at line 86 of file SimParam.h.

◆ getPadCoupling()

float o2::trd::SimParam::getPadCoupling ( ) const
inline

Definition at line 77 of file SimParam.h.

◆ getSamplingFrequency()

float o2::trd::SimParam::getSamplingFrequency ( ) const
inline

Definition at line 93 of file SimParam.h.

◆ getTimeCoupling()

float o2::trd::SimParam::getTimeCoupling ( ) const
inline

Definition at line 78 of file SimParam.h.

◆ getTRFhi()

float o2::trd::SimParam::getTRFhi ( ) const
inline

Definition at line 76 of file SimParam.h.

◆ getTRFlo()

float o2::trd::SimParam::getTRFlo ( ) const
inline

Definition at line 75 of file SimParam.h.

◆ init()

void SimParam::init ( )

initialization based on configured gas mixture in TRDSimParams

Definition at line 90 of file SimParam.cxx.

◆ isArgon()

bool o2::trd::SimParam::isArgon ( ) const
inline

Definition at line 91 of file SimParam.h.

◆ isExBOn()

bool o2::trd::SimParam::isExBOn ( ) const
inline

Definition at line 89 of file SimParam.h.

◆ isXenon()

bool o2::trd::SimParam::isXenon ( ) const
inline

Definition at line 90 of file SimParam.h.

◆ operator=()

SimParam & o2::trd::SimParam::operator= ( const SimParam )
delete

◆ prfOn()

bool o2::trd::SimParam::prfOn ( ) const
inline

Definition at line 85 of file SimParam.h.

◆ setADCbaseline()

void o2::trd::SimParam::setADCbaseline ( int  basel)
inline

Definition at line 49 of file SimParam.h.

◆ setADCinRange()

void o2::trd::SimParam::setADCinRange ( float  range)
inline

Definition at line 48 of file SimParam.h.

◆ setADCoutRange()

void o2::trd::SimParam::setADCoutRange ( float  range)
inline

Definition at line 47 of file SimParam.h.

◆ setChipGain()

void o2::trd::SimParam::setChipGain ( float  chipgain)
inline

Definition at line 46 of file SimParam.h.

◆ setCrossTalk()

void o2::trd::SimParam::setCrossTalk ( bool  flag = true)
inline

Definition at line 54 of file SimParam.h.

◆ setDiffusion()

void o2::trd::SimParam::setDiffusion ( bool  flag = true)
inline

Definition at line 50 of file SimParam.h.

◆ setElAttach()

void o2::trd::SimParam::setElAttach ( bool  flag = true)
inline

Definition at line 51 of file SimParam.h.

◆ setElAttachProp()

void o2::trd::SimParam::setElAttachProp ( float  prop)
inline

Definition at line 52 of file SimParam.h.

◆ setExB()

void o2::trd::SimParam::setExB ( bool  flag = true)
inline

Definition at line 59 of file SimParam.h.

◆ setGasGain()

void o2::trd::SimParam::setGasGain ( float  gasgain)
inline

Definition at line 44 of file SimParam.h.

◆ setNoise()

void o2::trd::SimParam::setNoise ( float  noise)
inline

Definition at line 45 of file SimParam.h.

◆ setPadCoupling()

void o2::trd::SimParam::setPadCoupling ( float  v)
inline

Definition at line 55 of file SimParam.h.

◆ setPadResponse()

void o2::trd::SimParam::setPadResponse ( bool  flag = true)
inline

Definition at line 58 of file SimParam.h.

◆ setSamplingFrequency()

void o2::trd::SimParam::setSamplingFrequency ( float  freq)
inline

Definition at line 60 of file SimParam.h.

◆ setTimeCoupling()

void o2::trd::SimParam::setTimeCoupling ( float  v)
inline

Definition at line 56 of file SimParam.h.

◆ setTimeResponse()

void o2::trd::SimParam::setTimeResponse ( bool  flag = true)
inline

Definition at line 53 of file SimParam.h.

◆ setTimeStruct()

void o2::trd::SimParam::setTimeStruct ( bool  flag = true)
inline

Definition at line 57 of file SimParam.h.

◆ setTRF()

void o2::trd::SimParam::setTRF ( int  trf,
float  mu = 0.,
float  sigma = 0.3 
)
inline

Definition at line 61 of file SimParam.h.

◆ timeResponse()

double SimParam::timeResponse ( double  time) const

Definition at line 57 of file SimParam.cxx.

◆ timeStructOn()

bool o2::trd::SimParam::timeStructOn ( ) const
inline

Definition at line 84 of file SimParam.h.

◆ trfOn()

bool o2::trd::SimParam::trfOn ( ) const
inline

Definition at line 82 of file SimParam.h.


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