Go to the documentation of this file.
6 #ifndef CBMGEOSETUPPROVIDER_H
7 #define CBMGEOSETUPPROVIDER_H 1
73 std::string revision) = 0;
84 virtual void LoadSetup(std::string setupTag, std::string revision =
"") = 0;
void SetModuleTag(ECbmModuleId moduleId, std::string tag, Bool_t active)
Loads the detector with a tag into setup, will invoke GetModuleByTag.
CbmGeoSetupModule GetDefaultCaveModule()
Gets defauk cave if none was provided by the other means.
ClassDef(CbmGeoSetupProvider, 1)
underlying geometry setup representation.
virtual CbmGeoSetupMedia GetMediaByTag(std::string tag)=0
Abstract method for constructing the media by tag.
virtual std::vector< std::string > GetSetupTags()=0
Abstract method to get the list of setup tags.
CbmGeoSetup & GetSetup()
Direct access to underlying geometry setup representation. Allows for fine-tuning of parameters,...
virtual ~CbmGeoSetupProvider()=default
Default destructor is necessary.
virtual CbmGeoSetup GetSetupByTag(std::string setupTag, std::string revision)=0
Abstract method for constructing the setup by id and tag.
virtual CbmGeoSetupField GetFieldByTag(std::string tag)=0
Abstract method for constructing the field by tag.
void SetFieldTag(std::string tag)
Loads the field with a tag and adds it to the setup.
Data transfer object to represent the CBM Detector setup.
void RemoveModule(ECbmModuleId moduleId)
Removes the module from setup.
virtual std::vector< std::string > GetFieldTags()=0
Abstract method to get the list of field tags.
void Reset()
Resets the setup to default (empty)
virtual std::vector< std::string > GetMediaTags()=0
Abstract method to get the list of media tags.
virtual void LoadSetup(std::string setupTag, std::string revision="")=0
Abstract method to load the setup with a tag and revision version.
Abstract interface class for providing the CBM detector setup description, module list,...
void RegisterSetup()
Registers the previously loaded setup with FairRoot. Replaces the registerSetup.C macro.
virtual CbmGeoSetupModule GetModuleByTag(ECbmModuleId moduleId, std::string tag)=0
Abstract method for constructing the module by id and tag.