![]() |
Project
|
#include <NameConf.h>
Inherits o2::conf::ConfigurableParamHelper< NameConf >.
Inherited by o2::base::DetectorNameConf.
Static Public Member Functions | |
static std::string | getCollisionContextFileName (const std::string_view prefix="") |
static std::string | getGRPFileName (const std::string_view prefix=STANDARDSIMPREFIX) |
static std::string | getGRPECSFileName (const std::string_view prefix=STANDARDSIMPREFIX) |
static std::string | getGRPLHCIFFileName (const std::string_view prefix=STANDARDSIMPREFIX) |
static std::string | getGRPMagFieldFileName (const std::string_view prefix=STANDARDSIMPREFIX) |
static std::string | getMCKinematicsFileName (const std::string_view prefix=STANDARDSIMPREFIX) |
static std::string | getMCHeadersFileName (const std::string_view prefix=STANDARDSIMPREFIX) |
static std::string | getMCConfigFileName (const std::string_view prefix=STANDARDSIMPREFIX) |
static std::string | getTFIDInfoFileName (const std::string_view prefix="o2") |
static std::string | getGeomFileName (const std::string_view prefix="") |
static std::string | getAlignedGeomFileName (const std::string_view prefix="") |
static std::string | getMatLUTFileName (const std::string_view prefix="") |
static std::string | getCutProcFileName (const std::string_view prefix="") |
static std::string | getCTFFileName (uint32_t run, uint32_t orb, uint32_t id, const std::string &host, const std::string_view prefix="o2_ctf") |
static std::string | getCTFDictFileName () |
static std::string | getCCDBServer () |
![]() | |
static const NameConf & | 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) |
Static Public Attributes | |
static constexpr std::string_view | CCDBOBJECT = "ccdb_object" |
static constexpr std::string_view | CCDBMETA = "ccdb_meta" |
static constexpr std::string_view | CCDBQUERY = "ccdb_query" |
static constexpr std::string_view | CCDBRunTag = "runNumber" |
static constexpr std::string_view | CCDBDefaultEntry = "default" |
static constexpr std::string_view | GEOMOBJECTNAME_FAIR = "FAIRGeom" |
static constexpr std::string_view | MCTTREENAME = "o2sim" |
static constexpr std::string_view | DIGITIZATIONCONFIGFILE = "o2simdigitizerworkflow_configuration.ini" |
static constexpr std::string_view | CTFDICT = "ctf_dictionary" |
static constexpr std::string_view | CTFTREENAME = "ctf" |
Protected Member Functions | |
O2ParamDef (NameConf, "NameConf") | |
![]() | |
ConfigurableParam () | |
virtual | ~ConfigurableParam ()=default |
void | setRegisterMode (bool b) |
bool | isInitialized () const |
Static Protected Member Functions | |
static std::string | buildFileName (const std::string_view prefix, const std::string_view delimiter, const std::string_view defPrefix, const std::string_view defName, const std::string_view extension, const std::string_view optDir="") |
![]() | |
static void | initPropertyTree () |
static EParamUpdateStatus | updateThroughStorageMap (std::string, std::string, std::type_info const &, void *) |
static EParamUpdateStatus | updateThroughStorageMapWithConversion (std::string const &, std::string const &) |
Protected Attributes | |
std::string | mDirGRP = "none" |
std::string | mDirGRPECS = "none" |
std::string | mDirGRPLHCIF = "none" |
std::string | mDirGRPMagField = "none" |
std::string | mDirGeom = "none" |
std::string | mDirMatLUT = "none" |
std::string | mDirCollContext = "none" |
std::string | mDirTFIDINFO = "none" |
std::string | mCCDBServer = "http://alice-ccdb.cern.ch/" |
Static Protected Attributes | |
static constexpr std::string_view | STANDARDSIMPREFIX = "o2sim" |
static constexpr std::string_view | HITS_STRING = "Hits" |
static constexpr std::string_view | DIGITS_STRING = "Digits" |
static constexpr std::string_view | GRP_STRING = "grp" |
static constexpr std::string_view | GRPECS_STRING = "grpecs" |
static constexpr std::string_view | GRPLHCIF_STRING = "grplhcif" |
static constexpr std::string_view | GRPMAGFIELD_STRING = "grpMagField" |
static constexpr std::string_view | KINE_STRING = "Kine" |
static constexpr std::string_view | MCHEADER_STRING = "MCHeader" |
static constexpr std::string_view | GEOM_FILE_STRING = "geometry" |
static constexpr std::string_view | ALIGNEDGEOM_FILE_STRING = "geometry-aligned" |
static constexpr std::string_view | CUT_FILE_STRING = "proc-cut" |
static constexpr std::string_view | CONFIG_STRING = "configuration" |
static constexpr std::string_view | ROOT_EXT_STRING = "root" |
static constexpr std::string_view | DAT_EXT_STRING = "dat" |
static constexpr std::string_view | ALPIDECLUSDICTFILENAME = "dictionary" |
static constexpr std::string_view | NOISEFILENAME = "NoiseMap" |
static constexpr std::string_view | MATBUDLUT = "matbud" |
static constexpr std::string_view | COLLISIONCONTEXT = "collisioncontext" |
static constexpr std::string_view | ALIGNPATH = "Calib/Align" |
static constexpr std::string_view | TFIDINFO = "tfidinfo" |
![]() | |
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 = "" |
Additional Inherited Members | |
![]() | |
enum | EParamProvenance { kCODE , kCCDB , kRT } |
enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
![]() | |
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 () | |
Definition at line 27 of file NameConf.h.
|
staticprotected |
Definition at line 20 of file NameConf.cxx.
|
static |
Definition at line 46 of file NameConf.cxx.
|
static |
Definition at line 110 of file NameConf.cxx.
|
static |
Definition at line 52 of file NameConf.cxx.
|
static |
Definition at line 98 of file NameConf.cxx.
|
static |
Definition at line 93 of file NameConf.cxx.
|
static |
Definition at line 82 of file NameConf.cxx.
|
static |
Definition at line 40 of file NameConf.cxx.
|
static |
Definition at line 64 of file NameConf.cxx.
|
static |
Definition at line 58 of file NameConf.cxx.
|
static |
Definition at line 70 of file NameConf.cxx.
|
static |
Definition at line 76 of file NameConf.cxx.
|
static |
Definition at line 88 of file NameConf.cxx.
|
inlinestatic |
Definition at line 58 of file NameConf.h.
|
inlinestatic |
Definition at line 52 of file NameConf.h.
|
inlinestatic |
Definition at line 46 of file NameConf.h.
|
static |
Definition at line 104 of file NameConf.cxx.
|
protected |
|
staticconstexprprotected |
Definition at line 122 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 131 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 127 of file NameConf.h.
|
staticconstexpr |
Definition at line 70 of file NameConf.h.
|
staticconstexpr |
Definition at line 67 of file NameConf.h.
|
staticconstexpr |
Definition at line 66 of file NameConf.h.
|
staticconstexpr |
Definition at line 68 of file NameConf.h.
|
staticconstexpr |
Definition at line 69 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 130 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 124 of file NameConf.h.
|
staticconstexpr |
Definition at line 92 of file NameConf.h.
|
staticconstexpr |
Definition at line 95 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 123 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 126 of file NameConf.h.
|
staticconstexpr |
Definition at line 89 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 114 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 121 of file NameConf.h.
|
staticconstexpr |
Definition at line 83 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 115 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 116 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 117 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 118 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 113 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 119 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 129 of file NameConf.h.
|
protected |
Definition at line 143 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 120 of file NameConf.h.
|
staticconstexpr |
Definition at line 86 of file NameConf.h.
|
protected |
Definition at line 141 of file NameConf.h.
|
protected |
Definition at line 139 of file NameConf.h.
|
protected |
Definition at line 135 of file NameConf.h.
|
protected |
Definition at line 136 of file NameConf.h.
|
protected |
Definition at line 137 of file NameConf.h.
|
protected |
Definition at line 138 of file NameConf.h.
|
protected |
Definition at line 140 of file NameConf.h.
|
protected |
Definition at line 142 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 128 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 125 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 112 of file NameConf.h.
|
staticconstexprprotected |
Definition at line 132 of file NameConf.h.