10#ifndef CbmRecoSetupManager_h
11#define CbmRecoSetupManager_h 1
46 InitStatus
Init()
override;
60 void LoadSetup(
const std::string& filename);
ECbmModuleId
Enumerator for module Identifiers.
A common map for hardware address -> node path in TGeoManager (source)
A collection of reconstruction setup unit interfaces for different CBM subsystems.
RecoSetupManager()
Constructor.
InitStatus ReInit() override
Re-initialization method.
const algo::RecoSetup & GetSetup() const
Setup accessor.
std::shared_ptr< const GeoNodeMap > fGeoNodeMap
A mapper for node address -> path in TGeoManager.
RecoSetupManager(const RecoSetupManager &)=delete
void BuildGeoNodeMaps()
Requests geo-node map building.
RecoSetupManager & operator=(const RecoSetupManager &)=delete
ClassDefOverride(RecoSetupManager, 0)
static RecoSetupManager * Instance()
Instance access.
bool fbInitialized
Flag, if the instance was initialized.
bool IsInitialized() const
Returns initialization status.
~RecoSetupManager()=default
Destructor.
RecoSetupManager(RecoSetupManager &&)=delete
algo::RecoSetup fSetup
Instance of reconstruction setup.
void LoadSetup(const std::string &filename)
Loads setup from a binary file.
void SetParContainers() override
Sets parameter containers for different subsystems.
bool fbBuildGeoNodeMaps
Flag, if to create the geo node map.
std::shared_ptr< const GeoNodeMap > GetGeoNodeMap() const
Access to geo node map.
RecoSetupManager & operator=(RecoSetupManager &&)=delete
bool HasGeoNodeMaps() const
Checks, if the geo node maps were built.
std::string fSetupOutFilename
Output name for the setup (if not empty, the setup is stored)
void StoreSetup(const std::string &filename)
Stores setup to a binary file.
InitStatus Init() override
Initialization method.
bool Has(ECbmModuleId moduleId) const
Checks, if a detector is in setup.
An instance of reconstruction setup unit interfaces for online/offline data reconstruction.