]>
Commit | Line | Data |
---|---|---|
30178c30 | 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 | ||
d1cd2474 | 16 | // $Id$ |
d1525c79 | 17 | |
18 | // ----------------------------------- | |
d1cd2474 | 19 | // Class AliMUONTriggerGeometryBuilder |
20 | // ----------------------------------- | |
d1525c79 | 21 | // MUON Trigger stations geometry |
22 | // construction class. | |
23 | // Author: Philippe Crochet (LPCCFd) | |
d1cd2474 | 24 | |
25 | #include <TVirtualMC.h> | |
26 | #include <TGeoMatrix.h> | |
27 | ||
e118b27e | 28 | #include "AliLog.h" |
c0404a6c | 29 | #include "AliRun.h" |
e118b27e | 30 | |
d1cd2474 | 31 | #include "AliMUONTriggerGeometryBuilder.h" |
32 | #include "AliMUON.h" | |
b7ef3c96 | 33 | #include "AliMUONConstants.h" |
e118b27e | 34 | #include "AliMUONGeometryModule.h" |
a432117a | 35 | #include "AliMUONGeometryEnvelopeStore.h" |
d1cd2474 | 36 | |
5398f946 | 37 | /// \cond CLASSIMP |
d1cd2474 | 38 | ClassImp(AliMUONTriggerGeometryBuilder) |
5398f946 | 39 | /// \endcond |
d1cd2474 | 40 | |
41 | //______________________________________________________________________________ | |
42 | AliMUONTriggerGeometryBuilder::AliMUONTriggerGeometryBuilder(AliMUON* muon) | |
b7ef3c96 | 43 | : AliMUONVGeometryBuilder(10, 11, 12, 13), |
d1cd2474 | 44 | fMUON(muon) |
45 | { | |
46 | // Standard constructor | |
47 | ||
48 | } | |
49 | ||
50 | //______________________________________________________________________________ | |
51 | AliMUONTriggerGeometryBuilder::AliMUONTriggerGeometryBuilder() | |
52 | : AliMUONVGeometryBuilder(), | |
53 | fMUON(0) | |
54 | { | |
55 | // Default constructor | |
56 | } | |
57 | ||
d1cd2474 | 58 | //______________________________________________________________________________ |
59 | AliMUONTriggerGeometryBuilder::~AliMUONTriggerGeometryBuilder() { | |
60 | // | |
61 | } | |
62 | ||
d1cd2474 | 63 | // |
64 | // public methods | |
65 | // | |
66 | ||
67 | //______________________________________________________________________________ | |
68 | void AliMUONTriggerGeometryBuilder::CreateGeometry() | |
69 | { | |
70 | // From AliMUONv1::CreateGeometry() | |
71 | ||
72 | /* | |
73 | zpos1 and zpos2 are the middle of the first and second | |
74 | planes of station 1 (+1m for second station): | |
75 | zpos1=(zpos1m+zpos1p)/2=(15999+16071)/2=16035 mm, thick/2=40 mm | |
76 | zpos2=(zpos2m+zpos2p)/2=(16169+16241)/2=16205 mm, thick/2=40 mm | |
77 | zposxm and zposxp= middles of gaz gaps within a detection plane | |
78 | rem: the total thickness accounts for 1 mm of al on both | |
79 | side of the RPCs (see zpos1 and zpos2) | |
80 | */ | |
81 | ||
82 | Int_t *idtmed = fMUON->GetIdtmed()->GetArray()-1099; | |
83 | Int_t idAir= idtmed[1100]; // medium 1 | |
84 | Int_t idAlu1=idtmed[1103]; // medium 4 | |
a432117a | 85 | Int_t detElemId=0; // Detection Element Number |
d1cd2474 | 86 | Float_t tpar[3]; |
87 | Double_t dpar[3]; | |
88 | ||
89 | // vertical gap between right and left chambers (kDXZERO*2=4cm) | |
90 | const Float_t kDXZERO=2.; | |
91 | // main distances for chamber definition in first plane/first station | |
92 | const Float_t kXMIN=34.; | |
93 | const Float_t kXMED=51.; | |
b6a52ffa | 94 | const Float_t kXMAX=255.; |
95 | // 090704 kXMAX changed from 272 to 255. | |
d1cd2474 | 96 | // (see fig.2-4 & 2-5 of Local Trigger Board PRR) |
b6a52ffa | 97 | // segmentation updated accordingly |
d1cd2474 | 98 | const Float_t kYMIN=34.; |
99 | const Float_t kYMAX=51.; | |
100 | // inner/outer radius of flange between beam shield. and chambers (1/station) | |
936e7ca3 | 101 | // const Float_t kRMIN[2]={50.,50.}; |
102 | // const Float_t kRMAX[2]={64.,68.}; | |
d1cd2474 | 103 | // z position of the middle of the gas gap in mother vol |
104 | const Float_t kZm=-3.6; | |
65bcb249 | 105 | const Float_t kZp=+3.6; |
106 | ||
b7ef3c96 | 107 | Float_t zpos1= AliMUONConstants::DefaultChamberZ(10); |
108 | Double_t dstation = ( ( - AliMUONConstants::DefaultChamberZ(11)) - | |
109 | ( - AliMUONConstants::DefaultChamberZ(10)) ) /2.1; | |
eb571c25 | 110 | Float_t par[3]; |
111 | par[2] = dstation; | |
112 | ||
d1cd2474 | 113 | // ratio of zpos1m/zpos1p and inverse for first plane |
114 | Float_t zmp=(zpos1-3.6)/(zpos1+3.6); | |
115 | Float_t zpm=1./zmp; | |
116 | ||
117 | Int_t icount=0; // chamber counter (0 1 2 3) | |
118 | ||
119 | for (Int_t istation=0; istation<2; istation++) { // loop on stations | |
120 | for (Int_t iplane=0; iplane<2; iplane++) { // loop on detection planes | |
121 | ||
122 | Int_t iVolNum=1; // counter Volume Number | |
a04ce845 | 123 | icount = Int_t(iplane<<0)+Int_t(istation<<1); |
d1cd2474 | 124 | |
b7ef3c96 | 125 | par[0] = AliMUONConstants::Rmin(5+istation); |
126 | par[1] = AliMUONConstants::Rmax(5+istation); | |
eb571c25 | 127 | Char_t volName[6]; |
e1d22736 | 128 | sprintf(volName,"%s%d", "SC",11+icount); |
eb571c25 | 129 | gMC->Gsvolu(volName,"TUBE", idAir, par, 3); |
eb1c3e3a | 130 | //SetVolume(10+icount, volName); |
43adb63d | 131 | // Float_t zpos = AliMUONConstants::DefaultChamberZ(10+icount); |
132 | ||
880610c7 | 133 | /* removed 03/18/05 |
d1cd2474 | 134 | // Flange between beam shielding and RPC |
135 | tpar[0]= kRMIN[istation]; | |
136 | tpar[1]= kRMAX[istation]; | |
137 | tpar[2]= 4.0; | |
138 | char volFlange[5]; | |
139 | sprintf(volFlange,"SF%dA",icount+1); | |
140 | gMC->Gsvolu(volFlange,"TUBE",idAlu1,tpar,3); // Al | |
141 | // changed by ivana | |
142 | //gMC->Gspos(volFlange,1,"ALIC",0.,0.,zpos,0,"MANY"); | |
a432117a | 143 | iChamber->GetGeometry()->GetEnvelopeStore() |
144 | ->AddEnvelope(volFlange, 0, false, "MANY"); | |
880610c7 | 145 | */ |
d1cd2474 | 146 | |
147 | // scaling factor | |
43adb63d | 148 | // Float_t zRatio = zpos / zpos1; |
149 | Float_t zRatio = AliMUONConstants::DefaultRatioTriggerChamber(icount); | |
150 | ||
151 | ||
152 | ||
153 | ||
d1cd2474 | 154 | // envelopes (same size except line 5, all virtual) |
155 | char volEnv[18][5]; | |
156 | tpar[1] = kYMIN * zRatio; | |
157 | tpar[2] = 0.4; | |
158 | Int_t i=0; // counter | |
159 | for (Int_t icolumn=0; icolumn<2; icolumn++) { | |
160 | for (Int_t iline=1; iline<10; iline++){ | |
161 | tpar[0] = (kXMAX/2.) * zRatio; | |
162 | if (iline==5) tpar[0] = ((kXMAX-kXMED)/2.)*zRatio; | |
163 | if (icolumn==0) | |
d1cd2474 | 164 | sprintf(volEnv[i],"S%dR%d",icount,iline); |
528abf6f | 165 | else |
166 | sprintf(volEnv[i],"S%dL%d",icount,iline); | |
eb1c3e3a | 167 | // gMC->Gsvolu(volEnv[i],"BOX",idAir,tpar,0); |
d1cd2474 | 168 | i++; |
169 | } | |
170 | } | |
171 | ||
172 | // chamber prototype | |
173 | tpar[0]= 0.; | |
174 | tpar[1]= 0.; | |
936e7ca3 | 175 | tpar[2]= 0.; char volAlu[5]; // Alu |
d1cd2474 | 176 | char volBak[5]; // Bakelite |
177 | char volGaz[5]; // Gas streamer | |
178 | sprintf(volAlu,"SC%dA",icount+1); | |
179 | sprintf(volBak,"SB%dA",icount+1); | |
eb571c25 | 180 | sprintf(volGaz,"S%dG",icount+11); |
d1cd2474 | 181 | gMC->Gsvolu(volAlu,"BOX",idAlu1,tpar,0); // Al |
182 | gMC->Gsvolu(volBak,"BOX",idtmed[1107],tpar,0); // Bakelite | |
183 | gMC->Gsvolu(volGaz,"BOX",idtmed[1106],tpar,0); // Gas streamer | |
184 | tpar[0] = -1.; | |
185 | tpar[1] = -1.; | |
186 | tpar[2] = 0.1; | |
187 | gMC->Gsposp(volGaz,1,volBak,0.,0.,0.,0,"ONLY",tpar,3); | |
188 | tpar[2] = 0.3; | |
189 | gMC->Gsposp(volBak,1,volAlu,0.,0.,0.,0,"ONLY",tpar,3); | |
190 | ||
191 | // chamber type A | |
192 | Float_t xEnv = (kDXZERO+kXMED+(kXMAX-kXMED)/2.)*zRatio; | |
193 | Float_t yEnvM = 0.; // y low position of envelope in chamber | |
194 | Float_t yEnvP = 0.; // y up position of envelope in chamber | |
195 | Float_t yEnvPsave = 0.; // tmp data | |
196 | Float_t yEnvMsave = 0.; // tmp data | |
197 | Float_t xpos = 0.; // x position of RPC in envelope | |
198 | Float_t ypos = 0.; // y position of RPC in envelope | |
199 | dpar[2] = 0.4; | |
200 | dpar[0] = ((kXMAX-kXMED)/2.)*zRatio; | |
201 | dpar[1] = kYMIN * zRatio; | |
202 | ||
65bcb249 | 203 | detElemId = (10+icount+1)*100; |
8bd68448 | 204 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[4], detElemId, true, TGeoTranslation(xEnv,yEnvP,kZp)); |
65bcb249 | 205 | detElemId = (10+icount+1)*100+9; |
8bd68448 | 206 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[13], detElemId, true, TGeoTranslation(-xEnv,yEnvM,kZm),TGeoRotation("rot1",90.,180.,90.,90.,180.,0.)); |
d1cd2474 | 207 | |
a432117a | 208 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[4],iVolNum++,3, dpar); |
209 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[13],iVolNum++,3, dpar); | |
d1cd2474 | 210 | |
211 | // chamber type B (plus envelope chambers B & C) | |
212 | xEnv = (kDXZERO+kXMAX/2.)*zRatio; | |
213 | yEnvPsave = yEnvP; | |
214 | yEnvMsave = yEnvM; | |
215 | yEnvP = (yEnvMsave + kYMIN * zRatio ) * zpm + kYMIN * zRatio; | |
216 | yEnvM = (yEnvPsave + kYMIN * zRatio ) * zmp + kYMIN * zRatio; | |
217 | dpar[0] = ((kXMAX-kXMIN)/2.) * zRatio; | |
218 | dpar[1] = ((kYMAX-kYMIN)/2.) * zRatio; | |
219 | xpos = kXMIN/2. * zRatio; | |
220 | ypos = (kYMIN - kYMIN/4.) * zRatio; | |
221 | ||
65bcb249 | 222 | detElemId = (10+icount+1)*100+17; |
223 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[3], detElemId, true, TGeoTranslation( xEnv,-yEnvM,kZm)); | |
224 | detElemId = (10+icount+1)*100+1; | |
8bd68448 | 225 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[5], detElemId, true, TGeoTranslation( xEnv, yEnvM,kZm)); |
65bcb249 | 226 | detElemId = (10+icount+1)*100+10; |
8bd68448 | 227 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[12], detElemId, true, TGeoTranslation(-xEnv,-yEnvP,kZp),TGeoRotation("rot1",90.,180.,90.,90.,180.,0.)); |
65bcb249 | 228 | detElemId = (10+icount+1)*100+8; |
8bd68448 | 229 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[14], detElemId, true, TGeoTranslation(-xEnv, yEnvP,kZp),TGeoRotation("rot1",90.,180.,90.,90.,180.,0.)); |
d1cd2474 | 230 | |
a432117a | 231 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[3],iVolNum++,TGeoTranslation(xpos, ypos,0.),3,dpar); |
232 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[5],iVolNum++,TGeoTranslation(xpos,-ypos,0.),3,dpar); | |
298c0899 | 233 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[12],iVolNum++,TGeoTranslation(xpos, ypos,0.),3,dpar); |
234 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[14],iVolNum++,TGeoTranslation(xpos,-ypos,0.),3,dpar); | |
d1cd2474 | 235 | |
236 | // chamber type C (note: same Z than type B) | |
237 | dpar[0] = (kXMAX/2)*zRatio; | |
238 | dpar[1] = (kYMAX/2)*zRatio; | |
239 | xpos = 0.; | |
240 | ypos = ((kYMAX - kYMIN)/2.) * zRatio; | |
241 | ||
a432117a | 242 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[3],iVolNum++,TGeoTranslation(xpos,-ypos,0.),3,dpar); |
243 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[5],iVolNum++,TGeoTranslation(xpos, ypos,0.),3,dpar); | |
298c0899 | 244 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[12],iVolNum++,TGeoTranslation(xpos,-ypos,0.),3,dpar); |
245 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[14],iVolNum++,TGeoTranslation(xpos, ypos,0.),3,dpar); | |
880610c7 | 246 | |
d1cd2474 | 247 | // chamber type D, E and F (same size) |
248 | // D | |
249 | yEnvPsave = yEnvP; | |
250 | yEnvMsave = yEnvM; | |
251 | yEnvP = (yEnvMsave + kYMIN * zRatio ) * zpm + kYMIN * zRatio; | |
252 | yEnvM = (yEnvPsave + kYMIN * zRatio ) * zmp + kYMIN * zRatio; | |
253 | dpar[0] = (kXMAX/2.)*zRatio; | |
254 | dpar[1] = kYMIN*zRatio; | |
255 | ||
65bcb249 | 256 | detElemId = (10+icount+1)*100+16; |
8bd68448 | 257 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[2], detElemId, true, TGeoTranslation(xEnv,-yEnvP,kZp)); |
65bcb249 | 258 | detElemId = (10+icount+1)*100+2; |
8bd68448 | 259 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[6], detElemId, true, TGeoTranslation(xEnv, yEnvP,kZp)); |
65bcb249 | 260 | detElemId = (10+icount+1)*100+11; |
8bd68448 | 261 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[11], detElemId, true, TGeoTranslation(-xEnv,-yEnvM,kZm),TGeoRotation("rot1",90.,180.,90.,90.,180.,0.)); |
65bcb249 | 262 | detElemId = (10+icount+1)*100+7; |
8bd68448 | 263 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[15], detElemId, true, TGeoTranslation(-xEnv, yEnvM,kZm),TGeoRotation("rot1",90.,180.,90.,90.,180.,0.)); |
d1cd2474 | 264 | |
a432117a | 265 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[2],iVolNum++,3, dpar); |
266 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[6],iVolNum++,3, dpar); | |
267 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[11],iVolNum++,3, dpar); | |
268 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[15],iVolNum++,3, dpar); | |
d1cd2474 | 269 | |
270 | // E | |
271 | yEnvPsave = yEnvP; | |
272 | yEnvMsave = yEnvM; | |
273 | yEnvP = (yEnvMsave + kYMIN * zRatio ) * zpm + kYMIN * zRatio; | |
274 | yEnvM = (yEnvPsave + kYMIN * zRatio ) * zmp + kYMIN * zRatio; | |
275 | ||
65bcb249 | 276 | detElemId = (10+icount+1)*100+15; |
8bd68448 | 277 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[1], detElemId, true, TGeoTranslation(xEnv,-yEnvM,kZm)); |
65bcb249 | 278 | detElemId = (10+icount+1)*100+3; |
8bd68448 | 279 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[7], detElemId, true, TGeoTranslation(xEnv, yEnvM,kZm)); |
65bcb249 | 280 | detElemId = (10+icount+1)*100+12; |
8bd68448 | 281 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[10], detElemId, true, TGeoTranslation(-xEnv,-yEnvP,kZp),TGeoRotation("rot1",90.,180.,90.,90.,180.,0.)); |
65bcb249 | 282 | detElemId = (10+icount+1)*100+6; |
8bd68448 | 283 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[16], detElemId, true, TGeoTranslation(-xEnv, yEnvP,kZp),TGeoRotation("rot1",90.,180.,90.,90.,180.,0.)); |
d1cd2474 | 284 | |
a432117a | 285 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[1],iVolNum++,3,dpar); |
286 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[7],iVolNum++,3,dpar); | |
287 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[10],iVolNum++,3,dpar); | |
288 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[16],iVolNum++,3,dpar); | |
d1cd2474 | 289 | |
290 | ||
291 | // F | |
292 | yEnvPsave = yEnvP; | |
293 | yEnvMsave = yEnvM; | |
294 | yEnvP = (yEnvMsave + kYMIN * zRatio ) * zpm + kYMIN * zRatio; | |
295 | yEnvM = (yEnvPsave + kYMIN * zRatio ) * zmp + kYMIN * zRatio; | |
296 | ||
65bcb249 | 297 | detElemId = (10+icount+1)*100+14; |
8bd68448 | 298 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[0], detElemId, true, TGeoTranslation(xEnv,-yEnvP,kZp)); |
65bcb249 | 299 | detElemId = (10+icount+1)*100+4; |
8bd68448 | 300 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[8], detElemId, true, TGeoTranslation(xEnv, yEnvP,kZp)); |
65bcb249 | 301 | detElemId = (10+icount+1)*100+13; |
8bd68448 | 302 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[9], detElemId, true, TGeoTranslation(-xEnv,-yEnvM,kZm),TGeoRotation("rot1",90.,180.,90.,90.,180.,0.)); |
65bcb249 | 303 | detElemId = (10+icount+1)*100+5; |
8bd68448 | 304 | GetEnvelopes(10+icount)->AddEnvelope(volEnv[17], detElemId, true, TGeoTranslation(-xEnv, yEnvM,kZm),TGeoRotation("rot1",90.,180.,90.,90.,180.,0.)); |
528abf6f | 305 | |
a432117a | 306 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[0],iVolNum++,3,dpar); |
307 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[8],iVolNum++,3,dpar); | |
308 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[9],iVolNum++,3,dpar); | |
309 | GetEnvelopes(10+icount)->AddEnvelopeConstituentParam(volAlu,volEnv[17],iVolNum++,3,dpar); | |
d1cd2474 | 310 | |
311 | } // end loop on detection planes | |
312 | } // end loop on stations | |
313 | } | |
314 | ||
315 | //______________________________________________________________________________ | |
316 | void AliMUONTriggerGeometryBuilder::SetTransformations() | |
317 | { | |
318 | // Defines the transformations for the trigger chambers. | |
319 | // --- | |
d1cd2474 | 320 | |
c0404a6c | 321 | if (gAlice->GetModule("SHIL")) { |
322 | SetMotherVolume(10, "YOUT2"); | |
323 | SetMotherVolume(11, "YOUT2"); | |
324 | SetMotherVolume(12, "YOUT2"); | |
325 | SetMotherVolume(13, "YOUT2"); | |
326 | } | |
327 | ||
eb1c3e3a | 328 | SetVolume(10, "SC11"); |
329 | SetVolume(11, "SC12"); | |
330 | SetVolume(12, "SC13"); | |
331 | SetVolume(13, "SC14"); | |
332 | ||
b7ef3c96 | 333 | Double_t zpos1= AliMUONConstants::DefaultChamberZ(10); |
334 | SetTranslation(10, TGeoTranslation(0., 0., zpos1)); | |
d1cd2474 | 335 | |
b7ef3c96 | 336 | zpos1= AliMUONConstants::DefaultChamberZ(11); |
337 | SetTranslation(11, TGeoTranslation(0., 0., zpos1)); | |
338 | ||
339 | zpos1= AliMUONConstants::DefaultChamberZ(12); | |
340 | SetTranslation(12, TGeoTranslation(0., 0., zpos1)); | |
341 | ||
342 | zpos1= AliMUONConstants::DefaultChamberZ(13); | |
343 | SetTranslation(13, TGeoTranslation(0., 0., zpos1)); | |
d1cd2474 | 344 | } |
345 | ||
346 | //______________________________________________________________________________ | |
347 | void AliMUONTriggerGeometryBuilder::SetSensitiveVolumes() | |
348 | { | |
349 | // Defines the sensitive volumes for trigger station chambers. | |
350 | // --- | |
351 | ||
eb571c25 | 352 | GetGeometry(10)->SetSensitiveVolume("S11G"); |
353 | GetGeometry(11)->SetSensitiveVolume("S12G"); | |
354 | GetGeometry(12)->SetSensitiveVolume("S13G"); | |
355 | GetGeometry(13)->SetSensitiveVolume("S14G"); | |
d1cd2474 | 356 | } |
357 |