New PID in AliPHOSPIDv1
[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
62Int_t iMAG=1;
63Int_t iITS=1;
64Int_t iTPC=1;
65Int_t iTOF=1;
66Int_t iRICH=1;
4048e88d 67Int_t iZDC=0;
fe4da5cc 68Int_t iCASTOR=1;
69Int_t iTRD=1;
70Int_t iABSO=1;
71Int_t iDIPO=1;
72Int_t iHALL=1;
43f0a169 73Int_t iFRAME=1;
fe4da5cc 74Int_t iSHIL=1;
75Int_t iPIPE=1;
76Int_t iFMD=1;
77Int_t iMUON=1;
78Int_t iPHOS=1;
79Int_t iPMD=1;
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 ===========================
187
206e3707 188 AliRICH *RICH = new AliRICHv0("RICH","normal RICH");
fe4da5cc 189
206e3707 190 RICH->SetSMAXAR(0.03);
191 RICH->SetSMAXAL(-1);
192//
193// Version 0
194// Default Segmentation
195 AliRICHsegmentationV0* RsegV0 = new AliRICHsegmentationV0;
196 RsegV0->SetPADSIZ(.8, .8);
197 RsegV0->SetDAnod(0.8/3);
198// Default response
199 AliRICHresponseV0* Rresponse0 = new AliRICHresponseV0;
200 AliRICHresponseCkv* RresponseCkv = new AliRICHresponseCkv;
201
202//------------------------Chambers 0-6 ----------------------------
203 for (Int_t i=0; i<7; i++) {
204 RICH->SetSegmentationModel(i, 1, RsegV0);
205 RICH->SetResponseModel(i, mip , Rresponse0);
206 RICH->SetResponseModel(i, cerenkov, RresponseCkv);
207 RICH->Chamber(i).SetRSIGM(5.);
208 RICH->Chamber(i).SetMUCHSP(43.);
209 RICH->Chamber(i).SetMUSIGM(0.18, 0.18);
210 RICH->Chamber(i).SetMAXADC( 1024);
211 RICH->Chamber(i).SetSqrtKx3(0.77459667);
212 RICH->Chamber(i).SetKx2(0.962);
213 RICH->Chamber(i).SetKx4(0.379);
214 RICH->Chamber(i).SetSqrtKy3(0.77459667);
215 RICH->Chamber(i).SetKy2(0.962);
216 RICH->Chamber(i).SetKy4(0.379);
217 RICH->Chamber(i).SetPitch(0.25);
218 RICH->SetNsec(i,1);
219 }
fe4da5cc 220}
221
222if(iZDC) {
223//=================== ZDC parameters ============================
224
225AliZDC *ZDC = new AliZDCv1("ZDC","normal ZDC");
226}
227
228if(iCASTOR) {
229//=================== CASTOR parameters ============================
230
231AliCASTOR *CASTOR = new AliCASTORv1("CASTOR","normal CASTOR");
232}
233
234if(iTRD) {
235//=================== TRD parameters ============================
236
2d1e19f5 237AliTRD *TRD = new AliTRDv1("TRD","TRD version 0");
43f0a169 238// Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
239TRD->SetGasMix(0);
fe4da5cc 240}
241
fe4da5cc 242if(iFMD) {
243//=================== FMD parameters ============================
244
245AliFMD *FMD = new AliFMDv1("FMD","normal FMD");
246}
247
248if(iMUON) {
249//=================== MUON parameters ===========================
250
251AliMUON *MUON = new AliMUONv0("MUON","normal MUON");
252
916c29ab 253 MUON->SetMaxStepGas(0.1);
254 MUON->SetMaxStepAlu(0.1);
255//
fe4da5cc 256// Version 0
257//
258// First define the number of planes that are segmented (1 or 2) by a call
259// to SetNsec.
260// Then chose for each chamber (chamber plane) the segmentation
261// and response model.
262// They should be equal for the two chambers of each station. In a future
263// version this will be enforced.
264//
265//
266 Int_t chamber;
267 Int_t station;
fe4da5cc 268// Default response
269 AliMUONresponseV0* response0 = new AliMUONresponseV0;
0f5936af 270 response0->SetSqrtKx3(0.7131);
271 response0->SetKx2(1.0107);
272 response0->SetKx4(0.4036);
273 response0->SetSqrtKy3(0.7642);
274 response0->SetKy2(0.9706);
275 response0->SetKy4(0.3831);
fe4da5cc 276 response0->SetPitch(0.25);
0f5936af 277 response0->SetSigmaIntegration(10.);
278 response0->SetChargeSlope(50);
279 response0->SetChargeSpread(0.18, 0.18);
280 response0->SetMaxAdc(4096);
fe4da5cc 281//--------------------------------------------------------
282// Configuration for Chamber TC1/2 (Station 1) ----------
283//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0f5936af 284// Float_t rseg1[4]={17.5, 55.2, 71.3, 95.5};
285 Float_t rseg1[4]={15.5, 55.2, 71.3, 95.5};
286 Int_t nseg1[4]={4, 4, 2, 1};
287//
fe4da5cc 288 chamber=1;
289//^^^^^^^^^
290 MUON->SetNsec(chamber-1,2);
291//
292 AliMUONsegmentationV01 *seg11=new AliMUONsegmentationV01;
0f5936af 293
294 seg11->SetSegRadii(rseg1);
295 seg11->SetPADSIZ(3, 0.5);
296 seg11->SetDAnod(3.0/3./4);
297 seg11->SetPadDivision(nseg1);
298
fe4da5cc 299 MUON->SetSegmentationModel(chamber-1, 1, seg11);
300//
0f5936af 301 AliMUONsegmentationV02 *seg12=new AliMUONsegmentationV02;
302 seg12->SetSegRadii(rseg1);
303 seg12->SetPADSIZ(0.75, 2.0);
304 seg12->SetDAnod(3.0/3./4);
305 seg12->SetPadDivision(nseg1);
fe4da5cc 306
307 MUON->SetSegmentationModel(chamber-1, 2, seg12);
308
0f5936af 309 MUON->SetResponseModel(chamber-1, response0);
310
fe4da5cc 311 chamber=2;
312//^^^^^^^^^
0f5936af 313//
fe4da5cc 314 MUON->SetNsec(chamber-1,2);
0f5936af 315//
316 AliMUONsegmentationV01 *seg21=new AliMUONsegmentationV01;
317 seg21->SetSegRadii(rseg1);
318 seg21->SetPADSIZ(3, 0.5);
319 seg21->SetDAnod(3.0/3./4);
320 seg21->SetPadDivision(nseg1);
321 MUON->SetSegmentationModel(chamber-1, 1, seg21);
322//
323 AliMUONsegmentationV02 *seg22=new AliMUONsegmentationV02;
324 seg22->SetSegRadii(rseg1);
325 seg22->SetPADSIZ(0.75, 2.);
326 seg22->SetDAnod(3.0/3./4);
327 seg22->SetPadDivision(nseg1);
328 MUON->SetSegmentationModel(chamber-1, 2, seg22);
fe4da5cc 329
0f5936af 330 MUON->SetResponseModel(chamber-1, response0);
fe4da5cc 331//
332//--------------------------------------------------------
333// Configuration for Chamber TC3/4 -----------------------
334//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0f5936af 335// Float_t rseg2[4]={23.5, 47.1, 87.7, 122.5};
336 Float_t rseg2[4]={21.5, 47.1, 87.7, 122.5};
337 Int_t nseg2[4]={4, 4, 2, 1};
338//
fe4da5cc 339 chamber=3;
0f5936af 340//^^^^^^^^^
341 MUON->SetNsec(chamber-1,2);
342//
343 AliMUONsegmentationV01 *seg31=new AliMUONsegmentationV01;
344 seg31->SetSegRadii(rseg2);
345 seg31->SetPADSIZ(3, 0.5);
346 seg31->SetDAnod(3.0/3./4);
347 seg31->SetPadDivision(nseg2);
348 MUON->SetSegmentationModel(chamber-1, 1, seg31);
349//
350 AliMUONsegmentationV02 *seg32=new AliMUONsegmentationV02;
351 seg32->SetSegRadii(rseg2);
352 seg32->SetPADSIZ(0.75, 2.);
353 seg32->SetPadDivision(nseg2);
354 seg32->SetDAnod(3.0/3./4);
355
356 MUON->SetSegmentationModel(chamber-1, 2, seg32);
357
fe4da5cc 358 MUON->SetResponseModel(chamber-1, response0);
359
360 chamber=4;
0f5936af 361//^^^^^^^^^
fe4da5cc 362//
0f5936af 363 MUON->SetNsec(chamber-1,2);
364//
365 AliMUONsegmentationV01 *seg41=new AliMUONsegmentationV01;
366 seg41->SetSegRadii(rseg2);
367 seg41->SetPADSIZ(3, 0.5);
368 seg41->SetDAnod(3.0/3./4);
369 seg41->SetPadDivision(nseg2);
370 MUON->SetSegmentationModel(chamber-1, 1, seg41);
fe4da5cc 371//
0f5936af 372 AliMUONsegmentationV02 *seg42=new AliMUONsegmentationV02;
373 seg42->SetSegRadii(rseg2);
374 seg42->SetPADSIZ(0.75, 2.);
375 seg42->SetPadDivision(nseg2);
376 seg42->SetDAnod(3.0/3./4);
377
378 MUON->SetSegmentationModel(chamber-1, 2, seg42);
379
380 MUON->SetResponseModel(chamber-1, response0);
381
382
fe4da5cc 383//--------------------------------------------------------
384// Configuration for Chamber TC5/6 -----------------------
385//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
916c29ab 386/*
fe4da5cc 387 seg5 = new AliMUONsegmentationV1;
388 AliMUONresponseV0* response5 = new AliMUONresponseV0;
389 // K3 = 0.62
390 response5->SetSqrtKx3(0.78740079);
391 response5->SetKx2(0.95237319); // 0.5 * kPI * (1- 0.5*sqrtky3 )
392 response5->SetKx4(0.37480633); // 0.25/TMath::ATan(sqrtkx3)
393 // K3 = 0.55
394 response5->SetSqrtKy3(0.74161985);
395 response5->SetKy2(0.98832946);
396 response5->SetKy4(0.39177817);
397 response5->SetPitch(0.325);
0f5936af 398 response5->SetSigmaIntegration(10.);
399 response5->SetChargeSlope(50);
400 response5->SetChargeSpread(0.4, 0.4);
401 response5->SetMaxAdc(4096);
fe4da5cc 402
403 chamber=5;
404 MUON->SetNsec(chamber-1,1);
405 MUON->SetSegmentationModel(chamber-1, 1, seg5);
406 MUON->SetResponseModel(chamber-1, response5);
407
408 chamber=6;
409 MUON->SetNsec(chamber-1,1);
410 MUON->SetSegmentationModel(chamber-1, 1, seg5);
411 MUON->SetResponseModel(chamber-1, response5);
412//
413// Station 3
414 station=3;
415 MUON->SetPADSIZ(station, 1, 0.975, 0.55);
916c29ab 416*/
417
418 chamber=5;
419//^^^^^^^^^
420 MUON->SetNsec(chamber-1,2);
421//
422 AliMUONsegmentationV0 *seg51=new AliMUONsegmentationV0;
423 seg51->SetPADSIZ(0.75, 0.5);
424 seg51->SetDAnod(3.0/3./4);
425 MUON->SetSegmentationModel(chamber-1, 1, seg51);
426//
427 AliMUONsegmentationV0 *seg52=new AliMUONsegmentationV0;
428 seg52->SetPADSIZ(0.5,0.75);
429 seg52->SetDAnod(3.0/3./4);
430 MUON->SetSegmentationModel(chamber-1, 2, seg52);
431
432 MUON->SetResponseModel(chamber-1, response0);
433
434 chamber=6;
435//^^^^^^^^^
436 MUON->SetNsec(chamber-1,2);
437//
438 AliMUONsegmentationV0 *seg61=new AliMUONsegmentationV0;
439 seg61->SetPADSIZ(0.75, 0.5);
440 seg61->SetDAnod(3.0/3./4);
441 MUON->SetSegmentationModel(chamber-1, 1, seg61);
442//
443 AliMUONsegmentationV0 *seg62=new AliMUONsegmentationV0;
444 seg62->SetPADSIZ(0.5,0.75);
445 seg62->SetDAnod(3.0/3./4);
446 MUON->SetSegmentationModel(chamber-1, 2, seg62);
447
448 MUON->SetResponseModel(chamber-1, response0);
fe4da5cc 449
fe4da5cc 450//--------------------------------------------------------
0f5936af 451// Configuration for Chamber TC7/8 (Station 4) ----------
fe4da5cc 452//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
453
0f5936af 454 Int_t nseg4[4]={4, 4, 2, 1};
455
fe4da5cc 456 chamber=7;
0f5936af 457//^^^^^^^^^
458 MUON->SetNsec(chamber-1,2);
459//
460 AliMUONsegmentationV04 *seg71=new AliMUONsegmentationV04;
461 seg71->SetPADSIZ(10.,0.5);
462 seg71->SetDAnod(0.25);
463 seg71->SetPadDivision(nseg4);
464 MUON->SetSegmentationModel(chamber-1, 1, seg71);
465
466 AliMUONsegmentationV05 *seg72=new AliMUONsegmentationV05;
467 seg72->SetPADSIZ(1,10);
468 seg72->SetDAnod(0.25);
469 seg72->SetPadDivision(nseg4);
470 MUON->SetSegmentationModel(chamber-1, 2, seg72);
fe4da5cc 471
fe4da5cc 472 MUON->SetResponseModel(chamber-1, response0);
473
474 chamber=8;
0f5936af 475//^^^^^^^^^
476 MUON->SetNsec(chamber-1,2);
477 AliMUONsegmentationV04 *seg81=new AliMUONsegmentationV04;
478 seg81->SetPADSIZ(10., 0.5);
479 seg81->SetPadDivision(nseg4);
480 seg81->SetDAnod(0.25);
481 MUON->SetSegmentationModel(chamber-1, 1, seg81);
482
483 AliMUONsegmentationV05 *seg82=new AliMUONsegmentationV05;
484 seg82->SetPADSIZ(1, 10);
485 seg82->SetPadDivision(nseg4);
486 seg82->SetDAnod(0.25);
487 MUON->SetSegmentationModel(chamber-1, 2, seg82);
488
fe4da5cc 489 MUON->SetResponseModel(chamber-1, response0);
0f5936af 490//--------------------------------------------------------
491// Configuration for Chamber TC9/10 (Station 5) ---------
492//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
493 chamber=9;
494//^^^^^^^^^
495 MUON->SetNsec(chamber-1,2);
fe4da5cc 496//
0f5936af 497 AliMUONsegmentationV04 *seg91=new AliMUONsegmentationV04;
498 seg91->SetPADSIZ(10.,0.5);
499 seg91->SetDAnod(0.25);
500 seg91->SetPadDivision(nseg4);
501 MUON->SetSegmentationModel(chamber-1, 1, seg91);
fe4da5cc 502
0f5936af 503 AliMUONsegmentationV05 *seg92=new AliMUONsegmentationV05;
504 seg92->SetPADSIZ(1,10);
505 seg92->SetDAnod(0.25);
506 seg92->SetPadDivision(nseg4);
507
508 MUON->SetSegmentationModel(chamber-1, 2, seg92);
fe4da5cc 509
fe4da5cc 510 MUON->SetResponseModel(chamber-1, response0);
511
512 chamber=10;
0f5936af 513//^^^^^^^^^
514 MUON->SetNsec(chamber-1,2);
515 AliMUONsegmentationV04 *seg101=new AliMUONsegmentationV04;
516 seg101->SetPADSIZ(10., 0.5);
517 seg101->SetPadDivision(nseg4);
518 seg101->SetDAnod(0.25);
519 MUON->SetSegmentationModel(chamber-1, 1, seg101);
520
521 AliMUONsegmentationV05 *seg102=new AliMUONsegmentationV05;
522 seg102->SetPADSIZ(1,10);
523 seg102->SetPadDivision(nseg4);
524 seg102->SetDAnod(0.25);
525 MUON->SetSegmentationModel(chamber-1, 2, seg102);
526
fe4da5cc 527 MUON->SetResponseModel(chamber-1, response0);
0f5936af 528//--------------------------------------------------------
529// Configuration for Trigger staions ---------------------
530// (not yet used/implemented) ----------------------------
531//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fe4da5cc 532
533 chamber=11;
534 MUON->SetNsec(chamber-1,1);
535 AliMUONsegmentationV0 *seg1112=new AliMUONsegmentationV0;
536 seg1112->SetDAnod(0.51/3.);
537
538 MUON->SetSegmentationModel(chamber-1, 1, seg1112);
539 MUON->SetResponseModel(chamber-1, response0);
540
541 chamber=12;
542 MUON->SetNsec(chamber-1,1);
543 MUON->SetSegmentationModel(chamber-1, 1, seg1112);
544 MUON->SetResponseModel(chamber-1, response0);
545//
546// Trigger Station 1
547 station=6;
548 MUON->SetPADSIZ(station, 1, 0.75, 0.5);
549
550 chamber=13;
551 MUON->SetNsec(chamber-1,1);
552 AliMUONsegmentationV0 *seg1314=new AliMUONsegmentationV0;
553 seg1314->SetDAnod(0.51/3.);
554
555 MUON->SetSegmentationModel(chamber-1, 1, seg1314);
556 MUON->SetResponseModel(chamber-1, response0);
557
558 chamber=14;
559 MUON->SetNsec(chamber-1,1);
560 MUON->SetSegmentationModel(chamber-1, 1, seg1314);
561 MUON->SetResponseModel(chamber-1, response0);
562//
563// Trigger Station 2
564 station=7;
565 MUON->SetPADSIZ(station, 1, 0.75, 0.5);
566}
0f5936af 567
fe4da5cc 568//=================== PHOS parameters ===========================
569
8dfe31df 570if(iPHOS) {
47f39b79 571 AliPHOS *PHOS = new AliPHOSv0("PHOS","GPS2");
fe4da5cc 572}
573
8dfe31df 574
fe4da5cc 575if(iPMD) {
576//=================== PMD parameters ============================
577
ecd5c1f7 578AliPMD *PMD = new AliPMDv0("PMD","normal PMD");
fe4da5cc 579PMD->SetPAR(1., 1., 0.8, 0.02);
ecd5c1f7 580PMD->SetIN(6., 18., -580., 27., 27.);
fe4da5cc 581PMD->SetGEO(0.0, 0.2, 4.);
ecd5c1f7 582PMD->SetPadSize(0.8, 1.0, 1.0, 1.5);
583
fe4da5cc 584}
b422f318 585
586if(iSTART) {
587//=================== START parameters ============================
588AliSTART *START = new AliSTARTv0("START","START Detector");
589}
590
fe4da5cc 591
592}