CbmRoot
CbmGeoSetup.h
Go to the documentation of this file.
1 
6 #ifndef CBMSETUPSETUP_H
7 #define CBMSETUPSETUP_H 1
8 
9 #include <Rtypes.h> // for ClassDef
10 #include <RtypesCore.h> // for Int_t
11 
12 #include <map> // for map
13 #include <string> // for string
14 
15 #include "CbmDefs.h" // for ECbmModuleId
16 #include "CbmGeoSetupField.h" // for CbmGeoSetupField
17 #include "CbmGeoSetupMedia.h" // for CbmGeoSetupMedia
18 #include "CbmGeoSetupModule.h" // for CbmGeoSetupModule
19 
30 class CbmGeoSetup {
31 public:
32  Int_t GetId() { return fId; };
33  std::string GetName() { return fName; };
34  std::string GetTag() { return fTag; };
35  std::string GetAuthor() { return fAuthor; };
36  std::string GetDate() { return fDate; };
37  std::string GetRevision() { return fRevision; };
38  std::string GetDescription() { return fDescription; };
39  std::map<ECbmModuleId, CbmGeoSetupModule>& GetModuleMap() {
40  return fModuleMap;
41  };
44 
45  void SetId(Int_t value) { fId = value; };
46  void SetName(std::string value) { fName = value; };
47  void SetTag(std::string value) { fTag = value; };
48  void SetAuthor(std::string value) { fAuthor = value; };
49  void SetDate(std::string value) { fDate = value; };
50  void SetRevision(std::string value) { fRevision = value; };
51  void SetDescription(std::string value) { fDescription = value; };
52  void SetModuleMap(std::map<ECbmModuleId, CbmGeoSetupModule> value) {
53  fModuleMap = value;
54  };
55  void SetField(CbmGeoSetupField value) { fField = value; };
56  void SetMedia(CbmGeoSetupMedia value) { fMedia = value; };
57 
58 private:
59  Int_t fId {};
60  std::string fName {};
61  std::string fTag {};
62  std::string fAuthor {};
63  std::string fDate {};
64  std::string fRevision {};
65  std::string fDescription {};
66  std::map<ECbmModuleId, CbmGeoSetupModule> fModuleMap {};
69 
71 };
72 
73 #endif /* CBMSETUPSETUP_H */
CbmGeoSetup::fModuleMap
std::map< ECbmModuleId, CbmGeoSetupModule > fModuleMap
Definition: CbmGeoSetup.h:66
CbmGeoSetup::GetRevision
std::string GetRevision()
Definition: CbmGeoSetup.h:37
CbmGeoSetup::GetDescription
std::string GetDescription()
Definition: CbmGeoSetup.h:38
CbmGeoSetup::SetField
void SetField(CbmGeoSetupField value)
Definition: CbmGeoSetup.h:55
CbmGeoSetup::SetAuthor
void SetAuthor(std::string value)
Definition: CbmGeoSetup.h:48
CbmGeoSetupModule.h
CbmGeoSetup::GetAuthor
std::string GetAuthor()
Definition: CbmGeoSetup.h:35
CbmGeoSetup::fAuthor
std::string fAuthor
Definition: CbmGeoSetup.h:62
CbmGeoSetup::fRevision
std::string fRevision
Definition: CbmGeoSetup.h:64
CbmGeoSetup::GetDate
std::string GetDate()
Definition: CbmGeoSetup.h:36
CbmGeoSetup::GetMedia
CbmGeoSetupMedia & GetMedia()
Definition: CbmGeoSetup.h:43
CbmGeoSetupMedia
Definition: CbmGeoSetupMedia.h:19
CbmGeoSetup::fDescription
std::string fDescription
Definition: CbmGeoSetup.h:65
CbmGeoSetup::GetTag
std::string GetTag()
Definition: CbmGeoSetup.h:34
CbmGeoSetup::SetRevision
void SetRevision(std::string value)
Definition: CbmGeoSetup.h:50
CbmGeoSetup::SetId
void SetId(Int_t value)
Definition: CbmGeoSetup.h:45
CbmGeoSetupField
Definition: CbmGeoSetupField.h:21
CbmGeoSetup::GetName
std::string GetName()
Definition: CbmGeoSetup.h:33
CbmGeoSetupField.h
CbmGeoSetup::fTag
std::string fTag
Definition: CbmGeoSetup.h:61
CbmGeoSetup::fId
Int_t fId
Definition: CbmGeoSetup.h:59
CbmGeoSetup::SetMedia
void SetMedia(CbmGeoSetupMedia value)
Definition: CbmGeoSetup.h:56
CbmGeoSetup::fField
CbmGeoSetupField fField
Definition: CbmGeoSetup.h:67
CbmGeoSetup::fDate
std::string fDate
Definition: CbmGeoSetup.h:63
CbmGeoSetup::ClassDefNV
ClassDefNV(CbmGeoSetup, 2)
CbmGeoSetup
Data transfer object to represent the CBM Detector setup.
Definition: CbmGeoSetup.h:30
CbmGeoSetup::SetDescription
void SetDescription(std::string value)
Definition: CbmGeoSetup.h:51
CbmGeoSetupMedia.h
CbmGeoSetup::fMedia
CbmGeoSetupMedia fMedia
Definition: CbmGeoSetup.h:68
CbmGeoSetup::GetField
CbmGeoSetupField & GetField()
Definition: CbmGeoSetup.h:42
CbmGeoSetup::GetId
Int_t GetId()
Definition: CbmGeoSetup.h:32
CbmGeoSetup::SetTag
void SetTag(std::string value)
Definition: CbmGeoSetup.h:47
CbmGeoSetup::SetName
void SetName(std::string value)
Definition: CbmGeoSetup.h:46
CbmGeoSetup::fName
std::string fName
Definition: CbmGeoSetup.h:60
CbmGeoSetup::SetDate
void SetDate(std::string value)
Definition: CbmGeoSetup.h:49
CbmGeoSetup::GetModuleMap
std::map< ECbmModuleId, CbmGeoSetupModule > & GetModuleMap()
Definition: CbmGeoSetup.h:39
CbmGeoSetup::SetModuleMap
void SetModuleMap(std::map< ECbmModuleId, CbmGeoSetupModule > value)
Definition: CbmGeoSetup.h:52
CbmDefs.h