Project
Loading...
Searching...
No Matches
o2::tpc::ParameterGEM Struct Reference

#include <ParameterGEM.h>

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

Public Member Functions

float getEffectiveGain (int gem) const
 
 O2ParamDef (ParameterGEM, "TPCGEMParam")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< ParameterGEM >
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

int Geometry [4] = {0, 2, 2, 0}
 GEM geometry (0 standard, 1 medium, 2 large)
 
float Distance [5] = {4.f, 0.2f, 0.2f, 0.2f, 0.2f}
 Distances between cathode/anode and stages (in cm)
 
float Potential [4] = {270.f, 250.f, 270.f, 340.f}
 Potential (in Volts)
 
float ElectricField [5] = {0.4f, 4.f, 2.f, 0.1f, 4.f}
 Electric field configuration (in kV/cm)
 
float AbsoluteGain [4] = {14.f, 8.f, 53.f, 240.f}
 Absolute gain.
 
float CollectionEfficiency [4] = {1.f, 0.2f, 0.25f, 1.f}
 Collection efficiency.
 
float ExtractionEfficiency [4] = {0.65f, 0.55f, 0.12f, 0.6f}
 Extraction efficiency.
 
float TotalGainStack = 2000.f
 Total gain of the stack for the EffectiveMode.
 
float KappaStack = 1.205f
 Variable steering the energy resolution of the full stack for the EffectiveMode.
 
float EfficiencyStack = 0.528f
 Variable steering the single electron efficiency of the full stack for the EffectiveMode.
 
AmplificationMode AmplMode = AmplificationMode::EffectiveMode
 Amplification mode [FullMode / EffectiveMode].
 

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< ParameterGEM >
static const ParameterGEM & 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 38 of file ParameterGEM.h.

Member Function Documentation

◆ getEffectiveGain()

float o2::tpc::ParameterGEM::getEffectiveGain ( int  gem) const
inline

Get the effective gain of a given GEM in the stack

Parameters
GEMGEM of interest in the stack (1 - 4)
Returns
Effective gain of a given GEM in the stack

Definition at line 43 of file ParameterGEM.h.

◆ O2ParamDef()

o2::tpc::ParameterGEM::O2ParamDef ( ParameterGEM  ,
"TPCGEMParam"   
)

Member Data Documentation

◆ AbsoluteGain

float o2::tpc::ParameterGEM::AbsoluteGain[4] = {14.f, 8.f, 53.f, 240.f}

Absolute gain.

Definition at line 54 of file ParameterGEM.h.

◆ AmplMode

AmplificationMode o2::tpc::ParameterGEM::AmplMode = AmplificationMode::EffectiveMode

Amplification mode [FullMode / EffectiveMode].

Definition at line 60 of file ParameterGEM.h.

◆ CollectionEfficiency

float o2::tpc::ParameterGEM::CollectionEfficiency[4] = {1.f, 0.2f, 0.25f, 1.f}

Collection efficiency.

Definition at line 55 of file ParameterGEM.h.

◆ Distance

float o2::tpc::ParameterGEM::Distance[5] = {4.f, 0.2f, 0.2f, 0.2f, 0.2f}

Distances between cathode/anode and stages (in cm)

Definition at line 51 of file ParameterGEM.h.

◆ EfficiencyStack

float o2::tpc::ParameterGEM::EfficiencyStack = 0.528f

Variable steering the single electron efficiency of the full stack for the EffectiveMode.

Definition at line 59 of file ParameterGEM.h.

◆ ElectricField

float o2::tpc::ParameterGEM::ElectricField[5] = {0.4f, 4.f, 2.f, 0.1f, 4.f}

Electric field configuration (in kV/cm)

Definition at line 53 of file ParameterGEM.h.

◆ ExtractionEfficiency

float o2::tpc::ParameterGEM::ExtractionEfficiency[4] = {0.65f, 0.55f, 0.12f, 0.6f}

Extraction efficiency.

Definition at line 56 of file ParameterGEM.h.

◆ Geometry

int o2::tpc::ParameterGEM::Geometry[4] = {0, 2, 2, 0}

GEM geometry (0 standard, 1 medium, 2 large)

Todo:

Remove hard-coded number of GEMs in a stack

O2ParamDef takes no std::vectors/arrays, therefore the c-style

Definition at line 50 of file ParameterGEM.h.

◆ KappaStack

float o2::tpc::ParameterGEM::KappaStack = 1.205f

Variable steering the energy resolution of the full stack for the EffectiveMode.

Definition at line 58 of file ParameterGEM.h.

◆ Potential

float o2::tpc::ParameterGEM::Potential[4] = {270.f, 250.f, 270.f, 340.f}

Potential (in Volts)

Definition at line 52 of file ParameterGEM.h.

◆ TotalGainStack

float o2::tpc::ParameterGEM::TotalGainStack = 2000.f

Total gain of the stack for the EffectiveMode.

Definition at line 57 of file ParameterGEM.h.


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