]>
Commit | Line | Data |
---|---|---|
af5f3976 | 1 | #ifndef ALIPIPEV4_H |
2 | #define ALIPIPEV4_H | |
820b4d9e | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
af5f3976 | 6 | //------------------------------------------------------------------------- |
7 | // Beam pipe class for ALICE MFT upgrade | |
8 | // This version uses TGeo | |
9 | // Authors: | |
10 | // F. Manso | |
11 | // A. Morsch | |
12 | //------------------------------------------------------------------------- | |
820b4d9e | 13 | |
820b4d9e | 14 | |
15 | #include "AliPIPE.h" | |
16 | class TGeoPcon; | |
17 | class TGeoVolume; | |
18 | ||
19 | ||
20 | class AliPIPEv4 : public AliPIPE { | |
21 | ||
22 | public: | |
23 | enum constants {kC=6, kAlu=9, kInox=19, kGetter=20, kBe=5, kVac=16, | |
24 | kAir=15, kAlBe=21, kPA = 22}; | |
25 | ||
26 | AliPIPEv4(); | |
27 | AliPIPEv4(const char *name, const char *title); | |
af5f3976 | 28 | AliPIPEv4(const char *name, const char *title, const Float_t rmax, const Float_t epaisseur); |
29 | AliPIPEv4(const char *name, const char *title, const Float_t rmax, const Float_t epaisseur, const Float_t z2); | |
820b4d9e | 30 | virtual ~AliPIPEv4() {}; |
31 | virtual void CreateGeometry(); | |
32 | virtual void CreateMaterials(); | |
33 | virtual Int_t IsVersion() const {return 0;} | |
34 | private: | |
35 | virtual TGeoPcon* MakeMotherFromTemplate(TGeoPcon* shape, Int_t imin = -1, Int_t imax = -1, Float_t r0 = 0., Int_t nz =-1); | |
36 | virtual TGeoPcon* MakeInsulationFromTemplate(TGeoPcon* shape); | |
37 | virtual TGeoVolume* MakeBellow(const char* ext, Int_t nc, Float_t rMin, Float_t rMax, Float_t dU, Float_t rPlie, Float_t dPlie); | |
38 | ||
af5f3976 | 39 | Float_t fRmax; // outer radius of Be beam pipe |
40 | Float_t fBe; // width of Be beam pipe | |
41 | Float_t fZ1; // beginning of beam pipe z location (A side) | |
42 | Float_t fZ2; // end of Be beam pipe z location (C side) | |
43 | Float_t fZ3; // end of Stell beam pipe z location (C side) | |
820b4d9e | 44 | protected: |
45 | ClassDef(AliPIPEv4,1) //Class for PIPE version using TGeo | |
46 | }; | |
47 | ||
48 | #endif |