]>
Commit | Line | Data |
---|---|---|
4c039060 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
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 | **************************************************************************/ | |
15 | ||
88cb7938 | 16 | /* $Id$ */ |
6e36c0f2 | 17 | |
18 | ||
c71fc6da | 19 | ///////////////////////////////////////////////////////////// |
20 | // Manager and hits classes for set: RICH default version // | |
21 | ///////////////////////////////////////////////////////////// | |
ddae0931 | 22 | |
88cb7938 | 23 | #include "Riostream.h" |
24 | ||
ddae0931 | 25 | #include <TNode.h> |
26 | #include <TRandom.h> | |
88cb7938 | 27 | #include <TTUBE.h> |
28 | #include <TVirtualMC.h> | |
ddae0931 | 29 | |
88cb7938 | 30 | #include "AliConst.h" |
31 | #include "AliPDG.h" | |
32 | #include "AliRICHGeometry.h" | |
237c933d | 33 | #include "AliRICHResponse.h" |
237c933d | 34 | #include "AliRICHResponseV0.h" |
88cb7938 | 35 | #include "AliRICHSegmentationV0.h" |
36 | #include "AliRICHv0.h" | |
ddae0931 | 37 | #include "AliRun.h" |
ddae0931 | 38 | |
39 | ClassImp(AliRICHv0) | |
40 | ||
ddae0931 | 41 | //___________________________________________ |
42 | AliRICHv0::AliRICHv0(const char *name, const char *title) | |
e14b8113 | 43 | :AliRICH(name,title) |
ddae0931 | 44 | { |
e14b8113 | 45 | // |
c71fc6da | 46 | // Version 0 |
237c933d | 47 | // Default Segmentation, no hits |
c4384528 | 48 | AliRICHSegmentationV0* segmentation = new AliRICHSegmentationV0; |
c71fc6da | 49 | // |
50 | // Segmentation parameters | |
c4384528 | 51 | segmentation->SetPadSize(0.84,0.80); |
52 | segmentation->SetDAnod(0.84/2); | |
c71fc6da | 53 | // |
54 | // Geometry parameters | |
237c933d | 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); | |
a2db5cde | 65 | geometry->SetFreonThickness(1.5); |
c71fc6da | 66 | // |
67 | // Response parameters | |
c4384528 | 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 | |
c71fc6da | 84 | // |
85 | // AliRICH *RICH = (AliRICH *) gAlice->GetDetector("RICH"); | |
86 | ||
237c933d | 87 | fCkovNumber=0; |
88 | fFreonProd=0; | |
7f36f6bc | 89 | Int_t i=0; |
c71fc6da | 90 | |
237c933d | 91 | fChambers = new TObjArray(kNCH); |
7f36f6bc | 92 | for (i=0; i<kNCH; i++) { |
c71fc6da | 93 | |
2682e810 | 94 | //PH (*fChambers)[i] = new AliRICHChamber(); |
95 | fChambers->AddAt(new AliRICHChamber(), i); | |
c71fc6da | 96 | |
97 | } | |
98 | ||
7f36f6bc | 99 | for (i=0; i<kNCH; i++) { |
237c933d | 100 | SetGeometryModel(i,geometry); |
c4384528 | 101 | SetSegmentationModel(i, segmentation); |
102 | SetResponseModel(i, response); | |
9e1a0ddb | 103 | } |
e14b8113 | 104 | }//name ctor |
105 | //______________________________________________________________________________ | |
106 | void AliRICHv0::StepManager() | |
107 | {// | |
108 | }//AliRICHv0::StepManager() | |
109 | //______________________________________________________________________________ |