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