CbmRoot
CbmGeoSetupDbProvider.h
Go to the documentation of this file.
1 
6 #ifndef CBMSETUPDBPROVIDER_H
7 #define CBMSETUPDBPROVIDER_H 1
8 
9 #include "CbmDefs.h"
10 #include "CbmGeoSetupProvider.h"
11 
22 public:
23  virtual std::vector<std::string> GetSetupTags();
24  virtual std::vector<std::string> GetFieldTags();
25  virtual std::vector<std::string> GetMediaTags();
26 
27  virtual CbmGeoSetup GetSetupByTag(std::string setupTag, std::string revision);
29  std::string tag);
30  virtual CbmGeoSetupField GetFieldByTag(std::string tag);
31  virtual CbmGeoSetupMedia GetMediaByTag(std::string tag);
32 
33  virtual void LoadSetup(std::string setupTag, std::string revision = "");
34 
35 private:
37 };
38 
39 #endif /* CBMSETUPDBPROVIDER_H */
CbmGeoSetupDbProvider::GetFieldTags
virtual std::vector< std::string > GetFieldTags()
Abstract method to get the list of field tags.
Definition: CbmGeoSetupDbProvider.cxx:121
ECbmModuleId
ECbmModuleId
Definition: CbmDefs.h:33
CbmGeoSetupDbProvider::GetMediaTags
virtual std::vector< std::string > GetMediaTags()
Abstract method to get the list of media tags.
Definition: CbmGeoSetupDbProvider.cxx:125
CbmGeoSetupDbProvider::ClassDef
ClassDef(CbmGeoSetupDbProvider, 1)
CbmGeoSetupDbProvider::LoadSetup
virtual void LoadSetup(std::string setupTag, std::string revision="")
Abstract method to load the setup with a tag and revision version.
Definition: CbmGeoSetupDbProvider.cxx:316
CbmGeoSetupMedia
Definition: CbmGeoSetupMedia.h:19
CbmGeoSetupField
Definition: CbmGeoSetupField.h:21
CbmGeoSetupDbProvider
Setup provider with database functionality.
Definition: CbmGeoSetupDbProvider.h:21
CbmGeoSetupDbProvider::GetFieldByTag
virtual CbmGeoSetupField GetFieldByTag(std::string tag)
Abstract method for constructing the field by tag.
Definition: CbmGeoSetupDbProvider.cxx:245
CbmGeoSetupDbProvider::GetModuleByTag
virtual CbmGeoSetupModule GetModuleByTag(ECbmModuleId moduleId, std::string tag)
Abstract method for constructing the module by id and tag.
Definition: CbmGeoSetupDbProvider.cxx:183
CbmGeoSetup
Data transfer object to represent the CBM Detector setup.
Definition: CbmGeoSetup.h:30
CbmGeoSetupDbProvider::GetSetupByTag
virtual CbmGeoSetup GetSetupByTag(std::string setupTag, std::string revision)
Abstract method for constructing the setup by id and tag.
Definition: CbmGeoSetupDbProvider.cxx:130
CbmGeoSetupModule
Definition: CbmGeoSetupModule.h:22
CbmGeoSetupDbProvider::GetSetupTags
virtual std::vector< std::string > GetSetupTags()
Abstract method to get the list of setup tags.
Definition: CbmGeoSetupDbProvider.cxx:101
CbmGeoSetupProvider.h
CbmGeoSetupProvider
Abstract interface class for providing the CBM detector setup description, module list,...
Definition: CbmGeoSetupProvider.h:26
CbmGeoSetupDbProvider::GetMediaByTag
virtual CbmGeoSetupMedia GetMediaByTag(std::string tag)
Abstract method for constructing the media by tag.
Definition: CbmGeoSetupDbProvider.cxx:285
CbmDefs.h