CbmRoot
CbmGeoSetupField.h
Go to the documentation of this file.
1 
6 #ifndef CBMGEOSETUPFIELD_H
7 #define CBMGEOSETUPFIELD_H 1
8 
9 #include <Rtypes.h> // for ClassDef
10 #include <RtypesCore.h> // for Double_t, Int_t
11 #include <TGeoMatrix.h> // for TGeoTranslation
12 
13 #include <string> // for string
14 
15 
22 public:
23  Int_t GetId() { return fId; };
24  std::string GetTag() { return fTag; };
25  std::string GetAuthor() { return fAuthor; };
26  std::string GetDate() { return fDate; };
27  std::string GetDescription() { return fDescription; };
28  std::string GetFilePath() { return fFilePath; };
29  std::string GetRevision() { return fRevision; };
30  Double_t GetScale() { return fScale; };
31  TGeoTranslation& GetMatrix() { return fMatrix; };
32 
33  void SetId(Int_t value) { fId = value; };
34  void SetTag(std::string value) { fTag = value; };
35  void SetAuthor(std::string value) { fAuthor = value; };
36  void SetDate(std::string value) { fDate = value; };
37  void SetDescription(std::string value) { fDescription = value; };
38  void SetFilePath(std::string value) { fFilePath = value; };
39  void SetRevision(std::string value) { fRevision = value; };
40  void SetScale(Double_t value) { fScale = value; };
41  void SetMatrix(TGeoTranslation value) { fMatrix = value; };
42 
43 private:
44  Int_t fId {};
45  std::string fTag {};
46  std::string fAuthor {};
47  std::string fDate {};
48  std::string fDescription {};
49  std::string fFilePath {};
50  std::string fRevision {};
51  Double_t fScale {1.};
52  TGeoTranslation fMatrix {};
53 
55 };
56 
57 #endif /* CBMGEOSETUPFIELD_H */
CbmGeoSetupField::GetMatrix
TGeoTranslation & GetMatrix()
Definition: CbmGeoSetupField.h:31
CbmGeoSetupField::fScale
Double_t fScale
Definition: CbmGeoSetupField.h:51
CbmGeoSetupField::SetDescription
void SetDescription(std::string value)
Definition: CbmGeoSetupField.h:37
CbmGeoSetupField::fMatrix
TGeoTranslation fMatrix
Definition: CbmGeoSetupField.h:52
CbmGeoSetupField::SetMatrix
void SetMatrix(TGeoTranslation value)
Definition: CbmGeoSetupField.h:41
CbmGeoSetupField::ClassDefNV
ClassDefNV(CbmGeoSetupField, 1)
CbmGeoSetupField::GetDate
std::string GetDate()
Definition: CbmGeoSetupField.h:26
CbmGeoSetupField::GetId
Int_t GetId()
Definition: CbmGeoSetupField.h:23
CbmGeoSetupField::GetAuthor
std::string GetAuthor()
Definition: CbmGeoSetupField.h:25
CbmGeoSetupField::SetId
void SetId(Int_t value)
Definition: CbmGeoSetupField.h:33
CbmGeoSetupField::fTag
std::string fTag
Definition: CbmGeoSetupField.h:45
CbmGeoSetupField::GetRevision
std::string GetRevision()
Definition: CbmGeoSetupField.h:29
CbmGeoSetupField
Definition: CbmGeoSetupField.h:21
CbmGeoSetupField::SetFilePath
void SetFilePath(std::string value)
Definition: CbmGeoSetupField.h:38
CbmGeoSetupField::GetTag
std::string GetTag()
Definition: CbmGeoSetupField.h:24
CbmGeoSetupField::GetFilePath
std::string GetFilePath()
Definition: CbmGeoSetupField.h:28
CbmGeoSetupField::SetScale
void SetScale(Double_t value)
Definition: CbmGeoSetupField.h:40
CbmGeoSetupField::fDate
std::string fDate
Definition: CbmGeoSetupField.h:47
CbmGeoSetupField::fId
Int_t fId
Definition: CbmGeoSetupField.h:44
CbmGeoSetupField::SetRevision
void SetRevision(std::string value)
Definition: CbmGeoSetupField.h:39
CbmGeoSetupField::SetAuthor
void SetAuthor(std::string value)
Definition: CbmGeoSetupField.h:35
CbmGeoSetupField::SetTag
void SetTag(std::string value)
Definition: CbmGeoSetupField.h:34
CbmGeoSetupField::fDescription
std::string fDescription
Definition: CbmGeoSetupField.h:48
CbmGeoSetupField::fAuthor
std::string fAuthor
Definition: CbmGeoSetupField.h:46
CbmGeoSetupField::GetScale
Double_t GetScale()
Definition: CbmGeoSetupField.h:30
CbmGeoSetupField::SetDate
void SetDate(std::string value)
Definition: CbmGeoSetupField.h:36
CbmGeoSetupField::fFilePath
std::string fFilePath
Definition: CbmGeoSetupField.h:49
CbmGeoSetupField::fRevision
std::string fRevision
Definition: CbmGeoSetupField.h:50
CbmGeoSetupField::GetDescription
std::string GetDescription()
Definition: CbmGeoSetupField.h:27