1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
19 /////////////////////////////////////////////////////////////
20 // Manager and hits classes for set: RICH default version //
21 /////////////////////////////////////////////////////////////
23 #include "Riostream.h"
28 #include <TVirtualMC.h>
32 #include "AliRICHGeometry.h"
33 #include "AliRICHResponse.h"
34 #include "AliRICHResponseV0.h"
35 #include "AliRICHSegmentationV0.h"
36 #include "AliRICHv0.h"
41 //___________________________________________
42 AliRICHv0::AliRICHv0(const char *name, const char *title)
47 // Default Segmentation, no hits
48 AliRICHSegmentationV0* segmentation = new AliRICHSegmentationV0;
50 // Segmentation parameters
51 segmentation->SetPadSize(0.84,0.80);
52 segmentation->SetDAnod(0.84/2);
54 // Geometry parameters
55 AliRICHGeometry* geometry = new AliRICHGeometry;
56 geometry->SetGapThickness(8);
57 geometry->SetProximityGapThickness(.4);
58 geometry->SetQuartzLength(131);
59 geometry->SetQuartzWidth(126.2);
60 geometry->SetQuartzThickness(.5);
61 geometry->SetOuterFreonLength(131);
62 geometry->SetOuterFreonWidth(40.3);
63 geometry->SetInnerFreonLength(131);
64 geometry->SetInnerFreonWidth(40.3);
65 geometry->SetFreonThickness(1.5);
67 // Response parameters
68 AliRICHResponseV0* response = new AliRICHResponseV0;
69 response->SetSigmaIntegration(5.);
70 response->SetChargeSlope(27.);
71 response->SetChargeSpread(0.18, 0.18);
72 response->SetMaxAdc(4096);
73 response->SetAlphaFeedback(0.036);
74 response->SetEIonisation(26.e-9);
75 response->SetSqrtKx3(0.77459667);
76 response->SetKx2(0.962);
77 response->SetKx4(0.379);
78 response->SetSqrtKy3(0.77459667);
79 response->SetKy2(0.962);
80 response->SetKy4(0.379);
81 response->SetPitch(0.25);
82 response->SetWireSag(0); // 1->On, 0->Off
83 response->SetVoltage(2150); // Should only be 2000, 2050, 2100 or 2150
85 // AliRICH *RICH = (AliRICH *) gAlice->GetDetector("RICH");
91 fChambers = new TObjArray(kNCH);
92 for (i=0; i<kNCH; i++) {
94 //PH (*fChambers)[i] = new AliRICHChamber();
95 fChambers->AddAt(new AliRICHChamber(), i);
99 for (i=0; i<kNCH; i++) {
100 SetGeometryModel(i,geometry);
101 SetSegmentationModel(i, segmentation);
102 SetResponseModel(i, response);
105 //______________________________________________________________________________
106 void AliRICHv0::StepManager()
108 }//AliRICHv0::StepManager()
109 //______________________________________________________________________________