SND@LHC Software
Loading...
Searching...
No Matches
ShipFieldPar.h
Go to the documentation of this file.
1#ifndef ShipFieldPar_H
2#define ShipFieldPar_H 1
3
4#include "FairParGenericSet.h"
5
6class FairField;
7class FairParamList;
8
9const int kMaxFieldMapType = 5;
10
11class ShipFieldPar : public FairParGenericSet
12{
13
14 public:
15
16
18 ShipFieldPar(const char* name, const char* title, const char* context);
19
22
25
26
28 virtual void putParams(FairParamList* list);
29
30
32 virtual Bool_t getParams(FairParamList* list);
33
34
36 void SetParameters(FairField* field);
37
38
40 Int_t GetType() const { return fType; }
41 Double_t GetXmin() const { return fXmin; }
42 Double_t GetXmax() const { return fXmax; }
43 Double_t GetYmin() const { return fYmin; }
44 Double_t GetYmax() const { return fYmax; }
45 Double_t GetZmin() const { return fZmin; }
46 Double_t GetZmax() const { return fZmax; }
47 Double_t GetBx() const { return fBx; }
48 Double_t GetBy() const { return fBy; }
49 Double_t GetBz() const { return fBz; }
50 void MapName(TString& name) { name = fMapName; }
51 Double_t GetPositionX() const { return fPosX; }
52 Double_t GetPositionY() const { return fPosY; }
53 Double_t GetPositionZ() const { return fPosZ; }
54 Double_t GetScale() const { return fScale; }
55 Double_t GetPeak() const { return fPeak; }
56 Double_t GetMiddle() const { return fMiddle; }
57 Double_t GetBtube() const { return fBtube; }
58
59
60 private:
61
69 Int_t fType;
70
71
73 Double_t fXmin, fXmax;
74 Double_t fYmin, fYmax;
75 Double_t fZmin, fZmax;
76
77
79 Double_t fBx, fBy, fBz;
80
81
83 TString fMapName;
84
85
87 Double_t fPosX, fPosY, fPosZ;
88
89
91 Double_t fScale;
92
94 Double_t fPeak;
95 Double_t fMiddle;
96 Double_t fBtube;
97
98
101
103
104};
105
106
107#endif
const int kMaxFieldMapType
Definition ShipFieldPar.h:9
TString fMapName
Double_t fYmin
Double_t fBy
Double_t GetMiddle() const
ShipFieldPar(const ShipFieldPar &)
Double_t GetZmax() const
Double_t fZmin
Double_t GetPositionZ() const
Double_t fPosZ
Double_t fPeak
ClassDef(ShipFieldPar, 1)
Double_t fMiddle
Double_t GetYmin() const
Double_t fPosX
Double_t fYmax
virtual void putParams(FairParamList *list)
Double_t GetPositionY() const
Double_t GetYmax() const
Double_t GetXmax() const
ShipFieldPar & operator=(const ShipFieldPar &)
Double_t GetBx() const
Double_t fBz
Double_t fZmax
Double_t fBx
Double_t GetPeak() const
Double_t fXmax
Double_t fBtube
Double_t GetPositionX() const
virtual Bool_t getParams(FairParamList *list)
void SetParameters(FairField *field)
Double_t fScale
Double_t GetBz() const
void MapName(TString &name)
Double_t GetScale() const
Double_t fXmin
Int_t GetType() const
Double_t GetBtube() const
Double_t GetBy() const
Double_t fPosY
Double_t GetXmin() const
Double_t GetZmin() const