SND@LHC Software
Loading...
Searching...
No Matches
ShipMagnet.h
Go to the documentation of this file.
1#ifndef MAGNET_H
2#define MAGNET_H
3
4#include "FairModule.h" // for FairModule
5#include "TGeoMedium.h"
6
7#include "Rtypes.h" // for ShipMagnet::Class, Bool_t, etc
8
9#include <string> // for string
10
11class ShipMagnet : public FairModule
12{
13 public:
14 ShipMagnet(const char* name, const char* Title="SHiP Magnet", Double_t z=2018., Int_t c=2, Double_t dx=3, Double_t dy=5, Double_t fl=2, Double_t YW=1., Double_t YD=1., Double_t CT=1.);
15 ShipMagnet();
16 virtual ~ShipMagnet();
17 void ConstructGeometry();
18 ClassDef(ShipMagnet,5)
19 protected:
20
21 Int_t fDesign; // design, 1=circular 5m, 2 = ellipse 5x10, 3 = rectangular
22 Int_t fSpecMagz; // z position
23 Double_t fDy; // y diameter of ellipse
24 Double_t fDx; // x diameter of ellipse
26 Double_t floorheight;
27 TGeoVolume* MagnetSupport(Double_t hwidth,Double_t hheight,Double_t dz,Int_t colour,TGeoMedium *material);
28 Int_t InitMedium(const char* name);
29};
30
31#endif //MAGNET_H
32
void ConstructGeometry()
Double_t floorheight
Definition ShipMagnet.h:26
Double_t YokeWidth
Definition ShipMagnet.h:25
virtual ~ShipMagnet()
ClassDef(ShipMagnet, 5) protected Int_t fSpecMagz
Definition ShipMagnet.h:18
Double_t fDy
Definition ShipMagnet.h:23
Double_t fDx
Definition ShipMagnet.h:24
Int_t InitMedium(const char *name)
Double_t CoilThick
Definition ShipMagnet.h:25
TGeoVolume * MagnetSupport(Double_t hwidth, Double_t hheight, Double_t dz, Int_t colour, TGeoMedium *material)
Double_t YokeDepth
Definition ShipMagnet.h:25