Project
Loading...
Searching...
No Matches
o2::trd::TRDSimParams Struct Reference

#include <TRDSimParams.h>

Inherits o2::conf::ConfigurableParamHelper< TRDSimParams >.

Public Member Functions

float busyTimeNS () const
 the time for which no new trigger can be received in nanoseconds
 
 O2ParamDef (TRDSimParams, "TRDSimParams")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< TRDSimParams >
std::string getName () const final
 
EParamProvenance getMemberProvenance (const std::string &key) const final
 
void printKeyValues (bool showProv=true, bool useLogger=false) const final
 
size_t getHash () const final
 
void output (std::ostream &out) const final
 
std::vector< ParamDataMember > * getDataMembers () const
 
void putKeyValues (boost::property_tree::ptree *tree) final
 
void initFrom (TFile *file) final
 
void syncCCDBandRegistry (void *externalobj) final
 
void serializeTo (TFile *file) const final
 
 ConfigurableParam ()
 

Public Attributes

float readoutTimeNS = 3000
 the time the readout takes in ns (default 30 time bins = 3 us)
 
float deadTimeNS = 11000
 trigger deadtime in ns (default 11 us)
 
int digithreads = 4
 number of digitizer threads
 
float maxMCStepSize = 0.1
 maximum size of MC steps
 
bool doTR = true
 switch for transition radiation
 
SimParam::GasMixture gas = SimParam::GasMixture::Xenon
 the gas mixture in the TRD
 
int trf = 0
 
float trf_landau_mu = 0.
 
float trf_landau_sigma = .03
 

Additional Inherited Members

- Public Types inherited from o2::conf::ConfigurableParam
enum  EParamProvenance { kCODE , kCCDB , kRT }
 
enum class  EParamUpdateStatus { Changed , Unchanged , Failed }
 
- Static Public Member Functions inherited from o2::conf::ConfigurableParamHelper< TRDSimParams >
static const TRDSimParams & Instance ()
 
- Static Public Member Functions inherited from o2::conf::ConfigurableParam
static std::string toString (EParamProvenance p)
 
static EParamProvenance getProvenance (const std::string &key)
 
static void printAllRegisteredParamNames ()
 
static void printAllKeyValuePairs (bool useLogger=false)
 
static const std::string & getOutputDir ()
 
static void setOutputDir (const std::string &d)
 
static bool configFileExists (std::string const &filepath)
 
static void writeJSON (std::string const &filename, std::string const &keyOnly="")
 
static void writeINI (std::string const &filename, std::string const &keyOnly="")
 
template<typename T >
static T getValueAs (std::string key)
 
template<typename T >
static void setValue (std::string const &mainkey, std::string const &subkey, T x)
 
static void setProvenance (std::string const &mainkey, std::string const &subkey, EParamProvenance p)
 
static void setValue (std::string const &key, std::string const &valuestring)
 
static void setEnumValue (const std::string &, const std::string &)
 
static void setArrayValue (const std::string &, const std::string &)
 
static void setValues (std::vector< std::pair< std::string, std::string > > const &keyValues)
 
static void initialize ()
 
static void toCCDB (std::string filename)
 
static void fromCCDB (std::string filename)
 
static void updateFromString (std::string const &)
 
static void updateFromFile (std::string const &, std::string const &paramsList="", bool unchangedOnly=false)
 
- Protected Member Functions inherited from o2::conf::ConfigurableParam
 ConfigurableParam ()
 
virtual ~ConfigurableParam ()=default
 
void setRegisterMode (bool b)
 
bool isInitialized () const
 
- Static Protected Member Functions inherited from o2::conf::ConfigurableParam
static void initPropertyTree ()
 
static EParamUpdateStatus updateThroughStorageMap (std::string, std::string, std::type_info const &, void *)
 
static EParamUpdateStatus updateThroughStorageMapWithConversion (std::string const &, std::string const &)
 
- Static Protected Attributes inherited from o2::conf::ConfigurableParam
static std::map< std::string, std::pair< std::type_info const &, void * > > * sKeyToStorageMap = nullptr
 
static std::map< std::string, ConfigurableParam::EParamProvenance > * sValueProvenanceMap = nullptr
 
static EnumRegistrysEnumRegistry = nullptr
 
static std::string sOutputDir = ""
 

Detailed Description

Definition at line 30 of file TRDSimParams.h.

Member Function Documentation

◆ busyTimeNS()

float o2::trd::TRDSimParams::busyTimeNS ( ) const
inline

the time for which no new trigger can be received in nanoseconds

Definition at line 34 of file TRDSimParams.h.

◆ O2ParamDef()

o2::trd::TRDSimParams::O2ParamDef ( TRDSimParams  ,
"TRDSimParams"   
)

Member Data Documentation

◆ deadTimeNS

float o2::trd::TRDSimParams::deadTimeNS = 11000

trigger deadtime in ns (default 11 us)

Definition at line 33 of file TRDSimParams.h.

◆ digithreads

int o2::trd::TRDSimParams::digithreads = 4

number of digitizer threads

Definition at line 36 of file TRDSimParams.h.

◆ doTR

bool o2::trd::TRDSimParams::doTR = true

switch for transition radiation

Definition at line 38 of file TRDSimParams.h.

◆ gas

SimParam::GasMixture o2::trd::TRDSimParams::gas = SimParam::GasMixture::Xenon

the gas mixture in the TRD

Definition at line 39 of file TRDSimParams.h.

◆ maxMCStepSize

float o2::trd::TRDSimParams::maxMCStepSize = 0.1

maximum size of MC steps

Definition at line 37 of file TRDSimParams.h.

◆ readoutTimeNS

float o2::trd::TRDSimParams::readoutTimeNS = 3000

the time the readout takes in ns (default 30 time bins = 3 us)

Definition at line 32 of file TRDSimParams.h.

◆ trf

int o2::trd::TRDSimParams::trf = 0

Definition at line 41 of file TRDSimParams.h.

◆ trf_landau_mu

float o2::trd::TRDSimParams::trf_landau_mu = 0.

Definition at line 42 of file TRDSimParams.h.

◆ trf_landau_sigma

float o2::trd::TRDSimParams::trf_landau_sigma = .03

Definition at line 43 of file TRDSimParams.h.


The documentation for this struct was generated from the following file: