CbmRoot
Loading...
Searching...
No Matches
cbm::algo::Options Class Reference

#include <Options.h>

Collaboration diagram for cbm::algo::Options:
[legend]

Public Member Functions

 Options ()=default
 
 Options (int argc, char **argv)
 
fs::path ParamsDir () const
 
const std::string & InputLocator () const
 
fs::path OutputFile () const
 
severity_level LogLevel () const
 
fs::path LogFile () const
 
const std::string & Device () const
 
const std::string & MonitorUri () const
 
const std::string & HistogramUri () const
 
const int32_t & HistogramHwm () const
 
bool CollectAuxData () const
 
const bool & CompressHistograms () const
 
bool CollectKernelTimes () const
 
ProfilingLevel Profiling () const
 
fs::path TimingsFile () const
 
int NumTimeslices () const
 
int SkipTimeslices () const
 
std::optional< int > NumOMPThreads () const
 
const std::string & ChildId () const
 
uint64_t RunId () const
 
uint64_t RunStart () const
 
bool DumpArchive () const
 
bool ReleaseMode () const
 
const std::vector< Step > & Steps () const
 
const std::vector< RecoData > & OutputTypes () const
 
bool HasOutput (RecoData recoData) const
 
bool CompressArchive () const
 
const std::vector< fles::Subsystem > & Detectors () const
 
bool Has (fles::Subsystem detector) const
 
bool Has (Step step) const
 
bool Has (QaStep qastep) const
 

Private Attributes

std::string fParamsDir
 
std::string fInputLocator
 
std::string fOutputFile
 
severity_level fLogLevel
 
std::string fLogFile
 
std::string fDevice
 
std::string fMonitorUri
 
std::string fHistogramUri
 
int32_t fHistogramHwm
 
bool fCompressHistograms = false
 
std::vector< QaStepfQaSteps
 
bool fDumpArchive = false
 
bool fReleaseMode = false
 
ProfilingLevel fProfilingLevel = ProfilingNone
 
std::string fTimingsFile
 
int fNumTimeslices = -1
 
int fSkipTimeslices = 0
 
int fNumOMPThreads = -1
 
std::vector< StepfRecoSteps
 
std::vector< RecoDatafOutputTypes
 
bool fCompressArchive = false
 
std::vector< fles::Subsystem > fDetectors
 
std::string fChildId = "00"
 
uint64_t fRunId = 2391
 
uint64_t fRunStartTime = 0
 
bool fCollectAuxData = false
 

Detailed Description

Definition at line 19 of file algo/base/Options.h.

Constructor & Destructor Documentation

◆ Options() [1/2]

cbm::algo::Options::Options ( )
default

◆ Options() [2/2]

Member Function Documentation

◆ ChildId()

◆ CollectAuxData()

bool cbm::algo::Options::CollectAuxData ( ) const
inline

Definition at line 36 of file algo/base/Options.h.

References fCollectAuxData.

Referenced by cbm::algo::Reco::Init().

◆ CollectKernelTimes()

bool cbm::algo::Options::CollectKernelTimes ( ) const
inline

Definition at line 38 of file algo/base/Options.h.

References fProfilingLevel, and cbm::algo::ProfilingNone.

Referenced by main().

◆ CompressArchive()

bool cbm::algo::Options::CompressArchive ( ) const
inline

Definition at line 61 of file algo/base/Options.h.

References fCompressArchive.

Referenced by main(), and cbm::algo::Reco::Validate().

◆ CompressHistograms()

const bool & cbm::algo::Options::CompressHistograms ( ) const
inline

Definition at line 37 of file algo/base/Options.h.

References fCompressHistograms.

◆ Detectors()

const std::vector< fles::Subsystem > & cbm::algo::Options::Detectors ( ) const
inline

Definition at line 63 of file algo/base/Options.h.

References fDetectors.

◆ Device()

const std::string & cbm::algo::Options::Device ( ) const
inline

Definition at line 32 of file algo/base/Options.h.

References fDevice.

Referenced by main().

◆ DumpArchive()

bool cbm::algo::Options::DumpArchive ( ) const
inline

Definition at line 53 of file algo/base/Options.h.

References fDumpArchive.

Referenced by dumpArchive().

◆ Has() [1/3]

bool Options::Has ( fles::Subsystem detector) const

Definition at line 153 of file algo/base/Options.cxx.

References cbm::Contains(), and fDetectors.

Referenced by cbm::algo::TrackingChain::Init(), and cbm::algo::Reco::Validate().

◆ Has() [2/3]

bool Options::Has ( QaStep qastep) const

Definition at line 157 of file algo/base/Options.cxx.

References cbm::Contains(), and fQaSteps.

◆ Has() [3/3]

bool Options::Has ( Step step) const

Definition at line 155 of file algo/base/Options.cxx.

References cbm::Contains(), and fRecoSteps.

◆ HasOutput()

bool Options::HasOutput ( RecoData recoData) const

Definition at line 151 of file algo/base/Options.cxx.

References cbm::Contains(), and fOutputTypes.

Referenced by cbm::algo::Reco::Run().

◆ HistogramHwm()

const int32_t & cbm::algo::Options::HistogramHwm ( ) const
inline

Definition at line 35 of file algo/base/Options.h.

References fHistogramHwm.

◆ HistogramUri()

const std::string & cbm::algo::Options::HistogramUri ( ) const
inline

Definition at line 34 of file algo/base/Options.h.

References fHistogramUri.

◆ InputLocator()

const std::string & cbm::algo::Options::InputLocator ( ) const
inline

Definition at line 26 of file algo/base/Options.h.

References fInputLocator.

Referenced by dumpArchive(), and main().

◆ LogFile()

fs::path cbm::algo::Options::LogFile ( ) const
inline

Definition at line 31 of file algo/base/Options.h.

References fLogFile.

Referenced by main().

◆ LogLevel()

severity_level cbm::algo::Options::LogLevel ( ) const
inline

Definition at line 29 of file algo/base/Options.h.

References fLogLevel.

Referenced by main().

◆ MonitorUri()

const std::string & cbm::algo::Options::MonitorUri ( ) const
inline

Definition at line 33 of file algo/base/Options.h.

References fMonitorUri.

Referenced by cbm::algo::Reco::Init().

◆ NumOMPThreads()

std::optional< int > cbm::algo::Options::NumOMPThreads ( ) const
inline

Definition at line 44 of file algo/base/Options.h.

References fNumOMPThreads.

Referenced by main().

◆ NumTimeslices()

int cbm::algo::Options::NumTimeslices ( ) const
inline

Definition at line 41 of file algo/base/Options.h.

References fNumTimeslices.

Referenced by main().

◆ OutputFile()

fs::path cbm::algo::Options::OutputFile ( ) const
inline

Definition at line 27 of file algo/base/Options.h.

References fOutputFile.

Referenced by main(), and cbm::algo::Reco::Validate().

◆ OutputTypes()

const std::vector< RecoData > & cbm::algo::Options::OutputTypes ( ) const
inline

Definition at line 58 of file algo/base/Options.h.

References fOutputTypes.

Referenced by cbm::algo::Reco::Validate().

◆ ParamsDir()

fs::path cbm::algo::Options::ParamsDir ( ) const
inline

◆ Profiling()

ProfilingLevel cbm::algo::Options::Profiling ( ) const
inline

Definition at line 39 of file algo/base/Options.h.

References fProfilingLevel.

◆ ReleaseMode()

bool cbm::algo::Options::ReleaseMode ( ) const
inline

Definition at line 54 of file algo/base/Options.h.

References fReleaseMode.

Referenced by main().

◆ RunId()

uint64_t cbm::algo::Options::RunId ( ) const
inline

Definition at line 51 of file algo/base/Options.h.

References fRunId.

Referenced by cbm::algo::Reco::Init().

◆ RunStart()

uint64_t cbm::algo::Options::RunStart ( ) const
inline

Definition at line 52 of file algo/base/Options.h.

References fRunStartTime.

Referenced by cbm::algo::Reco::Init().

◆ SkipTimeslices()

int cbm::algo::Options::SkipTimeslices ( ) const
inline

Definition at line 42 of file algo/base/Options.h.

References fSkipTimeslices.

Referenced by main().

◆ Steps()

const std::vector< Step > & cbm::algo::Options::Steps ( ) const
inline

Definition at line 56 of file algo/base/Options.h.

References fRecoSteps.

◆ TimingsFile()

fs::path cbm::algo::Options::TimingsFile ( ) const
inline

Definition at line 40 of file algo/base/Options.h.

References fTimingsFile.

Member Data Documentation

◆ fChildId

std::string cbm::algo::Options::fChildId = "00"
private

Definition at line 96 of file algo/base/Options.h.

Referenced by ChildId(), and Options().

◆ fCollectAuxData

bool cbm::algo::Options::fCollectAuxData = false
private

Definition at line 99 of file algo/base/Options.h.

Referenced by CollectAuxData(), and Options().

◆ fCompressArchive

bool cbm::algo::Options::fCompressArchive = false
private

Definition at line 94 of file algo/base/Options.h.

Referenced by CompressArchive(), and Options().

◆ fCompressHistograms

bool cbm::algo::Options::fCompressHistograms = false
private

Definition at line 83 of file algo/base/Options.h.

Referenced by CompressHistograms(), and Options().

◆ fDetectors

std::vector<fles::Subsystem> cbm::algo::Options::fDetectors
private

Definition at line 95 of file algo/base/Options.h.

Referenced by Detectors(), Has(), and Options().

◆ fDevice

std::string cbm::algo::Options::fDevice
private

Definition at line 79 of file algo/base/Options.h.

Referenced by Device(), and Options().

◆ fDumpArchive

bool cbm::algo::Options::fDumpArchive = false
private

Definition at line 85 of file algo/base/Options.h.

Referenced by DumpArchive(), and Options().

◆ fHistogramHwm

int32_t cbm::algo::Options::fHistogramHwm
private

Definition at line 82 of file algo/base/Options.h.

Referenced by HistogramHwm(), and Options().

◆ fHistogramUri

std::string cbm::algo::Options::fHistogramUri
private

Definition at line 81 of file algo/base/Options.h.

Referenced by HistogramUri(), and Options().

◆ fInputLocator

std::string cbm::algo::Options::fInputLocator
private

Definition at line 73 of file algo/base/Options.h.

Referenced by InputLocator(), and Options().

◆ fLogFile

std::string cbm::algo::Options::fLogFile
private

Definition at line 78 of file algo/base/Options.h.

Referenced by LogFile(), and Options().

◆ fLogLevel

severity_level cbm::algo::Options::fLogLevel
private

Definition at line 76 of file algo/base/Options.h.

Referenced by LogLevel(), and Options().

◆ fMonitorUri

std::string cbm::algo::Options::fMonitorUri
private

Definition at line 80 of file algo/base/Options.h.

Referenced by MonitorUri(), and Options().

◆ fNumOMPThreads

int cbm::algo::Options::fNumOMPThreads = -1
private

Definition at line 91 of file algo/base/Options.h.

Referenced by NumOMPThreads(), and Options().

◆ fNumTimeslices

int cbm::algo::Options::fNumTimeslices = -1
private

Definition at line 89 of file algo/base/Options.h.

Referenced by NumTimeslices(), and Options().

◆ fOutputFile

std::string cbm::algo::Options::fOutputFile
private

Definition at line 74 of file algo/base/Options.h.

Referenced by Options(), and OutputFile().

◆ fOutputTypes

std::vector<RecoData> cbm::algo::Options::fOutputTypes
private

Definition at line 93 of file algo/base/Options.h.

Referenced by HasOutput(), Options(), and OutputTypes().

◆ fParamsDir

std::string cbm::algo::Options::fParamsDir
private

Definition at line 72 of file algo/base/Options.h.

Referenced by Options(), and ParamsDir().

◆ fProfilingLevel

ProfilingLevel cbm::algo::Options::fProfilingLevel = ProfilingNone
private

Definition at line 87 of file algo/base/Options.h.

Referenced by CollectKernelTimes(), Options(), and Profiling().

◆ fQaSteps

std::vector<QaStep> cbm::algo::Options::fQaSteps
private

Definition at line 84 of file algo/base/Options.h.

Referenced by Has(), and Options().

◆ fRecoSteps

std::vector<Step> cbm::algo::Options::fRecoSteps
private

Definition at line 92 of file algo/base/Options.h.

Referenced by Has(), Options(), and Steps().

◆ fReleaseMode

bool cbm::algo::Options::fReleaseMode = false
private

Definition at line 86 of file algo/base/Options.h.

Referenced by Options(), and ReleaseMode().

◆ fRunId

uint64_t cbm::algo::Options::fRunId = 2391
private

Definition at line 97 of file algo/base/Options.h.

Referenced by Options(), and RunId().

◆ fRunStartTime

uint64_t cbm::algo::Options::fRunStartTime = 0
private

Definition at line 98 of file algo/base/Options.h.

Referenced by Options(), and RunStart().

◆ fSkipTimeslices

int cbm::algo::Options::fSkipTimeslices = 0
private

Definition at line 90 of file algo/base/Options.h.

Referenced by Options(), and SkipTimeslices().

◆ fTimingsFile

std::string cbm::algo::Options::fTimingsFile
private

Definition at line 88 of file algo/base/Options.h.

Referenced by Options(), and TimingsFile().


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