![]() |
Project
|
#include <ECalBaseParam.h>
Inherits o2::conf::ConfigurableParamHelper< ECalBaseParam >.
Public Member Functions | |
O2ParamDef (ECalBaseParam, "ECalBase") | |
![]() | |
std::string | getName () const final |
EParamProvenance | getMemberProvenance (const std::string &key) const final |
void | printKeyValues (bool showProv=true, bool useLogger=false, bool withPadding=true, bool showHash=true) 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 | |
bool | enableFwdEndcap = false |
double | rMin = 125 |
double | rMax = 155 |
double | zLength = 350 |
int | nSuperModules = 4 |
int | nCrystalModulesZ = 31 |
int | nCrystalModulesPhi = 96 |
double | crystalAlphaDeg = 0.4 |
double | crystalModuleWidth = 1.9 |
double | crystalModuleLength = 18 |
int | nSamplingModulesZ = 56 |
int | nSamplingModulesPhi = 67 |
double | samplingAlphaDeg = 0.4 |
double | samplingModuleWidth = 2.7 |
double | frontPlateThickness = 1. |
double | pbLayerThickness = 0.12 |
double | scLayerThickness = 0.15 |
int | nSamplingLayers = 80 |
double | marginCrystalToSampling = 0.1 |
Additional Inherited Members | |
![]() | |
enum | EParamProvenance { kCODE , kCCDB , kRT } |
enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
![]() | |
static const ECalBaseParam & | 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 27 of file ECalBaseParam.h.
o2::ecal::ECalBaseParam::O2ParamDef | ( | ECalBaseParam | , |
"ECalBase" | |||
) |
double o2::ecal::ECalBaseParam::crystalAlphaDeg = 0.4 |
Definition at line 37 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::crystalModuleLength = 18 |
Definition at line 39 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::crystalModuleWidth = 1.9 |
Definition at line 38 of file ECalBaseParam.h.
bool o2::ecal::ECalBaseParam::enableFwdEndcap = false |
Definition at line 28 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::frontPlateThickness = 1. |
Definition at line 45 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::marginCrystalToSampling = 0.1 |
Definition at line 50 of file ECalBaseParam.h.
int o2::ecal::ECalBaseParam::nCrystalModulesPhi = 96 |
Definition at line 36 of file ECalBaseParam.h.
int o2::ecal::ECalBaseParam::nCrystalModulesZ = 31 |
Definition at line 35 of file ECalBaseParam.h.
int o2::ecal::ECalBaseParam::nSamplingLayers = 80 |
Definition at line 48 of file ECalBaseParam.h.
int o2::ecal::ECalBaseParam::nSamplingModulesPhi = 67 |
Definition at line 42 of file ECalBaseParam.h.
int o2::ecal::ECalBaseParam::nSamplingModulesZ = 56 |
Definition at line 41 of file ECalBaseParam.h.
int o2::ecal::ECalBaseParam::nSuperModules = 4 |
Definition at line 33 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::pbLayerThickness = 0.12 |
Definition at line 46 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::rMax = 155 |
Definition at line 31 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::rMin = 125 |
Definition at line 30 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::samplingAlphaDeg = 0.4 |
Definition at line 43 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::samplingModuleWidth = 2.7 |
Definition at line 44 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::scLayerThickness = 0.15 |
Definition at line 47 of file ECalBaseParam.h.
double o2::ecal::ECalBaseParam::zLength = 350 |
Definition at line 32 of file ECalBaseParam.h.