]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STRUCT/AliPIPEv4.h
Coverity fix
[u/mrichter/AliRoot.git] / STRUCT / AliPIPEv4.h
1 #ifndef ALIPIPEVGEO4_H
2 #define ALIPIPEVGEO4_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$*/
7
8 /////////////////////////////////////////////////////////
9 // ALICE beam pipe geometry                            //
10 // This version uses TGeo.                             //
11 // Author:                                             //
12 // Andreas Morsch                                      //
13 // e-mail: andreas.morsch@cern.ch                      // 
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,
25           kAir=15, kAlBe=21, kPA = 22};
26         
27   AliPIPEv4();
28   AliPIPEv4(const char *name, const char *title);
29   AliPIPEv4(const char *name, const char *title, const Float_t theta_cone,  const Float_t rmin1, 
30             const Float_t epaisseur, const Float_t sigmaz, const Float_t z_chambre);
31   virtual       ~AliPIPEv4() {};
32   virtual void   CreateGeometry();
33   virtual void   CreateMaterials();
34   virtual Int_t  IsVersion() const {return 0;}
35  private:
36   virtual TGeoPcon*   MakeMotherFromTemplate(TGeoPcon* shape, Int_t imin = -1, Int_t imax = -1, Float_t r0 = 0., Int_t nz =-1);
37   virtual TGeoPcon*   MakeInsulationFromTemplate(TGeoPcon* shape);
38   virtual TGeoVolume* MakeBellow(const char* ext, Int_t nc, Float_t rMin, Float_t rMax, Float_t dU, Float_t rPlie, Float_t dPlie);
39
40   Float_t   ftheta_cone; // angle of conical beam pipe, if angle < 3 --> cylindrical beam pipe
41   Float_t   frmin1;      // internal radius of Be beam pipe
42   Float_t   fepaisseur;  // width of Be beam pipe
43   Float_t   fsigmaz;     // dispersion of z location (1 sigma) of beam impact position
44   Float_t   fz_chambre;  // first pixel chamber location, closest to the IP
45   Float_t   fzdebut1;    // beginning of beam pipe z location (A side)
46   Float_t   fzfin4;      // end of beamp pipe z location (C side)
47
48
49  protected:
50   ClassDef(AliPIPEv4,1)  //Class for PIPE version using TGeo
51 };
52  
53 #endif