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 */
7 //*************************************************************************
8 // This class Defines the Geometry of the Beam Pipe
9 // for the ITS Upgrade using TGeo
11 // Mario Sitta <sitta@to.infn.it>
12 //*************************************************************************
16 $Id: AliITSv11GeomBeamPipe.h
19 #include "AliITSv11Geometry.h"
20 #include <TGeoManager.h>
21 #include <TGeoCompositeShape.h>
26 class AliITSv11GeomBeamPipe : public AliITSv11Geometry {
28 AliITSv11GeomBeamPipe();
29 AliITSv11GeomBeamPipe(Double_t rmin, Double_t rmax, Double_t zlen,
31 virtual ~AliITSv11GeomBeamPipe();
33 Double_t GetRmin() {return fBeamPipeRmin;};
34 Double_t GetRmax() {return fBeamPipeRmax;};
35 Double_t GetHalfZLen() {return fBeamPipeZlen;};
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;};
41 virtual void CreateBeamPipe(TGeoVolume *moth,
42 const TGeoManager *mgr=gGeoManager);
45 AliITSv11GeomBeamPipe(const AliITSv11GeomBeamPipe &source); // copy constructor
46 AliITSv11GeomBeamPipe& operator=(const AliITSv11GeomBeamPipe &source); // assignment operator
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
52 ClassDef(AliITSv11GeomBeamPipe,0) // Beam Pipe geometry for v11 Upgrade