]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/UPGRADE/AliITSv11GeomBeamPipe.h
Fix up a warning about casts
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSv11GeomBeamPipe.h
1 #ifndef ALIITSV11GEOMBEAMPIPE_H
2 #define ALIITSV11GEOMBEAMPIPE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 //*************************************************************************
8 // This class Defines the Geometry of the Beam Pipe
9 // for the ITS Upgrade using TGeo
10 //
11 //  Mario Sitta <sitta@to.infn.it>
12 //*************************************************************************
13
14
15 /*
16   $Id: AliITSv11GeomBeamPipe.h
17  */
18
19 #include "AliITSv11Geometry.h"
20 #include <TGeoManager.h>
21 #include <TGeoCompositeShape.h>
22 #include <TGeoXtru.h>
23
24 class TGeoVolume;
25
26 class AliITSv11GeomBeamPipe : public AliITSv11Geometry {
27   public:
28     AliITSv11GeomBeamPipe();
29     AliITSv11GeomBeamPipe(Double_t rmin, Double_t rmax, Double_t zlen,
30                           Int_t debug);
31     virtual ~AliITSv11GeomBeamPipe();
32     //
33     Double_t  GetRmin()     {return fBeamPipeRmin;};
34     Double_t  GetRmax()     {return fBeamPipeRmax;};
35     Double_t  GetHalfZLen() {return fBeamPipeZlen;};
36
37     void      SetRmin(const Double_t r)     {fBeamPipeRmin = r;};
38     void      SetRmax(const Double_t r)     {fBeamPipeRmax = r;};
39     void      SetHalfZLen(const Double_t z) {fBeamPipeZlen = z;};
40
41     virtual void CreateBeamPipe(TGeoVolume *moth,
42                                 const TGeoManager *mgr=gGeoManager);
43
44   private:
45     AliITSv11GeomBeamPipe(const AliITSv11GeomBeamPipe &source); // copy constructor
46     AliITSv11GeomBeamPipe& operator=(const AliITSv11GeomBeamPipe &source); // assignment operator
47
48     Double_t  fBeamPipeRmin;   // Rmin of beam pipe
49     Double_t  fBeamPipeRmax;   // Rmax of beam pipe
50     Double_t  fBeamPipeZlen;   // Half Z length of beam pipe
51
52   ClassDef(AliITSv11GeomBeamPipe,0) // Beam Pipe geometry for v11 Upgrade
53 };
54
55 #endif