Avoid warning.
[u/mrichter/AliRoot.git] / RICH / AliRICHParam.cxx
CommitLineData
d48cca74 1#include "AliRICHParam.h"
2#include "AliRICHConst.h" //for units ????
3
4ClassImp(AliRICHParam)
5
6//______________________________________________________________________________
7// RICH main parameters manipulator
8AliRICHParam::AliRICHParam()
9{//defines the default parameters
10 Segmentation (144,160); //nx,ny
11 DeadZone (3*cm); //spacer between PC planes
12 PadSize (8.4*mm,8.0*mm);
13 Size (80*cm,7*cm,60*cm); //full length, not GEANT half notation
14 AngleRot (0*deg); //rotation of the whole RICH around Z
15 AnglesDeg (20,19.5); //XY angle, YZ angle deg
16 Offset (490*cm+1.267*cm); //1.267???????cm distance from IP to the center of module
17 GapThickness (8*cm); //Gap Thickness
18 ProximityGapThickness(0.4*cm); //Proximity Gap Thickness
19 QuartzLength (133*cm); //Quartz Length
20 QuartzWidth (127.9*cm); //Quartz Width
21 QuartzThickness (0.5*cm); //Quartz Thickness
22 OuterFreonLength (133*cm); //Outer Freon Length
23 OuterFreonWidth (41.3*cm); //Outer Freon Width
24 InnerFreonLength (133*cm); //Inner Freon Length
25 InnerFreonWidth (41.3*cm); //Inner Freon Width
26 FreonThickness (1.5*cm); //Freon Thickness
27 RadiatorToPads (0); //Distance from radiator to pads
28
29 SigmaIntegration(5.);
30 ChargeSlope(27.);
31 ChargeSpreadX(0.18);ChargeSpreadY(0.18);
32 MaxAdc(4096);
33 AlphaFeedback(0.036);
34 EIonisation(26.e-9);
35 SqrtKx3(0.77459667);
36 Kx2(0.962);
37 Kx4(0.379);
38 SqrtKy3(0.77459667);
39 Ky2(0.962);
40 Ky4(0.379);
41 Pitch(0.25);
42 WireSag(1); // 1->On, 0->Off
43 Voltage(2150); // Should only be 2000, 2050, 2100 or 2150
44
45 Recalc();
46}//AliRICHParam::named ctor
47//______________________________________________________________________________
48void AliRICHParam::Recalc()
49{//recalculate
50 Float_t csi_length=fNy*fPadY+fDeadZone;
51 Float_t csi_width =fNx*fPadX+2*fDeadZone;
52 fPadPlaneWidth = (csi_width - 2*fDeadZone)/3;
53 fPadPlaneLength = (csi_length - fDeadZone)/2;
54}//void AliRICHParam::Recalc()
55//______________________________________________________________________________