Correct RICH initialisation (JB, AM)
[u/mrichter/AliRoot.git] / macros / Config.C
CommitLineData
fe4da5cc 1void Config()
2{
3
b13db077 4new AliGeant3("C++ Interface to Geant3");
fe4da5cc 5
6//=======================================================================
7// Create the output file
8
9TFile *rootfile = new TFile("galice.root","recreate");
10rootfile->SetCompressionLevel(2);
11TGeant3 *geant3 = (TGeant3*)gMC;
12
13//=======================================================================
14// ******* GEANT STEERING parameters FOR ALICE SIMULATION *******
15geant3->SetTRIG(1); //Number of events to be processed
16geant3->SetSWIT(4,10);
17geant3->SetDEBU(0,0,1);
18//geant3->SetSWIT(2,2);
19geant3->SetDCAY(1);
20geant3->SetPAIR(1);
21geant3->SetCOMP(1);
22geant3->SetPHOT(1);
23geant3->SetPFIS(0);
24geant3->SetDRAY(0);
25geant3->SetANNI(1);
26geant3->SetBREM(1);
27geant3->SetMUNU(1);
28geant3->SetCKOV(1);
29geant3->SetHADR(1); //Select pure GEANH (HADR 1) or GEANH/NUCRIN (HADR 3)
30geant3->SetLOSS(2);
31geant3->SetMULS(1);
32geant3->SetRAYL(1);
33geant3->SetAUTO(1); //Select automatic STMIN etc... calc. (AUTO 1) or manual (AUTO 0)
34geant3->SetABAN(0); //Restore 3.16 behaviour for abandoned tracks
35geant3->SetOPTI(2); //Select optimisation level for GEANT geometry searches (0,1,2)
8c658074 36geant3->SetERAN(5.e-7);
37
fe4da5cc 38Float_t cut = 1.e-3; // 1MeV cut by default
39Float_t tofmax = 1.e10;
40// GAM ELEC NHAD CHAD MUON EBREM MUHAB EDEL MUDEL MUPA TOFMAX
41geant3->SetCUTS(cut,cut, cut, cut, cut, cut, cut, cut, cut, cut, tofmax);
42//
43//=======================================================================
44// ************* STEERING parameters FOR ALICE SIMULATION **************
45// --- Specify event type to be tracked through the ALICE setup
46// --- All positions are in cm, angles in degrees, and P and E in GeV
47AliGenHIJINGpara *gener = new AliGenHIJINGpara(50);
48gener->SetMomentumRange(0,999);
49gener->SetPhiRange(0,360);
50gener->SetThetaRange(10,170);
51gener->SetOrigin(0,0,0); //vertex position
52gener->SetSigma(0,0,0); //Sigma in (X,Y,Z) (cm) on IP position
53gener->Init();
54//
55// Activate this line if you want the vertex smearing to happen
56// track by track
57//
58//gener->SetVertexSmear(perTrack);
59
60gAlice->SetField(-999,2); //Specify maximum magnetic field in Tesla (neg. ==> default field)
61
8de40c27 62Int_t iMAG=0;
63Int_t iITS=0;
64Int_t iTPC=0;
65Int_t iTOF=0;
fe4da5cc 66Int_t iRICH=1;
4048e88d 67Int_t iZDC=0;
8de40c27 68Int_t iCASTOR=0;
69Int_t iTRD=0;
70Int_t iABSO=0;
71Int_t iDIPO=0;
72Int_t iHALL=0;
73Int_t iFRAME=0;
74Int_t iSHIL=0;
75Int_t iPIPE=0;
76Int_t iFMD=0;
77Int_t iMUON=0;
78Int_t iPHOS=0;
79Int_t iPMD=0;
b422f318 80Int_t iSTART=0;
fe4da5cc 81
82//=================== Alice BODY parameters =============================
83AliBODY *BODY = new AliBODY("BODY","Alice envelop");
84
85
86if(iMAG) {
87//=================== MAG parameters ============================
88// --- Start with Magnet since detector layouts may be depending ---
89// --- on the selected Magnet dimensions ---
90AliMAG *MAG = new AliMAG("MAG","Magnet");
91}
92
4b11ac09 93
94if(iABSO) {
95//=================== ABSO parameters ============================
9eecec3c 96AliABSO *ABSO = new AliABSOv0("ABSO","Muon Absorber");
4b11ac09 97}
98
99if(iDIPO) {
100//=================== DIPO parameters ============================
101
102AliDIPO *DIPO = new AliDIPOv2("DIPO","Dipole version 2");
103}
104
105if(iHALL) {
106//=================== HALL parameters ============================
107
108AliHALL *HALL = new AliHALL("HALL","Alice Hall");
109}
110
111
112if(iFRAME) {
113//=================== FRAME parameters ============================
114
115AliFRAME *FRAME = new AliFRAMEv0("FRAME","Space Frame");
1756964f 116
4b11ac09 117}
118
119if(iSHIL) {
120//=================== SHIL parameters ============================
121
9eecec3c 122AliSHIL *SHIL = new AliSHILv0("SHIL","Shielding");
4b11ac09 123}
124
125
126if(iPIPE) {
127//=================== PIPE parameters ============================
128
129AliPIPE *PIPE = new AliPIPEv0("PIPE","Beam Pipe");
130}
131
132
fe4da5cc 133if(iITS) {
134//=================== ITS parameters ============================
135//
136// EUCLID is a flag to output (=1) both geometry and media to two ASCII files
137// (called by default ITSgeometry.euc and ITSgeometry.tme) in a format
138// understandable to the CAD system EUCLID. The default (=0) means that you
139// dont want to use this facility.
140//
8dfe31df 141AliITS *ITS = new AliITSv5("ITS","normal ITS");
142ITS->SetEUCLID(0);
fe4da5cc 143}
144
4d68a14a 145
fe4da5cc 146if(iTPC) {
147//============================ TPC parameters ================================
148// --- This allows the user to specify sectors for the SLOW (TPC geometry 2)
149// --- Simulator. SecAL (SecAU) <0 means that ALL lower (upper)
150// --- sectors are specified, any value other than that requires at least one
151// --- sector (lower or upper)to be specified!
152// --- Reminder: sectors 1-24 are lower sectors (1-12 -> z>0, 13-24 -> z<0)
153// --- sectors 25-72 are the upper ones (25-48 -> z>0, 49-72 -> z<0)
154// --- SecLows - number of lower sectors specified (up to 6)
155// --- SecUps - number of upper sectors specified (up to 12)
156// --- Sens - sensitive strips for the Slow Simulator !!!
157// --- This does NOT work if all S or L-sectors are specified, i.e.
158// --- if SecAL or SecAU < 0
159//
160//
161//-----------------------------------------------------------------------------
162
4d68a14a 163 gROOT->LoadMacro("SetTPCParam.C");
164 AliTPCParam *param = SetTPCParam();
165 AliTPC *TPC = new AliTPCv1("TPC","Normal TPC"); //v1 is default
166 TPC->SetParam(param); // pass the parameter object to the TPC
f72f44b7 167
50e125f7 168// set gas mixture
169
170TPC->SetGasMixt(2,20,10,-1,0.9,0.1,0.);
4d68a14a 171TPC->SetSecAL(4);
172TPC->SetSecAU(4);
173TPC->SetSecLows(1, 2, 3, 19, 20, 21);
174TPC->SetSecUps(37, 38, 39, 37+18, 38+18, 39+18, -1, -1, -1, -1, -1, -1);
f72f44b7 175TPC->SetSens(1);
4d68a14a 176
177if (TPC->IsVersion()==1) param->Write(param->GetTitle());
fe4da5cc 178}
179
180if(iTOF) {
181//=================== TOF parameters ============================
2d1e19f5 182AliTOF *TOF = new AliTOFv1("TOF","normal TOF");
fe4da5cc 183}
184
185if(iRICH) {
186//=================== RICH parameters ===========================
8de40c27 187 AliRICH *RICH = new AliRICHv0("RICH","normal RICH");
188
206e3707 189//
190// Version 0
191// Default Segmentation
8de40c27 192 AliRICHSegmentationV0* SegmentationV0 = new AliRICHSegmentationV0;
193//
194// Segmentation parameters
195 SegmentationV0->SetPadSize(0.84,0.80);
196 SegmentationV0->SetDAnod(0.84/2);
197//
198// Geometry parameters
199 AliRICHGeometry* GeometryV0 = new AliRICHGeometryV0;
200 GeometryV0->SetGapThickness(7.6);
201 GeometryV0->SetProximityGapThickness(.4);
202 GeometryV0->SetQuartzLength(131);
203 GeometryV0->SetQuartzWidth(126.2);
204 GeometryV0->SetQuartzThickness(.5);
205 GeometryV0->SetOuterFreonLength(131);
206 GeometryV0->SetOuterFreonWidth(40.3);
207 GeometryV0->SetInnerFreonLength(131);
208 GeometryV0->SetInnerFreonWidth(40.3);
209 GeometryV0->SetFreonThickness(1);
210//
211// Response parameters
212 AliRICHResponseV0* Rresponse0 = new AliRICHResponseV0;
213 Rresponse0->SetSigmaIntegration(5.);
214 Rresponse0->SetChargeSlope(41.);
215 Rresponse0->SetChargeSpread(0.18, 0.18);
216 Rresponse0->SetMaxAdc(1024);
217 Rresponse0->SetAlphaFeedback(0.05);
218 Rresponse0->SetEIonisation(26.e-9);
219 Rresponse0->SetSqrtKx3(0.77459667);
220 Rresponse0->SetKx2(0.962);
221 Rresponse0->SetKx4(0.379);
222 Rresponse0->SetSqrtKy3(0.77459667);
223 Rresponse0->SetKy2(0.962);
224 Rresponse0->SetKy4(0.379);
225 Rresponse0->SetPitch(0.25);
226//
227//
206e3707 228 for (Int_t i=0; i<7; i++) {
8de40c27 229 RICH->SetGeometryModel(i,GeometryV0);
230 RICH->SetSegmentationModel(i, SegmentationV0);
231 RICH->SetResponseModel(i, Rresponse0);
206e3707 232 RICH->SetNsec(i,1);
233 }
fe4da5cc 234}
235
8de40c27 236
fe4da5cc 237if(iZDC) {
238//=================== ZDC parameters ============================
239
240AliZDC *ZDC = new AliZDCv1("ZDC","normal ZDC");
241}
242
243if(iCASTOR) {
244//=================== CASTOR parameters ============================
245
246AliCASTOR *CASTOR = new AliCASTORv1("CASTOR","normal CASTOR");
247}
248
249if(iTRD) {
250//=================== TRD parameters ============================
251
2d1e19f5 252AliTRD *TRD = new AliTRDv1("TRD","TRD version 0");
43f0a169 253// Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
254TRD->SetGasMix(0);
fe4da5cc 255}
256
fe4da5cc 257if(iFMD) {
258//=================== FMD parameters ============================
259
260AliFMD *FMD = new AliFMDv1("FMD","normal FMD");
261}
262
263if(iMUON) {
264//=================== MUON parameters ===========================
265
266AliMUON *MUON = new AliMUONv0("MUON","normal MUON");
267
916c29ab 268 MUON->SetMaxStepGas(0.1);
269 MUON->SetMaxStepAlu(0.1);
270//
fe4da5cc 271// Version 0
272//
273// First define the number of planes that are segmented (1 or 2) by a call
274// to SetNsec.
275// Then chose for each chamber (chamber plane) the segmentation
276// and response model.
277// They should be equal for the two chambers of each station. In a future
278// version this will be enforced.
279//
280//
281 Int_t chamber;
282 Int_t station;
fe4da5cc 283// Default response
284 AliMUONresponseV0* response0 = new AliMUONresponseV0;
0f5936af 285 response0->SetSqrtKx3(0.7131);
286 response0->SetKx2(1.0107);
287 response0->SetKx4(0.4036);
288 response0->SetSqrtKy3(0.7642);
289 response0->SetKy2(0.9706);
290 response0->SetKy4(0.3831);
fe4da5cc 291 response0->SetPitch(0.25);
0f5936af 292 response0->SetSigmaIntegration(10.);
293 response0->SetChargeSlope(50);
294 response0->SetChargeSpread(0.18, 0.18);
295 response0->SetMaxAdc(4096);
fe4da5cc 296//--------------------------------------------------------
297// Configuration for Chamber TC1/2 (Station 1) ----------
298//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0f5936af 299// Float_t rseg1[4]={17.5, 55.2, 71.3, 95.5};
300 Float_t rseg1[4]={15.5, 55.2, 71.3, 95.5};
301 Int_t nseg1[4]={4, 4, 2, 1};
302//
fe4da5cc 303 chamber=1;
304//^^^^^^^^^
305 MUON->SetNsec(chamber-1,2);
306//
307 AliMUONsegmentationV01 *seg11=new AliMUONsegmentationV01;
0f5936af 308
309 seg11->SetSegRadii(rseg1);
310 seg11->SetPADSIZ(3, 0.5);
311 seg11->SetDAnod(3.0/3./4);
312 seg11->SetPadDivision(nseg1);
313
fe4da5cc 314 MUON->SetSegmentationModel(chamber-1, 1, seg11);
315//
0f5936af 316 AliMUONsegmentationV02 *seg12=new AliMUONsegmentationV02;
317 seg12->SetSegRadii(rseg1);
318 seg12->SetPADSIZ(0.75, 2.0);
319 seg12->SetDAnod(3.0/3./4);
320 seg12->SetPadDivision(nseg1);
fe4da5cc 321
322 MUON->SetSegmentationModel(chamber-1, 2, seg12);
323
0f5936af 324 MUON->SetResponseModel(chamber-1, response0);
325
fe4da5cc 326 chamber=2;
327//^^^^^^^^^
0f5936af 328//
fe4da5cc 329 MUON->SetNsec(chamber-1,2);
0f5936af 330//
331 AliMUONsegmentationV01 *seg21=new AliMUONsegmentationV01;
332 seg21->SetSegRadii(rseg1);
333 seg21->SetPADSIZ(3, 0.5);
334 seg21->SetDAnod(3.0/3./4);
335 seg21->SetPadDivision(nseg1);
336 MUON->SetSegmentationModel(chamber-1, 1, seg21);
337//
338 AliMUONsegmentationV02 *seg22=new AliMUONsegmentationV02;
339 seg22->SetSegRadii(rseg1);
340 seg22->SetPADSIZ(0.75, 2.);
341 seg22->SetDAnod(3.0/3./4);
342 seg22->SetPadDivision(nseg1);
343 MUON->SetSegmentationModel(chamber-1, 2, seg22);
fe4da5cc 344
0f5936af 345 MUON->SetResponseModel(chamber-1, response0);
fe4da5cc 346//
347//--------------------------------------------------------
348// Configuration for Chamber TC3/4 -----------------------
349//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0f5936af 350// Float_t rseg2[4]={23.5, 47.1, 87.7, 122.5};
351 Float_t rseg2[4]={21.5, 47.1, 87.7, 122.5};
352 Int_t nseg2[4]={4, 4, 2, 1};
353//
fe4da5cc 354 chamber=3;
0f5936af 355//^^^^^^^^^
356 MUON->SetNsec(chamber-1,2);
357//
358 AliMUONsegmentationV01 *seg31=new AliMUONsegmentationV01;
359 seg31->SetSegRadii(rseg2);
360 seg31->SetPADSIZ(3, 0.5);
361 seg31->SetDAnod(3.0/3./4);
362 seg31->SetPadDivision(nseg2);
363 MUON->SetSegmentationModel(chamber-1, 1, seg31);
364//
365 AliMUONsegmentationV02 *seg32=new AliMUONsegmentationV02;
366 seg32->SetSegRadii(rseg2);
367 seg32->SetPADSIZ(0.75, 2.);
368 seg32->SetPadDivision(nseg2);
369 seg32->SetDAnod(3.0/3./4);
370
371 MUON->SetSegmentationModel(chamber-1, 2, seg32);
372
fe4da5cc 373 MUON->SetResponseModel(chamber-1, response0);
374
375 chamber=4;
0f5936af 376//^^^^^^^^^
fe4da5cc 377//
0f5936af 378 MUON->SetNsec(chamber-1,2);
379//
380 AliMUONsegmentationV01 *seg41=new AliMUONsegmentationV01;
381 seg41->SetSegRadii(rseg2);
382 seg41->SetPADSIZ(3, 0.5);
383 seg41->SetDAnod(3.0/3./4);
384 seg41->SetPadDivision(nseg2);
385 MUON->SetSegmentationModel(chamber-1, 1, seg41);
fe4da5cc 386//
0f5936af 387 AliMUONsegmentationV02 *seg42=new AliMUONsegmentationV02;
388 seg42->SetSegRadii(rseg2);
389 seg42->SetPADSIZ(0.75, 2.);
390 seg42->SetPadDivision(nseg2);
391 seg42->SetDAnod(3.0/3./4);
392
393 MUON->SetSegmentationModel(chamber-1, 2, seg42);
394
395 MUON->SetResponseModel(chamber-1, response0);
396
397
fe4da5cc 398//--------------------------------------------------------
399// Configuration for Chamber TC5/6 -----------------------
400//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
916c29ab 401/*
fe4da5cc 402 seg5 = new AliMUONsegmentationV1;
403 AliMUONresponseV0* response5 = new AliMUONresponseV0;
404 // K3 = 0.62
405 response5->SetSqrtKx3(0.78740079);
406 response5->SetKx2(0.95237319); // 0.5 * kPI * (1- 0.5*sqrtky3 )
407 response5->SetKx4(0.37480633); // 0.25/TMath::ATan(sqrtkx3)
408 // K3 = 0.55
409 response5->SetSqrtKy3(0.74161985);
410 response5->SetKy2(0.98832946);
411 response5->SetKy4(0.39177817);
412 response5->SetPitch(0.325);
0f5936af 413 response5->SetSigmaIntegration(10.);
414 response5->SetChargeSlope(50);
415 response5->SetChargeSpread(0.4, 0.4);
416 response5->SetMaxAdc(4096);
fe4da5cc 417
418 chamber=5;
419 MUON->SetNsec(chamber-1,1);
420 MUON->SetSegmentationModel(chamber-1, 1, seg5);
421 MUON->SetResponseModel(chamber-1, response5);
422
423 chamber=6;
424 MUON->SetNsec(chamber-1,1);
425 MUON->SetSegmentationModel(chamber-1, 1, seg5);
426 MUON->SetResponseModel(chamber-1, response5);
427//
428// Station 3
429 station=3;
430 MUON->SetPADSIZ(station, 1, 0.975, 0.55);
916c29ab 431*/
432
433 chamber=5;
434//^^^^^^^^^
435 MUON->SetNsec(chamber-1,2);
436//
437 AliMUONsegmentationV0 *seg51=new AliMUONsegmentationV0;
438 seg51->SetPADSIZ(0.75, 0.5);
439 seg51->SetDAnod(3.0/3./4);
440 MUON->SetSegmentationModel(chamber-1, 1, seg51);
441//
442 AliMUONsegmentationV0 *seg52=new AliMUONsegmentationV0;
443 seg52->SetPADSIZ(0.5,0.75);
444 seg52->SetDAnod(3.0/3./4);
445 MUON->SetSegmentationModel(chamber-1, 2, seg52);
446
447 MUON->SetResponseModel(chamber-1, response0);
448
449 chamber=6;
450//^^^^^^^^^
451 MUON->SetNsec(chamber-1,2);
452//
453 AliMUONsegmentationV0 *seg61=new AliMUONsegmentationV0;
454 seg61->SetPADSIZ(0.75, 0.5);
455 seg61->SetDAnod(3.0/3./4);
456 MUON->SetSegmentationModel(chamber-1, 1, seg61);
457//
458 AliMUONsegmentationV0 *seg62=new AliMUONsegmentationV0;
459 seg62->SetPADSIZ(0.5,0.75);
460 seg62->SetDAnod(3.0/3./4);
461 MUON->SetSegmentationModel(chamber-1, 2, seg62);
462
463 MUON->SetResponseModel(chamber-1, response0);
fe4da5cc 464
fe4da5cc 465//--------------------------------------------------------
0f5936af 466// Configuration for Chamber TC7/8 (Station 4) ----------
fe4da5cc 467//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
468
0f5936af 469 Int_t nseg4[4]={4, 4, 2, 1};
470
fe4da5cc 471 chamber=7;
0f5936af 472//^^^^^^^^^
473 MUON->SetNsec(chamber-1,2);
474//
475 AliMUONsegmentationV04 *seg71=new AliMUONsegmentationV04;
476 seg71->SetPADSIZ(10.,0.5);
477 seg71->SetDAnod(0.25);
478 seg71->SetPadDivision(nseg4);
479 MUON->SetSegmentationModel(chamber-1, 1, seg71);
480
481 AliMUONsegmentationV05 *seg72=new AliMUONsegmentationV05;
482 seg72->SetPADSIZ(1,10);
483 seg72->SetDAnod(0.25);
484 seg72->SetPadDivision(nseg4);
485 MUON->SetSegmentationModel(chamber-1, 2, seg72);
fe4da5cc 486
fe4da5cc 487 MUON->SetResponseModel(chamber-1, response0);
488
489 chamber=8;
0f5936af 490//^^^^^^^^^
491 MUON->SetNsec(chamber-1,2);
492 AliMUONsegmentationV04 *seg81=new AliMUONsegmentationV04;
493 seg81->SetPADSIZ(10., 0.5);
494 seg81->SetPadDivision(nseg4);
495 seg81->SetDAnod(0.25);
496 MUON->SetSegmentationModel(chamber-1, 1, seg81);
497
498 AliMUONsegmentationV05 *seg82=new AliMUONsegmentationV05;
499 seg82->SetPADSIZ(1, 10);
500 seg82->SetPadDivision(nseg4);
501 seg82->SetDAnod(0.25);
502 MUON->SetSegmentationModel(chamber-1, 2, seg82);
503
fe4da5cc 504 MUON->SetResponseModel(chamber-1, response0);
0f5936af 505//--------------------------------------------------------
506// Configuration for Chamber TC9/10 (Station 5) ---------
507//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
508 chamber=9;
509//^^^^^^^^^
510 MUON->SetNsec(chamber-1,2);
fe4da5cc 511//
0f5936af 512 AliMUONsegmentationV04 *seg91=new AliMUONsegmentationV04;
513 seg91->SetPADSIZ(10.,0.5);
514 seg91->SetDAnod(0.25);
515 seg91->SetPadDivision(nseg4);
516 MUON->SetSegmentationModel(chamber-1, 1, seg91);
fe4da5cc 517
0f5936af 518 AliMUONsegmentationV05 *seg92=new AliMUONsegmentationV05;
519 seg92->SetPADSIZ(1,10);
520 seg92->SetDAnod(0.25);
521 seg92->SetPadDivision(nseg4);
522
523 MUON->SetSegmentationModel(chamber-1, 2, seg92);
fe4da5cc 524
fe4da5cc 525 MUON->SetResponseModel(chamber-1, response0);
526
527 chamber=10;
0f5936af 528//^^^^^^^^^
529 MUON->SetNsec(chamber-1,2);
530 AliMUONsegmentationV04 *seg101=new AliMUONsegmentationV04;
531 seg101->SetPADSIZ(10., 0.5);
532 seg101->SetPadDivision(nseg4);
533 seg101->SetDAnod(0.25);
534 MUON->SetSegmentationModel(chamber-1, 1, seg101);
535
536 AliMUONsegmentationV05 *seg102=new AliMUONsegmentationV05;
537 seg102->SetPADSIZ(1,10);
538 seg102->SetPadDivision(nseg4);
539 seg102->SetDAnod(0.25);
540 MUON->SetSegmentationModel(chamber-1, 2, seg102);
541
fe4da5cc 542 MUON->SetResponseModel(chamber-1, response0);
0f5936af 543//--------------------------------------------------------
544// Configuration for Trigger staions ---------------------
545// (not yet used/implemented) ----------------------------
546//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fe4da5cc 547
548 chamber=11;
549 MUON->SetNsec(chamber-1,1);
550 AliMUONsegmentationV0 *seg1112=new AliMUONsegmentationV0;
551 seg1112->SetDAnod(0.51/3.);
552
553 MUON->SetSegmentationModel(chamber-1, 1, seg1112);
554 MUON->SetResponseModel(chamber-1, response0);
555
556 chamber=12;
557 MUON->SetNsec(chamber-1,1);
558 MUON->SetSegmentationModel(chamber-1, 1, seg1112);
559 MUON->SetResponseModel(chamber-1, response0);
560//
561// Trigger Station 1
562 station=6;
563 MUON->SetPADSIZ(station, 1, 0.75, 0.5);
564
565 chamber=13;
566 MUON->SetNsec(chamber-1,1);
567 AliMUONsegmentationV0 *seg1314=new AliMUONsegmentationV0;
568 seg1314->SetDAnod(0.51/3.);
569
570 MUON->SetSegmentationModel(chamber-1, 1, seg1314);
571 MUON->SetResponseModel(chamber-1, response0);
572
573 chamber=14;
574 MUON->SetNsec(chamber-1,1);
575 MUON->SetSegmentationModel(chamber-1, 1, seg1314);
576 MUON->SetResponseModel(chamber-1, response0);
577//
578// Trigger Station 2
579 station=7;
580 MUON->SetPADSIZ(station, 1, 0.75, 0.5);
581}
0f5936af 582
fe4da5cc 583//=================== PHOS parameters ===========================
584
8dfe31df 585if(iPHOS) {
47f39b79 586 AliPHOS *PHOS = new AliPHOSv0("PHOS","GPS2");
fe4da5cc 587}
588
8dfe31df 589
fe4da5cc 590if(iPMD) {
591//=================== PMD parameters ============================
592
ecd5c1f7 593AliPMD *PMD = new AliPMDv0("PMD","normal PMD");
fe4da5cc 594PMD->SetPAR(1., 1., 0.8, 0.02);
ecd5c1f7 595PMD->SetIN(6., 18., -580., 27., 27.);
fe4da5cc 596PMD->SetGEO(0.0, 0.2, 4.);
ecd5c1f7 597PMD->SetPadSize(0.8, 1.0, 1.0, 1.5);
598
fe4da5cc 599}
b422f318 600
601if(iSTART) {
602//=================== START parameters ============================
603AliSTART *START = new AliSTARTv0("START","START Detector");
604}
605
fe4da5cc 606
607}