FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTutorialDet4GeoPar.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #ifndef FAIRTUTORIALDET4GEOPAR_H
9 #define FAIRTUTORIALDET4GEOPAR_H
10 
11 #include "FairParGenericSet.h" // for FairParGenericSet
12 
13 #include <Rtypes.h> // for ClassDef
14 
15 class TObjArray;
16 class FairParamList;
17 
19 {
20  public:
21  FairTutorialDet4GeoPar(const char* name = "FairTutorialDet4GeoPar",
22  const char* title = "FairTutorialDet4 Geometry Parameters",
23  const char* context = "TestDefaultContext");
25 
26  void clear(void);
27  void putParams(FairParamList*);
28  Bool_t getParams(FairParamList*);
29  TObjArray* GetGeoSensitiveNodes() { return fGeoSensNodes; }
30  TObjArray* GetGeoPassiveNodes() { return fGeoPassNodes; }
31  Bool_t IsGlobalCoordinateSystem() { return fGlobalCoordinates; }
32  void SetGlobalCoordinates(Bool_t globalCoordinates) { fGlobalCoordinates = globalCoordinates; }
33 
34  private:
36  TObjArray* fGeoSensNodes;
37 
39  TObjArray* fGeoPassNodes;
40 
41  Bool_t fGlobalCoordinates;
42 
45 
46  ClassDef(FairTutorialDet4GeoPar, 2);
47 };
48 
49 #endif /* FAIRTUTORIALDETGEOPAR_H */
FairTutorialDet4GeoPar(const char *name="FairTutorialDet4GeoPar", const char *title="FairTutorialDet4 Geometry Parameters", const char *context="TestDefaultContext")
void SetGlobalCoordinates(Bool_t globalCoordinates)
void putParams(FairParamList *)
Bool_t getParams(FairParamList *)