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