AliSHILv2 added
[u/mrichter/AliRoot.git] / macros / ConfigPPR.C
CommitLineData
36d4cb82 1enum PprRun_t
2{
3 test50,
4 kParam_8000, kParam_4000, kParam_2000,
5 kHijing_cent1, kHijing_cent2,
6 kHijing_per1, kHijing_per2, kHijing_per3, kHijing_per4, kHijing_per5,
7 kHijing_jj25, kHijing_jj50, kHijing_jj75, kHijing_jj100, kHijing_jj125,
8 kHijing_gj25, kHijing_gj50, kHijing_gj75, kHijing_gj100, kHijing_gj125
9};
10
11enum PprGeo_t
12{
13 kHoles, kNoHoles
14};
15
16enum PprRad_t
17{
18 kGluonRadiation, kNoGluonRadiation
19};
20
21// This part for configuration
22static PprRun_t run = test50;
23static PprGeo_t geo = kHoles;
24static PprRad_t rad = kGluonRadiation;
25// Comment line
26static TString comment;
27
28
29
30void Config()
31{
32
33 // 7-DEC-2000 09:00
34 // Switch on Transition adiation simulation. 6/12/00 18:00
35 // iZDC=1 7/12/00 09:00
36 // ThetaRange is (0., 180.). It was (0.28,179.72) 7/12/00 09:00
37 // Theta range given through pseudorapidity limits 22/6/2001
38
39 // Set Random Number seed
40 // gRandom->SetSeed(12345);
41
42 new AliGeant3("C++ Interface to Geant3");
43
44 if (!gSystem->Getenv("CONFIG_FILE"))
45 {
46 TFile *rootfile = new TFile("galice.root", "recreate");
47
48 rootfile->SetCompressionLevel(2);
49 }
50
51 TGeant3 *geant3 = (TGeant3 *) gMC;
52
53 //
54 // Set External decayer
55 AliDecayer *decayer = new AliDecayerPythia();
56
57 decayer->SetForceDecay(kAll);
58 decayer->Init();
59 gMC->SetExternalDecayer(decayer);
60 //
61 //
62 //=======================================================================
63 // ******* GEANT STEERING parameters FOR ALICE SIMULATION *******
64 geant3->SetTRIG(1); //Number of events to be processed
65 geant3->SetSWIT(4, 10);
66 geant3->SetDEBU(0, 0, 1);
67 //geant3->SetSWIT(2,2);
68 geant3->SetDCAY(1);
69 geant3->SetPAIR(1);
70 geant3->SetCOMP(1);
71 geant3->SetPHOT(1);
72 geant3->SetPFIS(0);
73 geant3->SetDRAY(0);
74 geant3->SetANNI(1);
75 geant3->SetBREM(1);
76 geant3->SetMUNU(1);
77 geant3->SetCKOV(1);
78 geant3->SetHADR(1); //Select pure GEANH (HADR 1) or GEANH/NUCRIN (HADR 3)
79 geant3->SetLOSS(2);
80 geant3->SetMULS(1);
81 geant3->SetRAYL(1);
82 geant3->SetAUTO(1); //Select automatic STMIN etc... calc. (AUTO 1) or manual (AUTO 0)
83 geant3->SetABAN(0); //Restore 3.16 behaviour for abandoned tracks
84 geant3->SetOPTI(2); //Select optimisation level for GEANT geometry searches (0,1,2)
85 geant3->SetERAN(5.e-7);
86
87 Float_t cut = 1.e-3; // 1MeV cut by default
88 Float_t tofmax = 1.e10;
89
90 // GAM ELEC NHAD CHAD MUON EBREM MUHAB EDEL MUDEL MUPA TOFMAX
91 geant3->SetCUTS(cut, cut, cut, cut, cut, cut, cut, cut, cut, cut,
92 tofmax);
93 //
94 //=======================================================================
95 // ************* STEERING parameters FOR ALICE SIMULATION **************
96 // --- Specify event type to be tracked through the ALICE setup
97 // --- All positions are in cm, angles in degrees, and P and E in GeV
98
99
100// Generator Configuration
101 gAlice->SetDebug(1);
102 AliGenerator* gener = GeneratorFactory(run);
103 gener->SetOrigin(0, 0, 0); // vertex position
104 gener->SetSigma(0, 0, 5.3); // Sigma in (X,Y,Z) (cm) on IP position
105 gener->SetCutVertexZ(1.); // Truncate at 1 sigma
106 gener->SetVertexSmear(kPerEvent);
107 gener->SetTrackingFlag(1);
108 gener->Init();
109
110 if (rad == kGluonRadiation)
111 {
112 comment = comment.Append(" | Gluon Radiation On");
113
114 } else {
115 comment = comment.Append(" | Gluon Radiation Off");
116 }
117
118 if (geo == kHoles)
119 {
120 comment = comment.Append(" | Holes for PHOS/RICH");
121
122 } else {
123 comment = comment.Append(" | No holes for PHOS/RICH");
124 }
125
126 printf("\n \n Comment: %s \n \n", (char*) comment);
127
128
129// Field (L3 0.4 T)
130 AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., 1);
131 rootfile->cd();
132 gAlice->SetField(field);
133
134//
135 Int_t iABSO = 1;
36d4cb82 136 Int_t iDIPO = 1;
137 Int_t iFMD = 1;
138 Int_t iFRAME = 1;
139 Int_t iHALL = 1;
140 Int_t iITS = 1;
141 Int_t iMAG = 1;
142 Int_t iMUON = 1;
143 Int_t iPHOS = 1;
144 Int_t iPIPE = 1;
145 Int_t iPMD = 1;
146 Int_t iRICH = 1;
147 Int_t iSHIL = 1;
148 Int_t iSTART = 1;
149 Int_t iTOF = 1;
150 Int_t iTPC = 1;
151 Int_t iTRD = 1;
152 Int_t iZDC = 1;
21e394f9 153 Int_t iEMCAL = 1;
154 Int_t iCRT = 0;
36d4cb82 155
156 //=================== Alice BODY parameters =============================
157 AliBODY *BODY = new AliBODY("BODY", "Alice envelop");
158
159
160 if (iMAG)
161 {
162 //=================== MAG parameters ============================
163 // --- Start with Magnet since detector layouts may be depending ---
164 // --- on the selected Magnet dimensions ---
165 AliMAG *MAG = new AliMAG("MAG", "Magnet");
166 }
167
168
169 if (iABSO)
170 {
171 //=================== ABSO parameters ============================
172 AliABSO *ABSO = new AliABSOv0("ABSO", "Muon Absorber");
173 }
174
175 if (iDIPO)
176 {
177 //=================== DIPO parameters ============================
178
179 AliDIPO *DIPO = new AliDIPOv2("DIPO", "Dipole version 2");
180 }
181
182 if (iHALL)
183 {
184 //=================== HALL parameters ============================
185
186 AliHALL *HALL = new AliHALL("HALL", "Alice Hall");
187 }
188
189
190 if (iFRAME)
191 {
192 //=================== FRAME parameters ============================
193
194 AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
195 if (geo == kHoles) {
196 FRAME->SetHoles(1);
197 } else {
198 FRAME->SetHoles(0);
199 }
200 }
201
202 if (iSHIL)
203 {
204 //=================== SHIL parameters ============================
205
21e394f9 206 AliSHIL *SHIL = new AliSHILv2("SHIL", "Shielding Version 2");
36d4cb82 207 }
208
209
210 if (iPIPE)
211 {
212 //=================== PIPE parameters ============================
213
214 AliPIPE *PIPE = new AliPIPEv0("PIPE", "Beam Pipe");
215 }
216
21e394f9 217 if(iITS) {
36d4cb82 218
219//=================== ITS parameters ============================
220 //
221 // As the innermost detector in ALICE, the Inner Tracking System "impacts" on
222 // almost all other detectors. This involves the fact that the ITS geometry
223 // still has several options to be followed in parallel in order to determine
224 // the best set-up which minimizes the induced background. All the geometries
225 // available to date are described in the following. Read carefully the comments
226 // and use the default version (the only one uncommented) unless you are making
227 // comparisons and you know what you are doing. In this case just uncomment the
228 // ITS geometry you want to use and run Aliroot.
229 //
230 // Detailed geometries:
231 //
232 //
233 //AliITS *ITS = new AliITSv5symm("ITS","Updated ITS TDR detailed version with symmetric services");
234 //
235 //AliITS *ITS = new AliITSv5asymm("ITS","Updates ITS TDR detailed version with asymmetric services");
236 //
237 AliITSvPPRasymm *ITS = new AliITSvPPRasymm("ITS","New ITS PPR detailed version with asymmetric services");
238 ITS->SetMinorVersion(2); // don't touch this parameter if you're not an ITS developer
239 ITS->SetReadDet(kFALSE); // don't touch this parameter if you're not an ITS developer
240 // ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRasymm2.det"); // don't touch this parameter if you're not an ITS developer
241 ITS->SetThicknessDet1(200.); // detector thickness on layer 1 must be in the range [100,300]
242 ITS->SetThicknessDet2(200.); // detector thickness on layer 2 must be in the range [100,300]
243 ITS->SetThicknessChip1(200.); // chip thickness on layer 1 must be in the range [150,300]
244 ITS->SetThicknessChip2(200.); // chip thickness on layer 2 must be in the range [150,300]
245 ITS->SetRails(1); // 1 --> rails in ; 0 --> rails out
246 ITS->SetCoolingFluid(1); // 1 --> water ; 0 --> freon
247 //
248 //AliITSvPPRsymm *ITS = new AliITSvPPRsymm("ITS","New ITS PPR detailed version with symmetric services");
249 //ITS->SetMinorVersion(2); // don't touch this parameter if you're not an ITS developer
250 //ITS->SetReadDet(kFALSE); // don't touch this parameter if you're not an ITS developer
251 //ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRsymm2.det"); // don't touch this parameter if you're not an ITS developer
252 //ITS->SetThicknessDet1(200.); // detector thickness on layer 1 must be in the range [100,300]
253 //ITS->SetThicknessDet2(200.); // detector thickness on layer 2 must be in the range [100,300]
254 //ITS->SetThicknessChip1(200.); // chip thickness on layer 1 must be in the range [150,300]
255 //ITS->SetThicknessChip2(200.); // chip thickness on layer 2 must be in the range [150,300]
256 //ITS->SetRails(1); // 1 --> rails in ; 0 --> rails out
257 //ITS->SetCoolingFluid(1); // 1 --> water ; 0 --> freon
258 //
259 //
260 // Coarse geometries (warning: no hits are produced with these coarse geometries and they unuseful
261 // for reconstruction !):
262 //
263 //
264 //AliITSvPPRcoarseasymm *ITS = new AliITSvPPRcoarseasymm("ITS","New ITS PPR coarse version with asymmetric services");
265 //ITS->SetRails(1); // 1 --> rails in ; 0 --> rails out
266 //ITS->SetSupportMaterial(0); // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
267 //
268 //AliITS *ITS = new AliITSvPPRcoarsesymm("ITS","New ITS PPR coarse version with symmetric services");
269 //ITS->SetRails(1); // 1 --> rails in ; 0 --> rails out
270 //ITS->SetSupportMaterial(0); // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
271 //
272 //
273 //
274 // Geant3 <-> EUCLID conversion
275 // ============================
276 //
277 // SetEUCLID is a flag to output (=1) or not to output (=0) both geometry and
278 // media to two ASCII files (called by default ITSgeometry.euc and
279 // ITSgeometry.tme) in a format understandable to the CAD system EUCLID.
280 // The default (=0) means that you dont want to use this facility.
281 //
282 ITS->SetEUCLID(0);
283 }
284
285
286 if (iTPC)
287 {
288 //============================ TPC parameters ================================
289 // --- This allows the user to specify sectors for the SLOW (TPC geometry 2)
290 // --- Simulator. SecAL (SecAU) <0 means that ALL lower (upper)
291 // --- sectors are specified, any value other than that requires at least one
292 // --- sector (lower or upper)to be specified!
293 // --- Reminder: sectors 1-24 are lower sectors (1-12 -> z>0, 13-24 -> z<0)
294 // --- sectors 25-72 are the upper ones (25-48 -> z>0, 49-72 -> z<0)
295 // --- SecLows - number of lower sectors specified (up to 6)
296 // --- SecUps - number of upper sectors specified (up to 12)
297 // --- Sens - sensitive strips for the Slow Simulator !!!
298 // --- This does NOT work if all S or L-sectors are specified, i.e.
299 // --- if SecAL or SecAU < 0
300 //
301 //
302 //-----------------------------------------------------------------------------
303
304 // gROOT->LoadMacro("SetTPCParam.C");
305 // AliTPCParam *param = SetTPCParam();
306 AliTPC *TPC = new AliTPCv2("TPC", "Default");
307
308 // All sectors included
309 TPC->SetSecAL(-1);
310 TPC->SetSecAU(-1);
311
312 }
313
314 if (iTOF) {
315 if (geo == kHoles) {
316 //=================== TOF parameters ============================
317 AliTOF *TOF = new AliTOFv2FHoles("TOF", "TOF with Holes");
318 } else {
319 AliTOF *TOF = new AliTOFv4("TOF", "normal TOF");
320 }
321 }
322
323 if (iRICH)
324 {
325 //=================== RICH parameters ===========================
326 AliRICH *RICH = new AliRICHv3("RICH", "normal RICH");
327
328 }
329
330
331 if (iZDC)
332 {
333 //=================== ZDC parameters ============================
334
335 AliZDC *ZDC = new AliZDCv2("ZDC", "normal ZDC");
336 }
337
36d4cb82 338 if (iTRD)
339 {
340 //=================== TRD parameters ============================
341
342 AliTRD *TRD = new AliTRDv1("TRD", "TRD slow simulator");
343
344 // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
345 TRD->SetGasMix(1);
346 if (geo == kHoles) {
347 // With hole in front of PHOS
348 TRD->SetPHOShole();
349 // With hole in front of RICH
350 TRD->SetRICHhole();
351 }
352 // Switch on TR
353 AliTRDsim *TRDsim = TRD->CreateTR();
354 }
355
356 if (iFMD)
357 {
358 //=================== FMD parameters ============================
359
360 AliFMD *FMD = new AliFMDv1("FMD", "normal FMD");
361 FMD->SetRingsSi1(256);
362 FMD->SetRingsSi2(64);
363 FMD->SetSectorsSi1(20);
364 FMD->SetSectorsSi2(24);
365 }
366
367 if (iMUON)
368 {
369 //=================== MUON parameters ===========================
370
371 AliMUON *MUON = new AliMUONv1("MUON", "default");
372 }
373 //=================== PHOS parameters ===========================
374
375 if (iPHOS)
376 {
377 AliPHOS *PHOS = new AliPHOSv1("PHOS", "IHEP");
378 }
379
380
381 if (iPMD)
382 {
383 //=================== PMD parameters ============================
384 AliPMD *PMD = new AliPMDv1("PMD", "normal PMD");
385 PMD->SetPAR(1., 1., 0.8, 0.02);
386 PMD->SetIN(6., 18., -580., 27., 27.);
387 PMD->SetGEO(0.0, 0.2, 4.);
388 PMD->SetPadSize(0.8, 1.0, 1.0, 1.5);
389 }
390
391 if (iSTART)
392 {
393 //=================== START parameters ============================
394 AliSTART *START = new AliSTARTv1("START", "START Detector");
395 }
396
21e394f9 397 if (iEMCAL)
36d4cb82 398 {
399 //=================== EMCAL parameters ============================
400 AliEMCAL *EMCAL = new AliEMCALv1("EMCAL", "EMCALArch1a");
401 }
21e394f9 402
403 if (iCRT)
404 {
405 //=================== CRT parameters ============================
406 AliCRT *CRT = new AliCRTv0("CRT", "normal ACORDE");
407 }
408
409
36d4cb82 410}
411
412Float_t EtaToTheta(Float_t arg){
413 return (180./TMath::Pi())*2.*atan(exp(-arg));
414}
415
416
417
418AliGenerator* GeneratorFactory(PprRun_t run) {
419 Int_t isw = 3;
420 if (rad == kNoGluonRadiation) isw = 0;
421
422
423 switch (run) {
424 case test50:
425 comment = comment.Append(":HIJINGparam test 50 particles");
426 AliGenHIJINGpara *gener = new AliGenHIJINGpara(50);
427 gener->SetMomentumRange(0, 999999.);
428 gener->SetPhiRange(-180., 180.);
429 // Set pseudorapidity range from -8 to 8.
430 Float_t thmin = EtaToTheta(8); // theta min. <---> eta max
431 Float_t thmax = EtaToTheta(-8); // theta max. <---> eta min
432 gener->SetThetaRange(thmin,thmax);
433 break;
434 case kParam_8000:
435 comment = comment.Append(":HIJINGparam N=8000");
436 AliGenHIJINGpara *gener = new AliGenHIJINGpara(86030);
437 gener->SetMomentumRange(0, 999999.);
438 gener->SetPhiRange(-180., 180.);
439 // Set pseudorapidity range from -8 to 8.
440 Float_t thmin = EtaToTheta(8); // theta min. <---> eta max
441 Float_t thmax = EtaToTheta(-8); // theta max. <---> eta min
442 gener->SetThetaRange(thmin,thmax);
443 break;
444 case kParam_4000:
445 comment = comment.Append("HIJINGparam N=4000");
446 AliGenHIJINGpara *gener = new AliGenHIJINGpara(43015);
447 gener->SetMomentumRange(0, 999999.);
448 gener->SetPhiRange(-180., 180.);
449 // Set pseudorapidity range from -8 to 8.
450 Float_t thmin = EtaToTheta(8); // theta min. <---> eta max
451 Float_t thmax = EtaToTheta(-8); // theta max. <---> eta min
452 gener->SetThetaRange(thmin,thmax);
453 break;
454 case kParam_2000:
455 comment = comment.Append("HIJINGparam N=2000");
456 AliGenHIJINGpara *gener = new AliGenHIJINGpara(21507);
457 gener->SetMomentumRange(0, 999999.);
458 gener->SetPhiRange(-180., 180.);
459 // Set pseudorapidity range from -8 to 8.
460 Float_t thmin = EtaToTheta(8); // theta min. <---> eta max
461 Float_t thmax = EtaToTheta(-8); // theta max. <---> eta min
462 gener->SetThetaRange(thmin,thmax);
463 break;
464//
465// Hijing Central
466//
467 case kHijing_cent1:
468 comment = comment.Append("HIJING cent1");
469 AliGenHijing *gener = HijingStandard();
470// impact parameter range
471 gener->SetImpactParameterRange(0., 5.);
472 break;
473 case kHijing_cent2:
474 comment = comment.Append("HIJING cent2");
475 AliGenHijing *gener = HijingStandard();
476// impact parameter range
477 gener->SetImpactParameterRange(0., 2.);
478 break;
479//
480// Hijing Peripheral
481//
482 case kHijing_per1:
483 comment = comment.Append("HIJING per1");
484 AliGenHijing *gener = HijingStandard();
485// impact parameter range
486 gener->SetImpactParameterRange(5., 8.6);
487 break;
488 case kHijing_per2:
489 comment = comment.Append("HIJING per2");
490 AliGenHijing *gener = HijingStandard();
491// impact parameter range
492 gener->SetImpactParameterRange(8.6, 11.2);
493 break;
494 case kHijing_per3:
495 comment = comment.Append("HIJING per3");
496 AliGenHijing *gener = HijingStandard();
497// impact parameter range
498 gener->SetImpactParameterRange(11.2, 13.2);
499 break;
500 case kHijing_per4:
501 comment = comment.Append("HIJING per4");
502 AliGenHijing *gener = HijingStandard();
503// impact parameter range
504 gener->SetImpactParameterRange(13.2, 15.);
505 break;
506 case kHijing_per5:
507 comment = comment.Append("HIJING per5");
508 AliGenHijing *gener = HijingStandard();
509// impact parameter range
510 gener->SetImpactParameterRange(15., 100.);
511 break;
512//
513// Jet-Jet
514//
515 case kHijing_jj25:
516 comment = comment.Append("HIJING Jet 25 GeV");
517 AliGenHijing *gener = HijingStandard();
518// impact parameter range
519 gener->SetImpactParameterRange(0., 5.);
520 // trigger
521 gener->SetTrigger(1);
522 gener->SetPtMinJet(25.);
523 gener->SetRadiation(isw);
524 gener->JetEtaRange(-0.3,0.3);
525 gener->JetPhiRange(15.,105.);
526 break;
527
528 case kHijing_jj50:
529 comment = comment.Append("HIJING Jet 50 GeV");
530 AliGenHijing *gener = HijingStandard();
531// impact parameter range
532 gener->SetImpactParameterRange(0., 5.);
533 // trigger
534 gener->SetTrigger(1);
535 gener->SetPtMinJet(50.);
536 gener->SetRadiation(isw);
537 gener->JetEtaRange(-0.3,0.3);
538 gener->JetPhiRange(15.,105.);
539 break;
540
541 case kHijing_jj75:
542 comment = comment.Append("HIJING Jet 75 GeV");
543 AliGenHijing *gener = HijingStandard();
544// impact parameter range
545 gener->SetImpactParameterRange(0., 5.);
546 // trigger
547 gener->SetTrigger(1);
548 gener->SetPtMinJet(75.);
549 gener->SetRadiation(isw);
550 gener->JetEtaRange(-0.3,0.3);
551 gener->JetPhiRange(15.,105.);
552 break;
553
554 case kHijing_jj100:
555 comment = comment.Append("HIJING Jet 100 GeV");
556 AliGenHijing *gener = HijingStandard();
557// impact parameter range
558 gener->SetImpactParameterRange(0., 5.);
559 // trigger
560 gener->SetTrigger(1);
561 gener->SetPtMinJet(100.);
562 gener->SetRadiation(isw);
563 gener->JetEtaRange(-0.3,0.3);
564 gener->JetPhiRange(15.,105.);
565 break;
566
567 case kHijing_jj125:
568 comment = comment.Append("HIJING Jet 125 GeV");
569 AliGenHijing *gener = HijingStandard();
570// impact parameter range
571 gener->SetImpactParameterRange(0., 5.);
572 // trigger
573 gener->SetTrigger(1);
574 gener->SetPtMinJet(125.);
575 gener->SetRadiation(isw);
576 gener->JetEtaRange(-0.3,0.3);
577 gener->JetPhiRange(15.,105.);
578 break;
579//
580// Gamma-Jet
581//
582 case kHijing_gj25:
583 comment = comment.Append("HIJING Gamma 25 GeV");
584 AliGenHijing *gener = HijingStandard();
585// impact parameter range
586 gener->SetImpactParameterRange(0., 5.);
587 // trigger
588 gener->SetTrigger(2);
589 gener->SetPtMinJet(25.);
590 gener->SetRadiation(isw);
591 gener->JetEtaRange(-0.3,0.3);
592 gener->JetPhiRange(15.,105.);
593 break;
594
595 case kHijing_gj50:
596 comment = comment.Append("HIJING Gamma 50 GeV");
597 AliGenHijing *gener = HijingStandard();
598// impact parameter range
599 gener->SetImpactParameterRange(0., 5.);
600 // trigger
601 gener->SetTrigger(2);
602 gener->SetPtMinJet(50.);
603 gener->SetRadiation(isw);
604 gener->JetEtaRange(-0.3,0.3);
605 gener->JetPhiRange(15.,105.);
606 break;
607
608 case kHijing_gj75:
609 comment = comment.Append("HIJING Gamma 75 GeV");
610 AliGenHijing *gener = HijingStandard();
611// impact parameter range
612 gener->SetImpactParameterRange(0., 5.);
613 // trigger
614 gener->SetTrigger(2);
615 gener->SetPtMinJet(75.);
616 gener->SetRadiation(isw);
617 gener->JetEtaRange(-0.3,0.3);
618 gener->JetPhiRange(15.,105.);
619 break;
620
621 case kHijing_gj100:
622 comment = comment.Append("HIJING Gamma 100 GeV");
623 AliGenHijing *gener = HijingStandard();
624// impact parameter range
625 gener->SetImpactParameterRange(0., 5.);
626 // trigger
627 gener->SetTrigger(2);
628 gener->SetPtMinJet(100.);
629 gener->SetRadiation(isw);
630 gener->JetEtaRange(-0.3,0.3);
631 gener->JetPhiRange(15.,105.);
632 break;
633
634 case kHijing_gj125:
635 comment = comment.Append("HIJING Gamma 125 GeV");
636 AliGenHijing *gener = HijingStandard();
637// impact parameter range
638 gener->SetImpactParameterRange(0., 5.);
639 // trigger
640 gener->SetTrigger(2);
641 gener->SetPtMinJet(125.);
642 gener->SetRadiation(isw);
643 gener->JetEtaRange(-0.3,0.3);
644 gener->JetPhiRange(15.,105.);
645 break;
646 }
647 return gener;
648}
649
650AliGenHijing* HijingStandard()
651{
652 AliGenHijing *gener = new AliGenHijing(-1);
653// centre of mass energy
654 gener->SetEnergyCMS(5500.);
655// reference frame
656 gener->SetReferenceFrame("CMS");
657// projectile
658 gener->SetProjectile("A", 208, 82);
659 gener->SetTarget ("A", 208, 82);
660// tell hijing to keep the full parent child chain
661 gener->KeepFullEvent();
662// enable jet quenching
663 gener->SetJetQuenching(1);
664// enable shadowing
665 gener->SetShadowing(1);
666// neutral pion and heavy particle decays switched off
667 gener->SetDecaysOff(1);
668// Don't track spectators
669 gener->SetSpectators(0);
670// kinematic selection
671 gener->SetSelectAll(0);
672 return gener;
673}
674
675
676