CbmRoot
Loading...
Searching...
No Matches
CbmGeoSetupField.h
Go to the documentation of this file.
1/* Copyright (C) 2019-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Evgeny Lavrik, Florian Uhlig [committer] */
4
10#ifndef CBMGEOSETUPFIELD_H
11#define CBMGEOSETUPFIELD_H 1
12
13#include <Rtypes.h> // for ClassDef
14#include <RtypesCore.h> // for Double_t, Int_t
15#include <TGeoMatrix.h> // for TGeoTranslation
16
17#include <string> // for string
18
19
26public:
27 Int_t GetId() { return fId; };
28 std::string GetTag() { return fTag; };
29 std::string GetAuthor() { return fAuthor; };
30 std::string GetDate() { return fDate; };
31 std::string GetDescription() { return fDescription; };
32 std::string GetFilePath() { return fFilePath; };
33 std::string GetRevision() { return fRevision; };
34 Double_t GetScale() { return fScale; };
35 TGeoTranslation& GetMatrix() { return fMatrix; };
36
37 void SetId(Int_t value) { fId = value; };
38 void SetTag(std::string value) { fTag = value; };
39 void SetAuthor(std::string value) { fAuthor = value; };
40 void SetDate(std::string value) { fDate = value; };
41 void SetDescription(std::string value) { fDescription = value; };
42 void SetFilePath(std::string value) { fFilePath = value; };
43 void SetRevision(std::string value) { fRevision = value; };
44 void SetScale(Double_t value) { fScale = value; };
45 void SetMatrix(TGeoTranslation value) { fMatrix = value; };
46
47private:
48 Int_t fId {};
49 std::string fTag {};
50 std::string fAuthor {};
51 std::string fDate {};
52 std::string fDescription {};
53 std::string fFilePath {};
54 std::string fRevision {};
55 Double_t fScale {1.};
56 TGeoTranslation fMatrix {};
57
59};
60
61#endif /* CBMGEOSETUPFIELD_H */
TGeoTranslation & GetMatrix()
std::string GetDate()
void SetDescription(std::string value)
std::string fDescription
TGeoTranslation fMatrix
void SetMatrix(TGeoTranslation value)
void SetRevision(std::string value)
void SetDate(std::string value)
void SetAuthor(std::string value)
void SetScale(Double_t value)
std::string GetAuthor()
std::string GetRevision()
std::string fFilePath
std::string GetFilePath()
ClassDefNV(CbmGeoSetupField, 1)
void SetFilePath(std::string value)
void SetId(Int_t value)
std::string GetDescription()
void SetTag(std::string value)
std::string fRevision
std::string GetTag()