![]() |
Project
|
Namespaces | |
| namespace | test |
Classes | |
| class | _ParamHelper |
| class | ConfigurableParam |
| class | ConfigurableParamHelper |
| class | ConfigurableParamPromoter |
| class | ConfigurableParamReaders |
| class | ContainerParser |
| struct | DigiParams |
| struct | EnumLegalValues |
| class | EnumRegistry |
| struct | G4Params |
| struct | KeyValParam |
| struct | MatMapParams |
| struct | ParamDataMember |
| class | SimConfig |
| struct | SimConfigData |
| struct | SimCutParams |
| class | SimDLLoader |
| struct | SimMaterialParams |
| struct | SimReconfigData |
| TODO: Make this a base class of SimConfigData? More... | |
| struct | SimUserDecay |
| struct | VerbosityConfig |
Concepts | |
| concept | Container |
| concept | MapLike |
| concept | SequenceContainer |
Typedefs | |
| using | DetectorList_t = std::vector< std::string > |
| using | DetectorMap_t = std::unordered_map< std::string, DetectorList_t > |
Enumerations | |
| enum class | EG4Physics { kFTFP_BERT_optical = 0 , kFTFP_BERT_optical_biasing = 1 , kFTFP_INCLXX_optical = 2 , kFTFP_BERT_HP_optical = 3 , kFTFP_BERT_EMV_optical = 4 , kFTFP_BERT_EMV_optical_biasing = 5 , kFTFP_INCLXX_EMV_optical = 6 , kFTFP_BERT_EMV_HP_optical = 7 , kUSER = 8 } |
| enum class | EG4Nav { kTGeo = 0 , kG4 = 1 } |
| enum class | SimFieldMode { kDefault = 0 , kUniform = 1 , kCCDB = 2 } |
| enum class | VertexMode { kNoVertex = 0 , kDiamondParam = 1 , kCCDB = 2 , kCollCxt = 3 } |
| enum class | TimeStampMode { kNow = 0 , kManual = 1 , kRun = 2 } |
Functions | |
| bool | parseDetectorMapfromJSON (const std::string &path, DetectorMap_t &map) |
| void | printDetMap (const DetectorMap_t &map, const std::string &list="") |
| std::string | g4ScoringWorkerFileName (const std::string &meshName, int pid) |
| Name of the Geant4 scoring dump written by one simulation worker. | |
| int | mergeG4ScoringDumps (const std::string &directory, int expectedWorkers=0) |
| bool | parseSimReconfigFromString (std::string const &argumentstring, SimReconfigData &config) |
| std::size_t | damerauLevenshteinDistance (std::string_view a, std::string_view b) |
| bool | isContainer (const std::string &typeName) |
| bool | isContainer (TDataMember const &dm) |
| template<typename T > | |
| T | GetFromMacro (const std::string &file, const std::string &funcname, const std::string &type, const std::string &unique) |
| template<typename T > | |
| T | JITAndEvalFunction (const std::string &functiondecl, const std::string &funcname, const std::string &type, const std::string &unique) |
| std::ostream & | operator<< (std::ostream &out, ConfigurableParam const ¶m) |
| bool | keyInTree (boost::property_tree::ptree *pt, const std::string &key) |
| std::string | getLiteralSuffixFromType (const std::type_info &type) |
| void | unsupp () |
| template<typename T > | |
| bool | isMemblockDifferent (void const *block1, void const *block2) |
| template<typename T > | |
| ConfigurableParam::EParamUpdateStatus | Copy (void const *addr, void *targetaddr) |
| template<typename T > | |
| ConfigurableParam::EParamUpdateStatus | ConvertAndCopy (std::string const &valuestring, void *targetaddr) |
| template<> | |
| ConfigurableParam::EParamUpdateStatus | ConvertAndCopy< std::string > (std::string const &valuestring, void *targetaddr) |
| template<> | |
| ConfigurableParam::EParamUpdateStatus | ConvertAndCopy< char > (std::string const &valuestring, void *targetaddr) |
| template<> | |
| ConfigurableParam::EParamUpdateStatus | ConvertAndCopy< unsigned char > (std::string const &valuestring, void *targetaddr) |
Variables | |
| template<typename > | |
| constexpr bool | AlwaysFalse = false |
| using o2::conf::DetectorList_t = typedef std::vector<std::string> |
Definition at line 26 of file DetectorLists.h.
| using o2::conf::DetectorMap_t = typedef std::unordered_map<std::string, DetectorList_t> |
Definition at line 27 of file DetectorLists.h.
|
strong |
| Enumerator | |
|---|---|
| kTGeo | |
| kG4 | |
Definition at line 38 of file G4Params.h.
|
strong |
Definition at line 24 of file G4Params.h.
|
strong |
| Enumerator | |
|---|---|
| kDefault | |
| kUniform | |
| kCCDB | |
Definition at line 31 of file SimConfig.h.
|
strong |
| Enumerator | |
|---|---|
| kNow | |
| kManual | |
| kRun | |
Definition at line 44 of file SimConfig.h.
|
strong |
| Enumerator | |
|---|---|
| kNoVertex | |
| kDiamondParam | |
| kCCDB | |
| kCollCxt | |
Definition at line 37 of file SimConfig.h.
| ConfigurableParam::EParamUpdateStatus o2::conf::ConvertAndCopy | ( | std::string const & | valuestring, |
| void * | targetaddr | ||
| ) |
Definition at line 1336 of file ConfigurableParam.cxx.
| ConfigurableParam::EParamUpdateStatus o2::conf::ConvertAndCopy< char > | ( | std::string const & | valuestring, |
| void * | targetaddr | ||
| ) |
Definition at line 1362 of file ConfigurableParam.cxx.
| ConfigurableParam::EParamUpdateStatus o2::conf::ConvertAndCopy< std::string > | ( | std::string const & | valuestring, |
| void * | targetaddr | ||
| ) |
Definition at line 1348 of file ConfigurableParam.cxx.
| ConfigurableParam::EParamUpdateStatus o2::conf::ConvertAndCopy< unsigned char > | ( | std::string const & | valuestring, |
| void * | targetaddr | ||
| ) |
Definition at line 1378 of file ConfigurableParam.cxx.
| ConfigurableParam::EParamUpdateStatus o2::conf::Copy | ( | void const * | addr, |
| void * | targetaddr | ||
| ) |
Definition at line 1195 of file ConfigurableParam.cxx.
|
inline |
Definition at line 35 of file ConfigurableParamHelper.h.
| std::string o2::conf::g4ScoringWorkerFileName | ( | const std::string & | meshName, |
| int | pid | ||
| ) |
Name of the Geant4 scoring dump written by one simulation worker.
Definition at line 81 of file G4ScoringMerger.cxx.
| T o2::conf::GetFromMacro | ( | const std::string & | file, |
| const std::string & | funcname, | ||
| const std::string & | type, | ||
| const std::string & | unique | ||
| ) |
tweak the string to get the required global function
load macro is global function is not already defined
check the return type matches the required one
process function and retrieve pointer to the returned type
success
Definition at line 30 of file ConfigurationMacroHelper.h.
| std::string o2::conf::getLiteralSuffixFromType | ( | const std::type_info & | type | ) |
Definition at line 102 of file ConfigurableParam.cxx.
|
inline |
Definition at line 382 of file ConfigurableParamHelper.h.
|
inline |
Definition at line 387 of file ConfigurableParamHelper.h.
| bool o2::conf::isMemblockDifferent | ( | void const * | block1, |
| void const * | block2 | ||
| ) |
Definition at line 1181 of file ConfigurableParam.cxx.
| T o2::conf::JITAndEvalFunction | ( | const std::string & | functiondecl, |
| const std::string & | funcname, | ||
| const std::string & | type, | ||
| const std::string & | unique | ||
| ) |
interpret and execute a function and retrieve pointer to the returned type
Definition at line 78 of file ConfigurationMacroHelper.h.
| bool o2::conf::keyInTree | ( | boost::property_tree::ptree * | pt, |
| const std::string & | key | ||
| ) |
Definition at line 87 of file ConfigurableParam.cxx.
| int o2::conf::mergeG4ScoringDumps | ( | const std::string & | directory, |
| int | expectedWorkers = 0 |
||
| ) |
Sum the per-worker Geant4 scoring dumps <mesh>.worker<pid>.txt in a directory into <mesh>.txt. If expectedWorkers > 0, each mesh must have exactly that many dumps. Returns the number of merged meshes, or -1 if the worker files are inconsistent.
Definition at line 86 of file G4ScoringMerger.cxx.
| std::ostream & o2::conf::operator<< | ( | std::ostream & | out, |
| ConfigurableParam const & | param | ||
| ) |
Definition at line 80 of file ConfigurableParam.cxx.
| bool o2::conf::parseDetectorMapfromJSON | ( | const std::string & | path, |
| DetectorMap_t & | map | ||
| ) |
Definition at line 22 of file DetectorLists.cxx.
| bool o2::conf::parseSimReconfigFromString | ( | std::string const & | argumentstring, |
| SimReconfigData & | config | ||
| ) |
Definition at line 545 of file SimConfig.cxx.
| void o2::conf::printDetMap | ( | const DetectorMap_t & | map, |
| const std::string & | list = "" |
||
| ) |
Definition at line 60 of file DetectorLists.cxx.
| void o2::conf::unsupp | ( | ) |
Definition at line 1178 of file ConfigurableParam.cxx.
|
inlineconstexpr |
Definition at line 166 of file ConfigurableParam.h.