CbmRoot
Loading...
Searching...
No Matches
cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum > Class Template Reference

#include <CaObjectInitController.h>

Inheritance diagram for cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >:
[legend]

Public Member Functions

bool GetFlag (InitKeyEnum bitKey) const
 
bool IsFinalized () const
 Checks, if the object is finalized, i.e. all its fields were set up.
 
void SetFlag (InitKeyEnum bitKey, bool newStatus=true)
 
std::string ToString (int indentLevel=0) const
 

Private Attributes

std::bitset< NumberOfFlags > fInitFlags {}
 object of flags sets
 

Detailed Description

template<int NumberOfFlags, class InitKeyEnum>
class cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >

ObjectInitController is a class, which provides flags system and functionality needed for L1 algorithm objects initialization

ObjectInitController is a class, which provides flags system and functionality needed for L1 algorithm objects initialization

Definition at line 30 of file CaObjectInitController.h.

Member Function Documentation

◆ GetFlag()

◆ IsFinalized()

template<int NumberOfFlags, class InitKeyEnum >
bool cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::IsFinalized ( ) const
inline

◆ SetFlag()

template<int NumberOfFlags, class InitKeyEnum >
void cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::SetFlag ( InitKeyEnum bitKey,
bool newStatus = true )

Sets an initialization status of the flag placed at bitIndex

Parameters
bitIndexindex of bit
newStatusflag value (true is default)

Definition at line 67 of file CaObjectInitController.h.

Referenced by cbm::algo::ca::InitManager::CheckCAIterationsInit(), cbm::algo::ca::InitManager::CheckStationsInfoInit(), cbm::algo::ca::InitManager::ClearCAIterations(), cbm::algo::ca::InitManager::ClearSetupInfo(), cbm::algo::ca::InitManager::ClearStationLayout(), cbm::algo::ca::InitManager::FormParametersContainer(), cbm::algo::ca::InitManager::InitStationLayout(), cbm::algo::ca::InitManager::InitTargetField(), cbm::algo::ca::InitManager::ReadParametersObject(), cbm::algo::ca::InitManager::ReadSearchWindows(), cbm::algo::ca::InitManager::SetCAIterationsNumberCrosscheck(), cbm::algo::ca::StationInitializer::SetDetectorID(), cbm::algo::ca::InitManager::SetFieldFunction(), cbm::algo::ca::StationInitializer::SetFieldFunction(), cbm::algo::ca::StationInitializer::SetFieldStatus(), cbm::algo::ca::StationInitializer::SetGeoLayerID(), cbm::algo::ca::InitManager::SetGeometrySetup(), cbm::algo::ca::InitManager::SetGhostSuppression(), cbm::algo::ca::InitManager::SetRandomSeed(), cbm::algo::ca::StationInitializer::SetStationID(), cbm::algo::ca::StationInitializer::SetStationType(), cbm::algo::ca::InitManager::SetTargetPosition(), cbm::algo::ca::StationInitializer::SetTimeInfo(), cbm::algo::ca::StationInitializer::SetTrackingStatus(), cbm::algo::ca::StationInitializer::SetXmax(), cbm::algo::ca::StationInitializer::SetYmax(), cbm::algo::ca::StationInitializer::SetZmax(), cbm::algo::ca::StationInitializer::SetZmin(), and cbm::algo::ca::StationInitializer::SetZref().

◆ ToString()

template<int NumberOfFlags, class InitKeyEnum >
std::string cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::ToString ( int indentLevel = 0) const

String representation of initialization flags contents

Parameters
indentLevelnumber of indent charachets int output

Definition at line 81 of file CaObjectInitController.h.

Referenced by cbm::algo::ca::InitManager::FormParametersContainer().

Member Data Documentation

◆ fInitFlags

template<int NumberOfFlags, class InitKeyEnum >
std::bitset<NumberOfFlags> cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::fInitFlags {}
private

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