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