CbmRoot
Loading...
Searching...
No Matches
CbmGeoSetup.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 CBMSETUPSETUP_H
11#define CBMSETUPSETUP_H 1
12
13#include "CbmDefs.h" // for ECbmModuleId
14#include "CbmGeoSetupField.h" // for CbmGeoSetupField
15#include "CbmGeoSetupMedia.h" // for CbmGeoSetupMedia
16#include "CbmGeoSetupModule.h" // for CbmGeoSetupModule
17
18#include <Rtypes.h> // for ClassDef
19#include <RtypesCore.h> // for Int_t
20
21#include <map> // for map
22#include <string> // for string
23
35public:
36 Int_t GetId() { return fId; };
37 std::string GetName() { return fName; };
38 std::string GetTag() { return fTag; };
39 std::string GetAuthor() { return fAuthor; };
40 std::string GetDate() { return fDate; };
41 std::string GetRevision() { return fRevision; };
42 std::string GetDescription() { return fDescription; };
43 std::map<ECbmModuleId, CbmGeoSetupModule>& GetModuleMap() { return fModuleMap; };
46
47 void SetId(Int_t value) { fId = value; };
48 void SetName(std::string value) { fName = value; };
49 void SetTag(std::string value) { fTag = value; };
50 void SetAuthor(std::string value) { fAuthor = value; };
51 void SetDate(std::string value) { fDate = value; };
52 void SetRevision(std::string value) { fRevision = value; };
53 void SetDescription(std::string value) { fDescription = value; };
54 void SetModuleMap(std::map<ECbmModuleId, CbmGeoSetupModule> value) { fModuleMap = value; };
55 void SetField(CbmGeoSetupField value) { fField = value; };
56 void SetMedia(CbmGeoSetupMedia value) { fMedia = value; };
57
58private:
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 */
Data transfer object to represent the CBM Detector setup.
Definition CbmGeoSetup.h:34
std::string fName
Definition CbmGeoSetup.h:60
std::string fDescription
Definition CbmGeoSetup.h:65
std::map< ECbmModuleId, CbmGeoSetupModule > fModuleMap
Definition CbmGeoSetup.h:66
void SetDate(std::string value)
Definition CbmGeoSetup.h:51
void SetAuthor(std::string value)
Definition CbmGeoSetup.h:50
void SetName(std::string value)
Definition CbmGeoSetup.h:48
std::string GetName()
Definition CbmGeoSetup.h:37
void SetField(CbmGeoSetupField value)
Definition CbmGeoSetup.h:55
std::string fRevision
Definition CbmGeoSetup.h:64
std::string fTag
Definition CbmGeoSetup.h:61
ClassDefNV(CbmGeoSetup, 2)
CbmGeoSetupField & GetField()
Definition CbmGeoSetup.h:44
CbmGeoSetupMedia & GetMedia()
Definition CbmGeoSetup.h:45
std::string GetAuthor()
Definition CbmGeoSetup.h:39
void SetId(Int_t value)
Definition CbmGeoSetup.h:47
std::string GetTag()
Definition CbmGeoSetup.h:38
std::string GetRevision()
Definition CbmGeoSetup.h:41
Int_t GetId()
Definition CbmGeoSetup.h:36
void SetTag(std::string value)
Definition CbmGeoSetup.h:49
void SetRevision(std::string value)
Definition CbmGeoSetup.h:52
void SetDescription(std::string value)
Definition CbmGeoSetup.h:53
void SetMedia(CbmGeoSetupMedia value)
Definition CbmGeoSetup.h:56
std::string GetDescription()
Definition CbmGeoSetup.h:42
void SetModuleMap(std::map< ECbmModuleId, CbmGeoSetupModule > value)
Definition CbmGeoSetup.h:54
std::map< ECbmModuleId, CbmGeoSetupModule > & GetModuleMap()
Definition CbmGeoSetup.h:43
std::string fAuthor
Definition CbmGeoSetup.h:62
CbmGeoSetupField fField
Definition CbmGeoSetup.h:67
std::string GetDate()
Definition CbmGeoSetup.h:40
std::string fDate
Definition CbmGeoSetup.h:63
CbmGeoSetupMedia fMedia
Definition CbmGeoSetup.h:68