7 @author Christian Holm Christensen <cholm@nbi.dk>
8 @date Sun Mar 26 18:23:48 2006
9 @brief Geometry parameters of the FMD3 detector.
11 #ifndef ALIFMDDETECTOR_H
12 # include "AliFMDDetector.h"
15 /** @class AliFMD3 AliFMD3.h <FMD/AliFMD3.h>
16 @brief Geometry parameters of the FMD3 detector.
17 FMD3 has a fairly complicated support structure. The cone also
18 supports the beam-pipe.
22 class AliFMD3 : public AliFMDDetector
26 @param inner Pointer to inner ring description
27 @param outer Pointer to outer ring description */
28 AliFMD3(AliFMDRing* inner, AliFMDRing* outer);
32 /** Initialize the geometry */
35 /** @param z Z position of front of nose */
36 void SetNoseZ(Double_t z=-46) { fNoseZ = z; }
37 /** @param r Nose inner radius */
38 void SetNoseLowR(Double_t r=5.5) { fNoseLowR = r; }
39 /** @param r Nose outer radius */
40 void SetNoseHighR(Double_t r=6.7) { fNoseHighR = r; }
41 /** @param l Length of nose in Z */
42 void SetNoseLength(Double_t l=2.8) { fNoseLength = l; }
43 /** @param r Inner radius of base of cone */
44 void SetBackLowR(Double_t r=61./2) { fBackLowR = r; }
45 /** @param r Outer radius of base of cone */
46 void SetBackHighR(Double_t r=66.8/2) { fBackHighR = r; }
47 /** @param l Length of base of cone in Z */
48 void SetBackLength(Double_t l=1.4) { fBackLength = l; }
49 /** @param t Thickness of support beams */
50 void SetBeamThickness(Double_t t=.5) { fBeamThickness = t; }
51 /** @param w Width of support beams */
52 void SetBeamWidth(Double_t w=6) { fBeamWidth = w; }
53 /** @param l Length of the cone in Z */
54 void SetConeLength(Double_t l=30.9) { fConeLength = l; }
55 /** @param r Outer radius of flanges */
56 void SetFlangeR(Double_t r=49.25) { fFlangeR = r; }
57 /** @param n Number of support beams */
58 void SetNBeam(Int_t n=8) { fNBeam = n; }
59 /** @param n Number of support flanges */
60 void SetNFlange(Int_t n=4) { fNFlange = n; }
62 /** @return Z position of front of nose */
63 Double_t GetNoseZ() const { return fNoseZ; }
64 /** @return Nose inner radius */
65 Double_t GetNoseLowR() const { return fNoseLowR; }
66 /** @return Nose outer radius */
67 Double_t GetNoseHighR() const { return fNoseHighR; }
68 /** @return Length of nose in Z */
69 Double_t GetNoseLength() const { return fNoseLength; }
70 /** @return Inner radius of base of cone */
71 Double_t GetBackLowR() const { return fBackLowR; }
72 /** @return Outer radius of base of cone */
73 Double_t GetBackHighR() const { return fBackHighR; }
74 /** @return Length of base of cone in Z */
75 Double_t GetBackLength() const { return fBackLength; }
76 /** @return Thickness of support beams */
77 Double_t GetBeamThickness() const { return fBeamThickness; }
78 /** @return Width of support beams */
79 Double_t GetBeamWidth() const { return fBeamWidth; }
80 /** @return Length of the cone in Z */
81 Double_t GetConeLength() const { return fConeLength; }
82 /** @return Outer radius of flanges */
83 Double_t GetFlangeR() const { return fFlangeR; }
84 /** @return Midpoint of mother volume */
85 Double_t GetZ() const { return fZ; }
86 /** @return Slope of cone */
87 Double_t GetAlpha() const { return fAlpha; }
88 /** @return Number of support beams */
89 Int_t GetNBeam() const { return fNBeam; }
90 /** @return Number of support flanges */
91 Int_t GetNFlange() const { return fNFlange; }
93 /** Get the cone radii at @a z.
94 @param z Point to evaulate at
95 @param opt If @c "O" get the outer radii, if @c "I" get the
97 @return the radius of the cone */
98 Double_t ConeR(Double_t z, Option_t* opt="O") const;
101 Double_t fNoseZ; // Z position of front of nose
102 Double_t fNoseLowR; // Nose inner radius
103 Double_t fNoseHighR; // Nose outer radius
104 Double_t fNoseLength; // Length of nose in Z
105 Double_t fBackLowR; // Inner radius of base of cone
106 Double_t fBackHighR; // Outer radius of base of cone
107 Double_t fBackLength; // Length of base of cone in Z
108 Double_t fBeamThickness; // Thickness of support beams
109 Double_t fBeamWidth; // Width of support beams
110 Double_t fConeLength; // Length of the cone in Z
111 Double_t fFlangeR; // Outer radius of flanges
112 Double_t fZ; // Midpoint of mother volume
113 Double_t fAlpha; // Slope of cone
114 Int_t fNBeam; // Number of support beams
115 Int_t fNFlange; // Number of support flangesy
116 ClassDef(AliFMD3, 1);
120 //____________________________________________________________________