![]() |
Project
|
#include <ParameterGEM.h>
Inherits o2::conf::ConfigurableParamHelper< ParameterGEM >.
Public Member Functions | |
float | getEffectiveGain (int gem) const |
O2ParamDef (ParameterGEM, "TPCGEMParam") | |
![]() | |
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 | |
![]() | |
enum | EParamProvenance { kCODE , kCCDB , kRT } |
enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
![]() | |
static const ParameterGEM & | Instance () |
![]() | |
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 ¶msList="", bool unchangedOnly=false) |
![]() | |
ConfigurableParam () | |
virtual | ~ConfigurableParam ()=default |
void | setRegisterMode (bool b) |
bool | isInitialized () const |
![]() | |
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 std::map< std::string, std::pair< std::type_info const &, void * > > * | sKeyToStorageMap = nullptr |
static std::map< std::string, ConfigurableParam::EParamProvenance > * | sValueProvenanceMap = nullptr |
static EnumRegistry * | sEnumRegistry = nullptr |
static std::string | sOutputDir = "" |
Definition at line 38 of file ParameterGEM.h.
|
inline |
Get the effective gain of a given GEM in the stack
GEM | GEM of interest in the stack (1 - 4) |
Definition at line 43 of file ParameterGEM.h.
o2::tpc::ParameterGEM::O2ParamDef | ( | ParameterGEM | , |
"TPCGEMParam" | |||
) |
Absolute gain.
Definition at line 54 of file ParameterGEM.h.
AmplificationMode o2::tpc::ParameterGEM::AmplMode = AmplificationMode::EffectiveMode |
Amplification mode [FullMode / EffectiveMode].
Definition at line 60 of file ParameterGEM.h.
Collection efficiency.
Definition at line 55 of file ParameterGEM.h.
Distances between cathode/anode and stages (in cm)
Definition at line 51 of file ParameterGEM.h.
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.
Electric field configuration (in kV/cm)
Definition at line 53 of file ParameterGEM.h.
Extraction efficiency.
Definition at line 56 of file ParameterGEM.h.
int o2::tpc::ParameterGEM::Geometry[4] = {0, 2, 2, 0} |
GEM geometry (0 standard, 1 medium, 2 large)
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.
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 (in Volts)
Definition at line 52 of file ParameterGEM.h.
float o2::tpc::ParameterGEM::TotalGainStack = 2000.f |
Total gain of the stack for the EffectiveMode.
Definition at line 57 of file ParameterGEM.h.