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

#include <CbmTransportConfig.h>

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

Public Types

using TagSet_t = CbmConfigBase<CbmTransportConfig, CbmTransport>::TagSet_t
 

Public Member Functions

 ClassDef (CbmTransportConfig, 1)
 

Static Public Member Functions

static std::string GetModuleTag ()
 
static TagSet_t GetValidationTags ()
 
static TagSet_t GetAcceptedGenerators ()
 
static bool LoadImpl (CbmTransport &obj, const pt::ptree &moduleTree)
 
static bool SetIO (CbmTransport &obj, const pt::ptree &moduleTree)
 
static bool SetTarget (CbmTransport &obj, const pt::ptree &moduleTree)
 
static bool SetBeamProfile (CbmTransport &obj, const pt::ptree &moduleTree)
 
static bool SetTransportParameters (CbmTransport &obj, const pt::ptree &moduleTree)
 
static bool SetGeometry (CbmTransport &obj, const pt::ptree &moduleTree)
 
static bool SetGeometry (CbmSetup *setup, const pt::ptree &moduleTree)
 
static bool SetStackFilter (CbmTransport &obj, const pt::ptree &moduleTree)
 
static bool Load (CbmTransport &obj, const std::string &path)
 
static bool Load (CbmTransport &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 12 of file CbmTransportConfig.h.

Member Typedef Documentation

◆ TagSet_t

Member Function Documentation

◆ ClassDef()

CbmTransportConfig::ClassDef ( CbmTransportConfig ,
1  )

◆ GetAcceptedGenerators()

CbmTransportConfig::TagSet_t CbmTransportConfig::GetAcceptedGenerators ( )
static

Definition at line 80 of file CbmTransportConfig.cxx.

Referenced by SetIO().

◆ GetModuleTag()

string CbmTransportConfig::GetModuleTag ( )
static

Definition at line 14 of file CbmTransportConfig.cxx.

◆ GetStringValue() [1/2]

static std::string CbmConfigBase< CbmTransportConfig, CbmTransport >::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< CbmTransportConfig, CbmTransport >::GetStringValue ( pt::ptree tree,
std::string key,
std::string fallback )
inlinestaticinherited

Definition at line 141 of file CbmConfigBase.h.

◆ GetValidationTags()

CbmTransportConfig::TagSet_t CbmTransportConfig::GetValidationTags ( )
static

Definition at line 16 of file CbmTransportConfig.cxx.

◆ Load() [1/2]

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

Definition at line 42 of file CbmConfigBase.h.

◆ Load() [2/2]

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

Definition at line 34 of file CbmConfigBase.h.

◆ LoadFromFile()

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

Definition at line 55 of file CbmConfigBase.h.

◆ LoadImpl()

bool CbmTransportConfig::LoadImpl ( CbmTransport & obj,
const pt::ptree & moduleTree )
static

◆ ParseString()

static std::string CbmConfigBase< CbmTransportConfig, CbmTransport >::ParseString ( std::string s)
inlinestaticinherited

Definition at line 146 of file CbmConfigBase.h.

◆ ParseTree()

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

Definition at line 84 of file CbmConfigBase.h.

◆ PrintAvailableTags()

static void CbmConfigBase< CbmTransportConfig, CbmTransport >::PrintAvailableTags ( )
inlinestaticinherited

Definition at line 109 of file CbmConfigBase.h.

◆ SetBeamProfile()

bool CbmTransportConfig::SetBeamProfile ( CbmTransport & obj,
const pt::ptree & moduleTree )
static

Definition at line 202 of file CbmTransportConfig.cxx.

References CbmTransport::SetBeamAngle(), and CbmTransport::SetBeamPosition().

Referenced by LoadImpl().

◆ SetGeometry() [1/2]

bool CbmTransportConfig::SetGeometry ( CbmSetup * setup,
const pt::ptree & moduleTree )
static

◆ SetGeometry() [2/2]

bool CbmTransportConfig::SetGeometry ( CbmTransport & obj,
const pt::ptree & moduleTree )
static

Definition at line 290 of file CbmTransportConfig.cxx.

References CbmTransport::GetSetup(), and SetGeometry().

Referenced by LoadImpl(), and SetGeometry().

◆ SetIO()

◆ SetLogLevel()

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

Definition at line 161 of file CbmConfigBase.h.

◆ SetStackFilter()

bool CbmTransportConfig::SetStackFilter ( CbmTransport & obj,
const pt::ptree & moduleTree )
static

Definition at line 333 of file CbmTransportConfig.cxx.

References CbmTransport::GetStackFilter().

Referenced by LoadImpl().

◆ SetTarget()

bool CbmTransportConfig::SetTarget ( CbmTransport & obj,
const pt::ptree & moduleTree )
static

Definition at line 169 of file CbmTransportConfig.cxx.

References CbmTransport::SetTarget(), x, and y.

Referenced by LoadImpl().

◆ SetTransportParameters()

bool CbmTransportConfig::SetTransportParameters ( CbmTransport & obj,
const pt::ptree & moduleTree )
static

◆ stringToECbmModuleId()

static ECbmModuleId CbmConfigBase< CbmTransportConfig, CbmTransport >::stringToECbmModuleId ( std::string s)
inlinestaticinherited

Definition at line 117 of file CbmConfigBase.h.

Referenced by SetGeometry().

◆ Validate()

static bool CbmConfigBase< CbmTransportConfig, CbmTransport >::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: