]>
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 | //------------------------------------------------------------------------- | |
13 | ||
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, kAir=15, kAlBe=21, kPA = 22}; | |
24 | ||
25 | AliPIPEv4(); | |
26 | AliPIPEv4(const char *name, const char *title); | |
27 | virtual ~AliPIPEv4() {}; | |
28 | virtual void CreateGeometry(); | |
29 | virtual void CreateMaterials(); | |
30 | virtual Int_t IsVersion() const {return 0;} | |
31 | private: | |
32 | virtual TGeoPcon* MakeMotherFromTemplate(TGeoPcon* shape, Int_t imin = -1, Int_t imax = -1, Float_t r0 = 0., Int_t nz =-1); | |
33 | virtual TGeoPcon* MakeInsulationFromTemplate(TGeoPcon* shape); | |
34 | virtual TGeoVolume* MakeBellow(const char* ext, Int_t nc, Float_t rMin, Float_t rMax, Float_t dU, Float_t rPlie, Float_t dPlie); | |
35 | ||
36 | Float_t fRmax; // outer radius of Be beam pipe | |
37 | Float_t fBe; // width of Be beam pipe | |
38 | Float_t fZ1; // beginning of Be beam pipe z location (A side) | |
39 | Float_t fZ2; // end of Be beam pipe z location (C side) | |
40 | protected: | |
41 | ClassDef(AliPIPEv4,1) //Class for PIPE version using TGeo | |
42 | }; | |
43 | ||
44 | #endif |