EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairBaseParSet.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairBaseParSet.h
1 #ifndef FAIRBASEPARSET_H
2 #define FAIRBASEPARSET_H
3 
12 #include "FairParGenericSet.h"
13 #include "TGeoManager.h"
14 #include "TObjString.h"
16 class TObjArray;
17 
19 {
20  public:
29  FairBaseParSet(const char* name="FairBaseParSet",
30  const char* title="Class for base parameter io",
31  const char* context="BaseDefaultContext");
33  ~FairBaseParSet(void);
35  void clear(void);
40  void putParams(FairParamList*);
47  Bool_t getParams(FairParamList*);
52  void SetDetList(TObjArray* array) {fDetList=array;}
57  void SetGeoNodes(TObjArray* array) {fGeoNodes=array;}
67  void SetBeamMom(Double_t BMom) {fBeamMom = BMom;}
72  void SetGeometry(TGeoManager* Geom) {fGeom=Geom;}
77  void SetContListStr(TObjArray* list) {fContNameList= list;}
81  TObjArray* GetDetList() {return fDetList;}
85  TObjArray* GetGeoNodes() {return fGeoNodes;}
93  Double_t GetBeamMom() {return fBeamMom; }
97  TGeoManager* GetGeometry() {return fGeom;}
101  TObjArray* GetContList() {return fContNameList;}
102 
103  protected:
104 
106  TObjArray* fDetList;
108  TObjArray* fGeoNodes;
109 
112  Double_t fBeamMom;
114  TGeoManager* fGeom;
116  TObjArray* fContNameList;
117 
118  ClassDef(FairBaseParSet,4)
119 
120  private:
122  FairBaseParSet& operator= (const FairBaseParSet&) {return *this;}
123 
124 
125 
126 };
127 
128 #endif /* !FAIRBASEPARSET_H */