CbmRoot
|
#include "CbmDefs.h"
#include <algorithm>
#include <array>
#include <cctype>
#include <ostream>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
namespace | cbm |
namespace | cbm::algo |
namespace | cbm::algo::ca |
TODO: SZh 8.11.2022: add selection of parameterisation. | |
Functions | |
ECbmModuleId & | operator++ (ECbmModuleId &e) |
std::ostream & | operator<< (std::ostream &strm, const ECbmModuleId &modId) |
std::string | ToString (ECbmModuleId modId) |
ECbmModuleId | ToCbmModuleId (std::string modIdStr) |
ECbmModuleId | ToCbmModuleIdCaseInsensitive (std::string modIdStr) |
std::ostream & | operator<< (std::ostream &strm, const ECbmDataType &dataType) |
ECbmModuleId | cbm::algo::ca::ToCbmModuleId (EDetectorID detID) |
Conversion map from EDetectorID to ECbmModuleId. | |
EDetectorID | cbm::algo::ca::ToCaDetectorID (ECbmModuleId modId) |
Conversion map from EDetectorID to ECbmModuleId. | |
Variables | |
static const std::array< std::pair< ECbmModuleId, std::string >, 23 > | ModIdStrMap |
ECbmModuleId & operator++ | ( | ECbmModuleId & | e | ) |
Definition at line 24 of file CbmDefs.cxx.
References kLastModule, kMagnet, and kNofSystems.
std::ostream & operator<< | ( | std::ostream & | strm, |
const ECbmDataType & | dataType ) |
Definition at line 100 of file CbmDefs.cxx.
References ToIntegralType().
std::ostream & operator<< | ( | std::ostream & | strm, |
const ECbmModuleId & | modId ) |
Definition at line 38 of file CbmDefs.cxx.
References ToIntegralType().
ECbmModuleId ToCbmModuleId | ( | std::string | modIdStr | ) |
Definition at line 78 of file CbmDefs.cxx.
References kNotExist, and ModIdStrMap.
ECbmModuleId ToCbmModuleIdCaseInsensitive | ( | std::string | modIdStr | ) |
Definition at line 86 of file CbmDefs.cxx.
References ModIdStrMap.
Referenced by cbm::algo::evbuild::DigiEventSelectorConfig::DigiEventSelectorConfig(), cbm::algo::evbuild::DigiTriggerConfig::DigiTriggerConfig(), cbm::algo::evbuild::EventBuilderConfig::EventBuilderConfig(), and cbm::algo::MainConfig::LoadYaml().
std::string ToString | ( | ECbmModuleId | modId | ) |
Definition at line 70 of file CbmDefs.cxx.
References ModIdStrMap.
Referenced by cbm::kf::TrackingSetupBuilder::CheckDetectorPresence(), cbm::reco::offline::Run::CheckDigiBranch(), cbm::atconverter::Run::CheckRecoBranch(), CbmTaskDigiEventQa::Config(), CbmLitFieldApproximationQa::CreateFieldHistos(), CbmLitFieldApproximationQa::CreateFitterHistos(), CbmLitFieldApproximationQa::CreateGridHistos(), CbmLitRadLengthQa::CreateHistograms(), CbmLitFieldQa::CreateHistos(), CbmTaskBuildEvents::Exec(), CbmLitFieldApproximationQa::FillBHistos(), CbmLitFieldQa::FillBHistos(), CbmConverterManager::FillDataHeader(), CbmLitFieldApproximationQa::FillFieldApproximationHistos(), CbmLitFieldApproximationQa::FillGridCreatorHistos(), CbmLitRadLengthQa::FillHistosDetector(), CbmTaskBuildEvents::Finish(), CbmTaskDigiEventQa::Finish(), CbmTaskBuildEvents::Init(), CbmTaskTriggerDigi::Init(), and cbm::algo::ca::Parameters< DataT >::Print().
|
static |
Definition at line 45 of file CbmDefs.cxx.
Referenced by ToCbmModuleId(), ToCbmModuleIdCaseInsensitive(), and ToString().