]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSSupportGeometry.h
macro title as filename
[u/mrichter/AliRoot.git] / PHOS / AliPHOSSupportGeometry.h
CommitLineData
fef3af45 1#ifndef ALIPHOSSUPPORTGEOMETRY_H
2#define ALIPHOSSUPPORTGEOMETRY_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// Geometry class for PHOS : Support which holds all PHOS modules.
10// Its data members provide geometry parametrization of
11// the PHOS support which can be changed in the constructor only.
12// Author: Yuri Kharlov (IHEP, Protvino)
13// 13 November 2000
14
fef3af45 15// --- ROOT system ---
88cb7938 16
e957fea8 17#include "TObject.h"
fef3af45 18
19// --- AliRoot header files ---
20
21class AliPHOSSupportGeometry : public TObject {
22
23public:
24
a8c47ab6 25 AliPHOSSupportGeometry();
fef3af45 26 virtual ~AliPHOSSupportGeometry(void) {}
27
fef3af45 28 Float_t GetRailOuterSize(Int_t index) const { return fRailOuterSize[index]; }
29 Float_t GetRailPart1 (Int_t index) const { return fRailPart1[index]; }
30 Float_t GetRailPart2 (Int_t index) const { return fRailPart2[index]; }
31 Float_t GetRailPart3 (Int_t index) const { return fRailPart3[index]; }
32 Float_t GetRailPos (Int_t index) const { return fRailPos[index]; }
33 Float_t GetRailLength () const { return fRailLength; }
34 Float_t GetDistanceBetwRails() const { return fDistanceBetwRails; }
35 Float_t GetRailsDistanceFromIP() const { return fRailsDistanceFromIP; }
36 Float_t GetRailRoadSize (Int_t index) const { return fRailRoadSize[index]; }
37 Float_t GetCradleWallThickness() const { return fCradleWallThickness; }
38 Float_t GetCradleWall (Int_t index) const { return fCradleWall[index]; }
39 Float_t GetCradleWheel (Int_t index) const { return fCradleWheel[index]; }
40
41private:
42
43 Float_t fRailOuterSize[3] ; // Outer size of a rail +-------+
44 Float_t fRailPart1[3] ; // Upper & bottom parts of the rail |--+ +--|
45 Float_t fRailPart2[3] ; // Vertical middle parts of the rail | |
46 Float_t fRailPart3[3] ; // Vertical upper parts of the rail | |
47 Float_t fRailPos[3] ; // Rail position vs. the ALICE center |--+ +--|
48 Float_t fRailLength ; // Length of the rail under the support +-------+
49 Float_t fDistanceBetwRails ; // Distance between rails
50 Float_t fRailsDistanceFromIP ; // Distance of rails from IP
51 Float_t fRailRoadSize[3] ; // Outer size of the dummy box with rails
52 Float_t fCradleWallThickness ; // PHOS cradle wall thickness
53 Float_t fCradleWall[5] ; // Size of the wall of the PHOS cradle (shape TUBS)
54 Float_t fCradleWheel[3] ; // "Wheels" by which the cradle rolls over the rails
55
56 ClassDef(AliPHOSSupportGeometry,1) // PHOS support geometry class
57
58} ;
59
60#endif // AliPHOSSUPPORTGEOMETRY_H