1 void Config(Int_t thickness)
5 new AliGeant3("C++ Interface to Geant3");
7 //=======================================================================
8 // Create the output file
9 sprintf(filename,"junk.root");
10 printf(">>> Output file is %s \n",filename);
12 TFile *rootfile = new TFile(filename,"recreate");
13 rootfile->SetCompressionLevel(2);
14 TGeant3 *geant3 = (TGeant3*)gMC;
16 //=======================================================================
17 // ******* GEANT STEERING parameters FOR ALICE SIMULATION *******
18 geant3->SetTRIG(1); //Number of events to be processed
19 geant3->SetSWIT(4,10);
20 geant3->SetDEBU(0,0,1);
21 //geant3->SetSWIT(2,2);
22 geant3->SetERAN(1.e-6,1.e3,90);
33 geant3->SetHADR(1); //Select pure GEANH (HADR 1) or GEANH/NUCRIN (HADR 3)
37 geant3->SetAUTO(1); //Select automatic STMIN etc... calc. (AUTO 1) or manual (AUTO 0)
38 geant3->SetABAN(0); //Restore 3.16 behaviour for abandoned tracks
39 geant3->SetOPTI(2); //Select optimisation level for GEANT geometry searches (0,1,2)
40 Float_t cut = 1.e-3; // 1MeV cut by default
41 Float_t tofmax = 1.e10;
42 // GAM ELEC NHAD CHAD MUON EBREM MUHAB EDEL MUDEL MUPA TOFMAX
43 geant3->SetCUTS(cut,cut, cut, cut, cut, cut, cut, cut, cut, cut, tofmax);
45 //=======================================================================
46 // --- Specify event type to be tracked through the ALICE setup
47 // --- All positions are in cm, angles in degrees, and P and E in GeV
49 // The following Cocktail generator is defined to simulate the neutral and
50 // charged background in the ALICE detector. This background is important
51 // in the case of photon detector as PHOS. We simulated a cocktail of
52 // pions (pi+, pi- and pi0) , kaons (K+, K-, Kshort and Klong), eta mesons,
53 // omega mesons and main baryons (protons, antiprotons, neutrons and
56 // 1-Nov-1999 Gines MARTINEZ, GPS @ SUBATECH, Nantes, France
58 Int_t ParticleDensity = 100; // Number of particles created in the selected rapidity range
59 Int_t NumberOfPions = 0.77 * ParticleDensity ; // ~77% of pions: pi^+, pi^- and pi^0 with equal probability
60 Int_t NumberOfKaons = 0.11 * ParticleDensity ; // ~11% of kaons: K^+, K^-, K_short and K_long with equal probability
61 Int_t NumberOfEtas = 0.04 * ParticleDensity ; // ~4.0% of eta mesons
62 Int_t NumberOfOmegas = 0.01 * ParticleDensity ; // ~1.0% of omega mesons
63 Int_t NumberOfBaryons = 0.07 * ParticleDensity ; // ~7.0% of baryons: p, pbar, n and nbar with equal probability
67 AliGenParam *generpion = new AliGenParam(NumberOfPions,Pion);
68 // AliGenPHOSlib::GetPt(Pion), AliGenPHOSlib::GetY(Pion), AliGenPHOSlib::GetIp(Pion) ;
69 generpion->SetWeighting(non_analog); // Selecting the Pt distribution provided by AliGenPHOSlib::GetPt
70 generpion->SetForceDecay(nodecay); // Requiring that the generated particle is directly tracked by GEANT
73 AliGenParam *generkaon = new AliGenParam(NumberOfKaons,Kaon);
74 // AliGenPHOSlib::GetPt(Kaon), AliGenPHOSlib::GetY(Kaon), AliGenPHOSlib::GetIp(Kaon) );
75 generkaon->SetWeighting(non_analog); // Selecting the Pt distribution provided by AliGenPHOSlib::GetPt
76 generkaon->SetForceDecay(nodecay); // Requiring that the generated particle is directly tracked by GEANT
79 AliGenParam *genereta = new AliGenParam(NumberOfEtas,Eta);
80 // AliGenPHOSlib::GetPt(Eta), AliGenPHOSlib::GetY(Eta), AliGenPHOSlib::GetIp(Eta) );
81 genereta->SetWeighting(non_analog); // Selecting the Pt distribution provided by AliGenPHOSlib::GetPt
82 genereta->SetForceDecay(nodecay); // Requiring that the generated particle is directly tracked by GEANT
85 AliGenParam *generomega = new AliGenParam(NumberOfOmegas,Omega);
86 // AliGenPHOSlib::GetPt(Omega), AliGenPHOSlib::GetY(Omega), AliGenPHOSlib::GetIp(Omega) );
87 generomega->SetWeighting(non_analog); // Selecting the Pt distribution provided by AliGenPHOSlib::GetPt
88 generomega->SetForceDecay(nodecay); // Requiring that the generated particle is directly tracked by GEANT
91 AliGenParam *generbaryon = new AliGenParam(NumberOfBaryons,Baryon);
92 // AliGenPHOSlib::GetPt(Baryon), AliGenPHOSlib::GetY(Baryon), AliGenPHOSlib::GetIp(Baryon) );
93 generbaryon->SetWeighting(non_analog); // Selecting the Pt distribution provided by AliGenPHOSlib::GetPt
94 generbaryon->SetForceDecay(nodecay); // Requiring that the generated particle is directly tracked by GEANT
96 AliGenCocktail *gener = new AliGenCocktail(); // Cocktail class
97 gener->SetPtRange(.02,10.00); // Transverse momentum range
98 gener->SetPhiRange(180.,360.); // Azimuthal angle range
99 gener->SetYRange(-0.25,0.25); // Pseudorapidity range
100 gener->SetOrigin(0,0,0); // Vertex position
101 gener->SetSigma(0,0,5.6); // Sigma in (X,Y,Z) (cm) on IP position
103 gener->AddGenerator(generpion,"pion",1.);
104 gener->AddGenerator(generkaon,"kaon",1.);
105 gener->AddGenerator(genereta,"eta",1.);
106 gener->AddGenerator(generomega,"omega",1.);
107 gener->AddGenerator(generbaryon,"baryon",1.);
110 gAlice->SetField(0,0); //Specify maximum magnetic field in Tesla (neg. ==> default field)
133 //=================== Alice BODY parameters =============================
134 AliBODY *BODY = new AliBODY("BODY","Alice envelop");
138 //=================== MAG parameters ============================
139 // --- Start with Magnet since detector layouts may be depending ---
140 // --- on the selected Magnet dimensions ---
141 AliMAG *MAG = new AliMAG("MAG","Magnet");
146 //=================== ABSO parameters ============================
147 AliABSO *ABSO = new AliABSOv0("ABSO","Muon Absorber");
151 //=================== DIPO parameters ============================
153 AliDIPO *DIPO = new AliDIPOv2("DIPO","Dipole version 2");
157 //=================== HALL parameters ============================
159 AliHALL *HALL = new AliHALL("HALL","Alice Hall");
164 //=================== FRAME parameters ============================
166 AliFRAME *FRAME = new AliFRAMEv0("FRAME","Space Frame");
171 //=================== SHIL parameters ============================
173 AliSHIL *SHIL = new AliSHILv0("SHIL","Shielding");
178 //=================== PIPE parameters ============================
180 AliPIPE *PIPE = new AliPIPEv0("PIPE","Beam Pipe");
185 //=================== ITS parameters ============================
187 // EUCLID is a flag to output (=1) both geometry and media to two ASCII files
188 // (called by default ITSgeometry.euc and ITSgeometry.tme) in a format
189 // understandable to the CAD system EUCLID. The default (=0) means that you
190 // dont want to use this facility.
192 AliITS *ITS = new AliITSv5("ITS","normal ITS");
197 //============================ TPC parameters ================================
198 // --- This allows the user to specify sectors for the SLOW (TPC geometry 2)
199 // --- Simulator. SecAL (SecAU) <0 means that ALL lower (upper)
200 // --- sectors are specified, any value other than that requires at least one
201 // --- sector (lower or upper)to be specified!
202 // --- Reminder: sectors 1-24 are lower sectors (1-12 -> z>0, 13-24 -> z<0)
203 // --- sectors 25-72 are the upper ones (25-48 -> z>0, 49-72 -> z<0)
204 // --- SecLows - number of lower sectors specified (up to 6)
205 // --- SecUps - number of upper sectors specified (up to 12)
206 // --- Sens - sensitive strips for the Slow Simulator !!!
207 // --- This does NOT work if all S or L-sectors are specified, i.e.
208 // --- if SecAL or SecAU < 0
211 //-----------------------------------------------------------------------------
213 AliTPC *TPC = new AliTPCv1("TPC","Normal TPC");
214 AliTPCD *paramd = TPC->GetDigParam();
215 AliTPCParam *param = &(paramd->GetParam());
217 // Set geometrical parameters
219 param->SetSectorAngles(20.,10.,20.,10.);
220 param->SetInnerRadiusLow(83.9);
221 param->SetInnerRadiusUp(141.3);
222 param->SetOuterRadiusLow(146.9);
223 param->SetOuterRadiusUp(249.4);
224 param->SetInSecLowEdge(81.6);
225 param->SetInSecUpEdge(143.6);
226 param->SetOuSecLowEdge(144.2);
227 param->SetOuSecUpEdge(252.1);
229 param->SetDeadZone(1.15);
230 param->SetPadLength(2.0);
231 param->SetPadWidth(0.3);
232 param->SetPadPitchLength(2.05);
233 param->SetPadPitchWidth(0.35);
236 if (TPC->IsVersion() != 2) paramd->Write("Param1");
240 TPC->SetGasMixt(2,20,10,-1,0.9,0.1,0.);
243 // Meaningless with versions other than 2
244 TPC->SetSecLows(1, 2, 3, 1+18, 2+18, 3+18);
245 TPC->SetSecUps(1+36, 2+36, 3+36, 1+38+18, 2+38+18, 3+38+18, -1,-1,-1,-1,-1,-1);
250 //=================== TOF parameters ============================
251 AliTOF *TOF = new AliTOFv1("TOF","normal TOF");
255 //=================== HMPID parameters ===========================
257 AliHMPID *HMPID = new AliHMPIDv0("HMPID","normal HMPID");
259 HMPID->SetSMAXAR(0.03);
260 HMPID->SetSMAXAL(-1);
263 // Default Segmentation
264 AliHMPIDsegmentationV0* RsegV0 = new AliHMPIDsegmentationV0;
265 RsegV0->SetPADSIZ(.8, .8);
266 RsegV0->SetDAnod(0.8/3);
268 AliHMPIDresponseV0* Rresponse0 = new AliHMPIDresponseV0;
269 AliHMPIDresponseCkv* RresponseCkv = new AliHMPIDresponseCkv;
271 //------------------------Chambers 0-6 ----------------------------
272 for (Int_t i=0; i<7; i++) {
273 HMPID->SetSegmentationModel(i, 1, RsegV0);
274 HMPID->SetResponseModel(i, mip , Rresponse0);
275 HMPID->SetResponseModel(i, cerenkov, RresponseCkv);
276 HMPID->Chamber(i).SetRSIGM(5.);
277 HMPID->Chamber(i).SetMUCHSP(43.);
278 HMPID->Chamber(i).SetMUSIGM(0.18, 0.18);
279 HMPID->Chamber(i).SetMAXADC( 1024);
280 HMPID->Chamber(i).SetSqrtKx3(0.77459667);
281 HMPID->Chamber(i).SetKx2(0.962);
282 HMPID->Chamber(i).SetKx4(0.379);
283 HMPID->Chamber(i).SetSqrtKy3(0.77459667);
284 HMPID->Chamber(i).SetKy2(0.962);
285 HMPID->Chamber(i).SetKy4(0.379);
286 HMPID->Chamber(i).SetPitch(0.25);
292 //=================== ZDC parameters ============================
294 AliZDC *ZDC = new AliZDCv1("ZDC","normal ZDC");
298 //=================== CASTOR parameters ============================
300 AliCASTOR *CASTOR = new AliCASTORv1("CASTOR","normal CASTOR");
304 //=================== TRD parameters ============================
306 AliTRD *TRD = new AliTRDv1("TRD","TRD version 0");
307 // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
312 //=================== FMD parameters ============================
314 AliFMD *FMD = new AliFMDv1("FMD","normal FMD");
318 //=================== MUON parameters ===========================
320 AliMUON *MUON = new AliMUONv0("MUON","normal MUON");
322 MUON->SetMaxStepGas(0.1);
323 MUON->SetMaxStepAlu(0.1);
327 // First define the number of planes that are segmented (1 or 2) by a call
329 // Then chose for each chamber (chamber plane) the segmentation
330 // and response model.
331 // They should be equal for the two chambers of each station. In a future
332 // version this will be enforced.
338 AliMUONresponseV0* response0 = new AliMUONresponseV0;
339 response0->SetSqrtKx3(0.7131);
340 response0->SetKx2(1.0107);
341 response0->SetKx4(0.4036);
342 response0->SetSqrtKy3(0.7642);
343 response0->SetKy2(0.9706);
344 response0->SetKy4(0.3831);
345 response0->SetPitch(0.25);
346 response0->SetSigmaIntegration(10.);
347 response0->SetChargeSlope(50);
348 response0->SetChargeSpread(0.18, 0.18);
349 response0->SetMaxAdc(4096);
350 //--------------------------------------------------------
351 // Configuration for Chamber TC1/2 (Station 1) ----------
352 //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
353 // Float_t rseg1[4]={17.5, 55.2, 71.3, 95.5};
354 Float_t rseg1[4]={15.5, 55.2, 71.3, 95.5};
355 Int_t nseg1[4]={4, 4, 2, 1};
359 MUON->SetNsec(chamber-1,2);
361 AliMUONsegmentationV01 *seg11=new AliMUONsegmentationV01;
363 seg11->SetSegRadii(rseg1);
364 seg11->SetPADSIZ(3, 0.5);
365 seg11->SetDAnod(3.0/3./4);
366 seg11->SetPadDivision(nseg1);
368 MUON->SetSegmentationModel(chamber-1, 1, seg11);
370 AliMUONsegmentationV02 *seg12=new AliMUONsegmentationV02;
371 seg12->SetSegRadii(rseg1);
372 seg12->SetPADSIZ(0.75, 2.0);
373 seg12->SetDAnod(3.0/3./4);
374 seg12->SetPadDivision(nseg1);
376 MUON->SetSegmentationModel(chamber-1, 2, seg12);
378 MUON->SetResponseModel(chamber-1, response0);
383 MUON->SetNsec(chamber-1,2);
385 AliMUONsegmentationV01 *seg21=new AliMUONsegmentationV01;
386 seg21->SetSegRadii(rseg1);
387 seg21->SetPADSIZ(3, 0.5);
388 seg21->SetDAnod(3.0/3./4);
389 seg21->SetPadDivision(nseg1);
390 MUON->SetSegmentationModel(chamber-1, 1, seg21);
392 AliMUONsegmentationV02 *seg22=new AliMUONsegmentationV02;
393 seg22->SetSegRadii(rseg1);
394 seg22->SetPADSIZ(0.75, 2.);
395 seg22->SetDAnod(3.0/3./4);
396 seg22->SetPadDivision(nseg1);
397 MUON->SetSegmentationModel(chamber-1, 2, seg22);
399 MUON->SetResponseModel(chamber-1, response0);
401 //--------------------------------------------------------
402 // Configuration for Chamber TC3/4 -----------------------
403 //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
404 // Float_t rseg2[4]={23.5, 47.1, 87.7, 122.5};
405 Float_t rseg2[4]={21.5, 47.1, 87.7, 122.5};
406 Int_t nseg2[4]={4, 4, 2, 1};
410 MUON->SetNsec(chamber-1,2);
412 AliMUONsegmentationV01 *seg31=new AliMUONsegmentationV01;
413 seg31->SetSegRadii(rseg2);
414 seg31->SetPADSIZ(3, 0.5);
415 seg31->SetDAnod(3.0/3./4);
416 seg31->SetPadDivision(nseg2);
417 MUON->SetSegmentationModel(chamber-1, 1, seg31);
419 AliMUONsegmentationV02 *seg32=new AliMUONsegmentationV02;
420 seg32->SetSegRadii(rseg2);
421 seg32->SetPADSIZ(0.75, 2.);
422 seg32->SetPadDivision(nseg2);
423 seg32->SetDAnod(3.0/3./4);
425 MUON->SetSegmentationModel(chamber-1, 2, seg32);
427 MUON->SetResponseModel(chamber-1, response0);
432 MUON->SetNsec(chamber-1,2);
434 AliMUONsegmentationV01 *seg41=new AliMUONsegmentationV01;
435 seg41->SetSegRadii(rseg2);
436 seg41->SetPADSIZ(3, 0.5);
437 seg41->SetDAnod(3.0/3./4);
438 seg41->SetPadDivision(nseg2);
439 MUON->SetSegmentationModel(chamber-1, 1, seg41);
441 AliMUONsegmentationV02 *seg42=new AliMUONsegmentationV02;
442 seg42->SetSegRadii(rseg2);
443 seg42->SetPADSIZ(0.75, 2.);
444 seg42->SetPadDivision(nseg2);
445 seg42->SetDAnod(3.0/3./4);
447 MUON->SetSegmentationModel(chamber-1, 2, seg42);
449 MUON->SetResponseModel(chamber-1, response0);
452 //--------------------------------------------------------
453 // Configuration for Chamber TC5/6 -----------------------
454 //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
456 seg5 = new AliMUONsegmentationV1;
457 AliMUONresponseV0* response5 = new AliMUONresponseV0;
459 response5->SetSqrtKx3(0.78740079);
460 response5->SetKx2(0.95237319); // 0.5 * kPI * (1- 0.5*sqrtky3 )
461 response5->SetKx4(0.37480633); // 0.25/TMath::ATan(sqrtkx3)
463 response5->SetSqrtKy3(0.74161985);
464 response5->SetKy2(0.98832946);
465 response5->SetKy4(0.39177817);
466 response5->SetPitch(0.325);
467 response5->SetSigmaIntegration(10.);
468 response5->SetChargeSlope(50);
469 response5->SetChargeSpread(0.4, 0.4);
470 response5->SetMaxAdc(4096);
473 MUON->SetNsec(chamber-1,1);
474 MUON->SetSegmentationModel(chamber-1, 1, seg5);
475 MUON->SetResponseModel(chamber-1, response5);
478 MUON->SetNsec(chamber-1,1);
479 MUON->SetSegmentationModel(chamber-1, 1, seg5);
480 MUON->SetResponseModel(chamber-1, response5);
484 MUON->SetPADSIZ(station, 1, 0.975, 0.55);
489 MUON->SetNsec(chamber-1,2);
491 AliMUONsegmentationV0 *seg51=new AliMUONsegmentationV0;
492 seg51->SetPADSIZ(0.75, 0.5);
493 seg51->SetDAnod(3.0/3./4);
494 MUON->SetSegmentationModel(chamber-1, 1, seg51);
496 AliMUONsegmentationV0 *seg52=new AliMUONsegmentationV0;
497 seg52->SetPADSIZ(0.5,0.75);
498 seg52->SetDAnod(3.0/3./4);
499 MUON->SetSegmentationModel(chamber-1, 2, seg52);
501 MUON->SetResponseModel(chamber-1, response0);
505 MUON->SetNsec(chamber-1,2);
507 AliMUONsegmentationV0 *seg61=new AliMUONsegmentationV0;
508 seg61->SetPADSIZ(0.75, 0.5);
509 seg61->SetDAnod(3.0/3./4);
510 MUON->SetSegmentationModel(chamber-1, 1, seg61);
512 AliMUONsegmentationV0 *seg62=new AliMUONsegmentationV0;
513 seg62->SetPADSIZ(0.5,0.75);
514 seg62->SetDAnod(3.0/3./4);
515 MUON->SetSegmentationModel(chamber-1, 2, seg62);
517 MUON->SetResponseModel(chamber-1, response0);
519 //--------------------------------------------------------
520 // Configuration for Chamber TC7/8 (Station 4) ----------
521 //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
523 Int_t nseg4[4]={4, 4, 2, 1};
527 MUON->SetNsec(chamber-1,2);
529 AliMUONsegmentationV04 *seg71=new AliMUONsegmentationV04;
530 seg71->SetPADSIZ(10.,0.5);
531 seg71->SetDAnod(0.25);
532 seg71->SetPadDivision(nseg4);
533 MUON->SetSegmentationModel(chamber-1, 1, seg71);
535 AliMUONsegmentationV05 *seg72=new AliMUONsegmentationV05;
536 seg72->SetPADSIZ(1,10);
537 seg72->SetDAnod(0.25);
538 seg72->SetPadDivision(nseg4);
539 MUON->SetSegmentationModel(chamber-1, 2, seg72);
541 MUON->SetResponseModel(chamber-1, response0);
545 MUON->SetNsec(chamber-1,2);
546 AliMUONsegmentationV04 *seg81=new AliMUONsegmentationV04;
547 seg81->SetPADSIZ(10., 0.5);
548 seg81->SetPadDivision(nseg4);
549 seg81->SetDAnod(0.25);
550 MUON->SetSegmentationModel(chamber-1, 1, seg81);
552 AliMUONsegmentationV05 *seg82=new AliMUONsegmentationV05;
553 seg82->SetPADSIZ(1, 10);
554 seg82->SetPadDivision(nseg4);
555 seg82->SetDAnod(0.25);
556 MUON->SetSegmentationModel(chamber-1, 2, seg82);
558 MUON->SetResponseModel(chamber-1, response0);
559 //--------------------------------------------------------
560 // Configuration for Chamber TC9/10 (Station 5) ---------
561 //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
564 MUON->SetNsec(chamber-1,2);
566 AliMUONsegmentationV04 *seg91=new AliMUONsegmentationV04;
567 seg91->SetPADSIZ(10.,0.5);
568 seg91->SetDAnod(0.25);
569 seg91->SetPadDivision(nseg4);
570 MUON->SetSegmentationModel(chamber-1, 1, seg91);
572 AliMUONsegmentationV05 *seg92=new AliMUONsegmentationV05;
573 seg92->SetPADSIZ(1,10);
574 seg92->SetDAnod(0.25);
575 seg92->SetPadDivision(nseg4);
577 MUON->SetSegmentationModel(chamber-1, 2, seg92);
579 MUON->SetResponseModel(chamber-1, response0);
583 MUON->SetNsec(chamber-1,2);
584 AliMUONsegmentationV04 *seg101=new AliMUONsegmentationV04;
585 seg101->SetPADSIZ(10., 0.5);
586 seg101->SetPadDivision(nseg4);
587 seg101->SetDAnod(0.25);
588 MUON->SetSegmentationModel(chamber-1, 1, seg101);
590 AliMUONsegmentationV05 *seg102=new AliMUONsegmentationV05;
591 seg102->SetPADSIZ(1,10);
592 seg102->SetPadDivision(nseg4);
593 seg102->SetDAnod(0.25);
594 MUON->SetSegmentationModel(chamber-1, 2, seg102);
596 MUON->SetResponseModel(chamber-1, response0);
597 //--------------------------------------------------------
598 // Configuration for Trigger staions ---------------------
599 // (not yet used/implemented) ----------------------------
600 //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
603 MUON->SetNsec(chamber-1,1);
604 AliMUONsegmentationV0 *seg1112=new AliMUONsegmentationV0;
605 seg1112->SetDAnod(0.51/3.);
607 MUON->SetSegmentationModel(chamber-1, 1, seg1112);
608 MUON->SetResponseModel(chamber-1, response0);
611 MUON->SetNsec(chamber-1,1);
612 MUON->SetSegmentationModel(chamber-1, 1, seg1112);
613 MUON->SetResponseModel(chamber-1, response0);
617 MUON->SetPADSIZ(station, 1, 0.75, 0.5);
620 MUON->SetNsec(chamber-1,1);
621 AliMUONsegmentationV0 *seg1314=new AliMUONsegmentationV0;
622 seg1314->SetDAnod(0.51/3.);
624 MUON->SetSegmentationModel(chamber-1, 1, seg1314);
625 MUON->SetResponseModel(chamber-1, response0);
628 MUON->SetNsec(chamber-1,1);
629 MUON->SetSegmentationModel(chamber-1, 1, seg1314);
630 MUON->SetResponseModel(chamber-1, response0);
634 MUON->SetPADSIZ(station, 1, 0.75, 0.5);
637 //=================== PHOS parameters ===========================
639 AliPHOS *PHOS = new AliPHOSv0("PHOS","GPS2");
640 Float_t x = (Float_t) thickness / 100. ;
641 if (thickness == 0) x = 0.00001 ;
642 PHOS->GetGeometry()-> SetLeadConverterThickness(x);
645 //=================== PMD parameters ============================
647 AliPMD *PMD = new AliPMDv0("PMD","normal PMD");
648 PMD->SetPAR(1., 1., 0.8, 0.02);
649 PMD->SetIN(6., 18., -580., 27., 27.);
650 PMD->SetGEO(0.0, 0.2, 4.);
651 PMD->SetPadSize(0.8, 1.0, 1.0, 1.5);
656 //=================== START parameters ============================
657 AliSTART *START = new AliSTARTv0("START","START Detector");