53 virtual void Clear(Option_t* opt =
"");
163 void SetField(
const char* tag, Double_t scale = 1., Double_t xPos = 0., Double_t yPos = 0., Double_t zPos = 0.);
241 fProviderRepo = new CbmGeoSetupRepoProvider(*(rhs.fProviderRepo));
254 if (
nullptr == ptrRepoProv) {
257 if (
nullptr != ptrDbProv) {
Setup provider with database functionality.
void SetScale(Double_t value)
Abstract interface class for providing the CBM detector setup description, module list,...
CbmGeoSetup & GetSetup()
Direct access to underlying geometry setup representation. Allows for fine-tuning of parameters,...
void RegisterSetup()
Registers the previously loaded setup with FairRoot. Replaces the registerSetup.C macro.
virtual void LoadSetup(std::string setupTag, std::string revision="")=0
Abstract method to load the setup with a tag and revision version.
Setup provider with local (svn) repository functionality.
CbmGeoSetupField & GetField()
CbmGeoSetupMedia & GetMedia()
std::map< ECbmModuleId, CbmGeoSetupModule > & GetModuleMap()
CbmSetupStorable(CbmSetup *rawSetup)
CbmSetupStorable(const CbmSetupStorable &rhs)
CbmGeoSetupDbProvider * fProviderDb
CbmGeoSetupRepoProvider * GetRepoProvPtr()
CbmGeoSetupRepoProvider * fProviderRepo
ClassDef(CbmSetupStorable, 1)
CbmGeoSetupDbProvider * GetDbProvPtr()
CbmSetup(const CbmSetup &)
std::string GetMediaFilePath()
void SetFieldScale(Double_t scale)
void SetActive(ECbmModuleId moduleId, Bool_t active=kTRUE)
Bool_t GetGeoFileName(ECbmModuleId moduleId, TString &fileName)
void SetMediaFilePath(std::string filePath)
void SetSetupSource(ECbmSetupSource setupSource)
Set the source the setup will be loaded from.
Bool_t IsActive(ECbmModuleId moduleId)
Int_t GetNofModules() const
CbmSetup()
! Setup provider
virtual void Clear(Option_t *opt="")
virtual void Print(Option_t *="") const
Info to screen.
void RemoveModule(ECbmModuleId moduleId)
void SetModule(ECbmModuleId moduleId, const char *geoTag, Bool_t active=kTRUE)
CbmGeoSetupProvider * fProvider
void LoadStoredSetup(CbmSetupStorable *setupIn)
CbmSetup operator=(const CbmSetup &)
std::string ToString() const
Info to string.
CbmFieldMap * CreateFieldMap()
Bool_t GetGeoTag(ECbmModuleId moduleId, TString &tag)
static CbmSetup * Instance()
CbmGeoSetupProvider * GetProvider()
Get the geo setup provider.
void SetProvider(CbmGeoSetupProvider *value)
Set the geo setup provider.
void SetField(const char *tag, Double_t scale=1., Double_t xPos=0., Double_t yPos=0., Double_t zPos=0.)
void LoadSetup(const char *setupName)
static CbmSetup * fgInstance
Pointer to static instance.