Bugs squashed.
[u/mrichter/AliRoot.git] / ITS / AliITSv11GeometrySupport.h
CommitLineData
172b0d90 1#ifndef ALIITSV11GEOMETRYSUPPORT_H
2#define ALIITSV11GEOMETRYSUPPORT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
a275e8ba 6
7// This class Defines the Geometry for the ITS services and support cones
8// outside of the ceneteral volume (except for the Ceneteral support
9// cylinders. Other classes define the rest of the ITS. Specificaly the ITS
10// The SSD support cone,SSD Support centeral cylinder, SDD support cone,
11// The SDD cupport centeral cylinder, the SPD Thermal Sheald, The supports
12// and cable trays on both the RB26 (muon dump) and RB24 sides, and all of
13// the cabling from the ladders/stave ends out past the TPC.
14
15
172b0d90 16/*
17 $Id$
18 */
a275e8ba 19#include "AliITSv11Geometry.h"
20#include <TGeoManager.h>
21
172b0d90 22class TGeoVolume;
23
24class AliITSv11GeometrySupport : public AliITSv11Geometry {
25 public:
26 AliITSv11GeometrySupport(){};
543b7370 27 AliITSv11GeometrySupport(Int_t debug):AliITSv11Geometry(debug){};
172b0d90 28 virtual ~AliITSv11GeometrySupport(){};
29 //
543b7370 30 virtual void SPDCone(TGeoVolume *moth,TGeoManager *mgr=gGeoManager);
543b7370 31 virtual void SDDCone(TGeoVolume *moth,TGeoManager *mgr=gGeoManager);
32 virtual void SSDCone(TGeoVolume *moth,TGeoManager *mgr=gGeoManager);
33 virtual void ServicesCableSupport(TGeoVolume *moth,
34 TGeoManager *mgr=gGeoManager);
172b0d90 35
36 private:
a275e8ba 37 void CreateSPDThermalShape(Double_t ina, Double_t inb, Double_t inr,
38 Double_t oua, Double_t oub, Double_t our,
39 Double_t t, Double_t *x , Double_t *y );
3d2705b6 40 void CreateSPDOmegaShape(Double_t *xin, Double_t *yin, Double_t d,
41 Double_t *x, Double_t *y);
a275e8ba 42 void FillSPDXtruShape(Double_t a, Double_t b, Double_t r,
43 Double_t t, Double_t *x, Double_t *y);
3d2705b6 44 void PointFromParallelLines(Double_t x1, Double_t y1,
45 Double_t x2, Double_t y2, Double_t d,
46 Double_t &x, Double_t &y);
47
48 void ReflectPoint(Double_t x1, Double_t y1, Double_t x2, Double_t y2,
49 Double_t x3, Double_t y3, Double_t &x, Double_t &y);
a275e8ba 50
172b0d90 51 ClassDef(AliITSv11GeometrySupport,1) // ITS v11 Support geometry
52};
53
54#endif