SND@LHC Software
Loading...
Searching...
No Matches
ShipBellField.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- ShipBellField header file -----
3// ----- Created 25/03/14 by M. Al-Turany -----
4// -------------------------------------------------------------------------
5
6
17#ifndef ShipBellField_H
18#define ShipBellField_H 1
19
20
21#include "FairField.h"
22
23
24class ShipFieldPar;
25
26
27class ShipBellField : public FairField
28{
29
30 public:
31
34
35
42 ShipBellField(const char* name, Double_t Bpeak, Double_t Zmiddle,Int_t fOrient=1, Double_t Btube=500. );
43
44
46 ShipBellField(ShipFieldPar* fieldPar);
47
48
50 virtual ~ShipBellField();
51
52
56 virtual Double_t GetBx(Double_t x, Double_t y, Double_t z);
57 virtual Double_t GetBy(Double_t x, Double_t y, Double_t z);
58 virtual Double_t GetBz(Double_t x, Double_t y, Double_t z);
59
60 void IncludeTarget(Double_t xy, Double_t z, Double_t l);
61
63 virtual void Print();
64
65
66 private:
67
69 Double_t fPeak;
70 Double_t fMiddle;
71 Double_t fBtube;
72 Int_t fOrient;
74 Double_t targetXY;
75 Double_t targetZ0;
76 Double_t targetL;
77
79
80};
81
82
83#endif
virtual Double_t GetBy(Double_t x, Double_t y, Double_t z)
Double_t targetL
Double_t targetZ0
virtual Double_t GetBx(Double_t x, Double_t y, Double_t z)
ClassDef(ShipBellField, 2)
virtual void Print()
void IncludeTarget(Double_t xy, Double_t z, Double_t l)
Double_t targetXY
virtual ~ShipBellField()
virtual Double_t GetBz(Double_t x, Double_t y, Double_t z)
Double_t fMiddle
Double_t fBtube