CbmRoot
Loading...
Searching...
No Matches
CbmDigitizationConfig Class Reference

#include <CbmDigitizationConfig.h>

Inheritance diagram for CbmDigitizationConfig:
[legend]
Collaboration diagram for CbmDigitizationConfig:
[legend]

Public Types

using TagSet_t = CbmConfigBase<CbmDigitizationConfig, CbmDigitization>::TagSet_t
 

Public Member Functions

 ClassDef (CbmDigitizationConfig, 1)
 

Static Public Member Functions

static std::string GetModuleTag ()
 
static TagSet_t GetValidationTags ()
 
static bool LoadImpl (CbmDigitization &obj, const pt::ptree &moduleTree)
 
static bool SetIO (CbmDigitization &obj, const pt::ptree &moduleTree)
 
static bool SetDigitizationParameters (CbmDigitization &obj, const pt::ptree &moduleTree)
 
static bool SetGeometry (CbmDigitization &obj, const pt::ptree &moduleTree)
 
static bool Load (CbmDigitization &obj, const std::string &path)
 
static bool Load (CbmDigitization &obj, const pt::ptree &tree)
 
static void LoadFromFile (const std::string &path, pt::ptree &tree)
 
static bool Validate (const pt::ptree &tree)
 
static void ParseTree (const pt::ptree &pt, std::string key, TagSet_t &treeSet)
 
static void PrintAvailableTags ()
 
static ECbmModuleId stringToECbmModuleId (std::string s)
 
static std::string GetStringValue (boost::optional< std::string > opt)
 
static std::string GetStringValue (pt::ptree tree, std::string key, std::string fallback)
 
static std::string ParseString (std::string s)
 
static void SetLogLevel (const pt::ptree &moduleTree)
 

Detailed Description

Definition at line 11 of file CbmDigitizationConfig.h.

Member Typedef Documentation

◆ TagSet_t

Member Function Documentation

◆ ClassDef()

CbmDigitizationConfig::ClassDef ( CbmDigitizationConfig ,
1  )

◆ GetModuleTag()

string CbmDigitizationConfig::GetModuleTag ( )
static

Definition at line 11 of file CbmDigitizationConfig.cxx.

◆ GetStringValue() [1/2]

static std::string CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::GetStringValue ( boost::optional< std::string > opt)
inlinestaticinherited

Definition at line 139 of file CbmConfigBase.h.

Referenced by SetIO().

◆ GetStringValue() [2/2]

static std::string CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::GetStringValue ( pt::ptree tree,
std::string key,
std::string fallback )
inlinestaticinherited

Definition at line 141 of file CbmConfigBase.h.

◆ GetValidationTags()

CbmDigitizationConfig::TagSet_t CbmDigitizationConfig::GetValidationTags ( )
static

Definition at line 13 of file CbmDigitizationConfig.cxx.

◆ Load() [1/2]

static bool CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::Load ( CbmDigitization & obj,
const pt::ptree & tree )
inlinestaticinherited

Definition at line 42 of file CbmConfigBase.h.

◆ Load() [2/2]

static bool CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::Load ( CbmDigitization & obj,
const std::string & path )
inlinestaticinherited

Definition at line 34 of file CbmConfigBase.h.

◆ LoadFromFile()

static void CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::LoadFromFile ( const std::string & path,
pt::ptree & tree )
inlinestaticinherited

Definition at line 55 of file CbmConfigBase.h.

◆ LoadImpl()

bool CbmDigitizationConfig::LoadImpl ( CbmDigitization & obj,
const pt::ptree & moduleTree )
static

Definition at line 165 of file CbmDigitizationConfig.cxx.

References SetDigitizationParameters(), SetGeometry(), and SetIO().

◆ ParseString()

static std::string CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::ParseString ( std::string s)
inlinestaticinherited

Definition at line 146 of file CbmConfigBase.h.

◆ ParseTree()

static void CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::ParseTree ( const pt::ptree & pt,
std::string key,
TagSet_t & treeSet )
inlinestaticinherited

Definition at line 84 of file CbmConfigBase.h.

◆ PrintAvailableTags()

static void CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::PrintAvailableTags ( )
inlinestaticinherited

Definition at line 109 of file CbmConfigBase.h.

◆ SetDigitizationParameters()

bool CbmDigitizationConfig::SetDigitizationParameters ( CbmDigitization & obj,
const pt::ptree & moduleTree )
static

◆ SetGeometry()

bool CbmDigitizationConfig::SetGeometry ( CbmDigitization & obj,
const pt::ptree & moduleTree )
static

◆ SetIO()

◆ SetLogLevel()

static void CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::SetLogLevel ( const pt::ptree & moduleTree)
inlinestaticinherited

Definition at line 161 of file CbmConfigBase.h.

◆ stringToECbmModuleId()

static ECbmModuleId CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::stringToECbmModuleId ( std::string s)
inlinestaticinherited

Definition at line 117 of file CbmConfigBase.h.

Referenced by SetGeometry().

◆ Validate()

static bool CbmConfigBase< CbmDigitizationConfig, CbmDigitization >::Validate ( const pt::ptree & tree)
inlinestaticinherited

Definition at line 63 of file CbmConfigBase.h.


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