FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairMapPar.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 
17 #ifndef FairMAPPAR_H
18 #define FairMAPPAR_H 1
19 
20 #include "FairParGenericSet.h" // for FairParGenericSet
21 
22 #include <Rtypes.h> // for Double_t, FairMapPar::Class, etc
23 #include <TString.h> // for TString
24 
26 {
27  public:
29  FairMapPar(const char* name, const char* title, const char* context);
30 
32  FairMapPar();
33 
35  ~FairMapPar();
36 
38  Int_t GetType() const { return fType; }
39  Double_t GetXmin() const { return fXmin; }
40  Double_t GetXmax() const { return fXmax; }
41  Double_t GetYmin() const { return fYmin; }
42  Double_t GetYmax() const { return fYmax; }
43  Double_t GetZmin() const { return fZmin; }
44  Double_t GetZmax() const { return fZmax; }
45  void MapName(TString& name) { name = fMapName; }
46  Double_t GetPositionX() const { return fPosX; }
47  Double_t GetPositionY() const { return fPosY; }
48  Double_t GetPositionZ() const { return fPosZ; }
49  Double_t GetScale() const { return fScale; }
50 
51  protected:
58  Int_t fType;
59 
61  Double_t fXmin, fXmax;
62  Double_t fYmin, fYmax;
63  Double_t fZmin, fZmax;
64 
66  TString fMapName;
67 
69  Double_t fPosX, fPosY, fPosZ;
70 
72  Double_t fScale;
73 
74  ClassDef(FairMapPar, 1);
75 };
76 
77 #endif
Double_t fZmin
Definition: FairMapPar.h:63
Double_t fYmin
Definition: FairMapPar.h:62
Double_t GetPositionZ() const
Definition: FairMapPar.h:48
Double_t GetXmin() const
Definition: FairMapPar.h:39
Double_t GetPositionY() const
Definition: FairMapPar.h:47
Double_t GetYmin() const
Definition: FairMapPar.h:41
Double_t fXmin
Definition: FairMapPar.h:61
Double_t fPosY
Definition: FairMapPar.h:69
Double_t fYmax
Definition: FairMapPar.h:62
TString fMapName
Definition: FairMapPar.h:66
Double_t fZmax
Definition: FairMapPar.h:63
Double_t fXmax
Definition: FairMapPar.h:61
Double_t GetPositionX() const
Definition: FairMapPar.h:46
Double_t GetScale() const
Definition: FairMapPar.h:49
Int_t fType
Definition: FairMapPar.h:58
Double_t fPosZ
Definition: FairMapPar.h:69
Int_t GetType() const
Definition: FairMapPar.h:38
Double_t GetYmax() const
Definition: FairMapPar.h:42
Double_t GetXmax() const
Definition: FairMapPar.h:40
Double_t fPosX
Definition: FairMapPar.h:69
ClassDef(FairMapPar, 1)
Double_t GetZmax() const
Definition: FairMapPar.h:44
Double_t GetZmin() const
Definition: FairMapPar.h:43
void MapName(TString &name)
Definition: FairMapPar.h:45
Double_t fScale
Definition: FairMapPar.h:72