CbmRoot
|
#include <CaObjectInitController.h>
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 | |
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.
bool cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::GetFlag | ( | InitKeyEnum | bitKey | ) | const |
Gets an initialization status of the flag placed at bitIndex
bitIndex | index of bit |
Definition at line 53 of file CaObjectInitController.h.
Referenced by cbm::algo::ca::InitManager::CheckCAIterationsInit(), cbm::algo::ca::InitManager::CheckStationsInfoInit(), cbm::algo::ca::InitManager::GetNstationsActive(), cbm::algo::ca::InitManager::GetNstationsActive(), cbm::algo::ca::InitManager::GetNstationsGeometry(), cbm::algo::ca::InitManager::GetNstationsGeometry(), cbm::algo::ca::InitManager::GetStationInfo(), cbm::algo::ca::InitManager::InitTargetField(), cbm::algo::ca::InitManager::PushBackCAIteration(), cbm::algo::ca::StationInitializer::SetDetectorID(), cbm::algo::ca::InitManager::SetFieldFunction(), cbm::algo::ca::StationInitializer::SetFieldFunction(), 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(), and cbm::algo::ca::InitManager::SetTargetPosition().
|
inline |
Checks, if the object is finalized, i.e. all its fields were set up.
Definition at line 36 of file CaObjectInitController.h.
References cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::fInitFlags.
Referenced by cbm::algo::ca::InitManager::FormParametersContainer(), and cbm::algo::ca::StationInitializer::GetStation().
void cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::SetFlag | ( | InitKeyEnum | bitKey, |
bool | newStatus = true ) |
Sets an initialization status of the flag placed at bitIndex
bitIndex | index of bit |
newStatus | flag 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().
std::string cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::ToString | ( | int | indentLevel = 0 | ) | const |
String representation of initialization flags contents
indentLevel | number of indent charachets int output |
Definition at line 81 of file CaObjectInitController.h.
Referenced by cbm::algo::ca::InitManager::FormParametersContainer().
|
private |
object of flags sets
Definition at line 46 of file CaObjectInitController.h.
Referenced by cbm::algo::ca::ObjectInitController< NumberOfFlags, InitKeyEnum >::IsFinalized().