Project
Loading...
Searching...
No Matches
o2::base::DetectorNameConf Class Reference

#include <DetectorNameConf.h>

Inherits o2::base::NameConf.

Public Member Functions

 ClassDefNV (DetectorNameConf, 0)
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< NameConf >
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 ()
 

Static Public Member Functions

static std::string getHitsFileName (DId d, const std::string_view prefix=STANDARDSIMPREFIX)
 
static std::string getDigitsFileName (DId d, const std::string_view prefix=STANDARDSIMPREFIX)
 
static std::string getAlpideClusterDictionaryFileName (DId det, const std::string_view prefix="", const std::string_view ext="bin")
 
static std::string getNoiseFileName (DId det, const std::string_view prefix="", const std::string_view ext="")
 
static std::string getAlignmentPath (DId d)
 
- Static Public Member Functions inherited from o2::base::NameConf
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 Public Member Functions inherited from o2::conf::ConfigurableParamHelper< NameConf >
static const NameConf & Instance ()
 
- Static Public Member Functions inherited from o2::conf::ConfigurableParam
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 &paramsList="", bool unchangedOnly=false)
 

Additional Inherited Members

- Public Types inherited from o2::conf::ConfigurableParam
enum  EParamProvenance { kCODE , kCCDB , kRT }
 
enum class  EParamUpdateStatus { Changed , Unchanged , Failed }
 
- Static Public Attributes inherited from o2::base::NameConf
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 inherited from o2::base::NameConf
 O2ParamDef (NameConf, "NameConf")
 
- Protected Member Functions inherited from o2::conf::ConfigurableParam
 ConfigurableParam ()
 
virtual ~ConfigurableParam ()=default
 
void setRegisterMode (bool b)
 
bool isInitialized () const
 
- Static Protected Member Functions inherited from o2::base::NameConf
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 Protected Member Functions inherited from o2::conf::ConfigurableParam
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 inherited from o2::base::NameConf
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 inherited from o2::base::NameConf
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 Protected Attributes inherited from o2::conf::ConfigurableParam
static std::map< std::string, std::pair< std::type_info const &, void * > > * sKeyToStorageMap = nullptr
 
static std::map< std::string, ConfigurableParam::EParamProvenance > * sValueProvenanceMap = nullptr
 
static EnumRegistrysEnumRegistry = nullptr
 
static std::string sOutputDir = ""
 

Detailed Description

Definition at line 26 of file DetectorNameConf.h.

Member Function Documentation

◆ ClassDefNV()

o2::base::DetectorNameConf::ClassDefNV ( DetectorNameConf  ,
 
)

◆ getAlignmentPath()

static std::string o2::base::DetectorNameConf::getAlignmentPath ( DId  d)
inlinestatic

Definition at line 50 of file DetectorNameConf.h.

◆ getAlpideClusterDictionaryFileName()

std::string DetectorNameConf::getAlpideClusterDictionaryFileName ( DetectorNameConf::DId  det,
const std::string_view  prefix = "",
const std::string_view  ext = "bin" 
)
static

Definition at line 19 of file DetectorNameConf.cxx.

◆ getDigitsFileName()

static std::string o2::base::DetectorNameConf::getDigitsFileName ( DId  d,
const std::string_view  prefix = STANDARDSIMPREFIX 
)
inlinestatic

Definition at line 38 of file DetectorNameConf.h.

◆ getHitsFileName()

static std::string o2::base::DetectorNameConf::getHitsFileName ( DId  d,
const std::string_view  prefix = STANDARDSIMPREFIX 
)
inlinestatic

Definition at line 32 of file DetectorNameConf.h.

◆ getNoiseFileName()

std::string DetectorNameConf::getNoiseFileName ( DetectorNameConf::DId  det,
const std::string_view  prefix = "",
const std::string_view  ext = "" 
)
static

Definition at line 25 of file DetectorNameConf.cxx.


The documentation for this class was generated from the following files: