1 #if !defined(__CINT__) || defined(__MAKECINT__)
5 #include <TVirtualMC.h>
7 #include "STEER/AliRunLoader.h"
8 #include "STEER/AliRun.h"
9 #include "STEER/AliConfig.h"
10 #include "STEER/AliGenerator.h"
11 #include "PYTHIA6/AliDecayerPythia.h"
12 #include "EVGEN/AliGenHIJINGpara.h"
13 #include "THijing/AliGenHijing.h"
14 #include "EVGEN/AliGenCocktail.h"
15 #include "EVGEN/AliGenSlowNucleons.h"
16 #include "EVGEN/AliSlowNucleonModelExp.h"
17 #include "PYTHIA6/AliGenPythia.h"
18 #include "STEER/AliMagF.h"
19 #include "STRUCT/AliBODY.h"
20 #include "STRUCT/AliMAG.h"
21 #include "STRUCT/AliABSOv0.h"
22 #include "STRUCT/AliDIPOv2.h"
23 #include "STRUCT/AliHALL.h"
24 #include "STRUCT/AliFRAMEv2.h"
25 #include "STRUCT/AliSHILv2.h"
26 #include "STRUCT/AliPIPEv0.h"
27 #include "ITS/AliITSvPPRasymmFMD.h"
28 #include "TPC/AliTPCv2.h"
29 #include "TOF/AliTOFv4T0.h"
30 #include "HMPID/AliHMPIDv1.h"
31 #include "ZDC/AliZDCv2.h"
32 #include "TRD/AliTRDv1.h"
33 #include "FMD/AliFMDv1.h"
34 #include "MUON/AliMUONv1.h"
35 #include "PHOS/AliPHOSv1.h"
36 #include "PMD/AliPMDv1.h"
37 #include "T0/AliT0v1.h"
38 #include "EMCAL/AliEMCALv1.h"
39 #include "ACORDE/AliACORDEv1.h"
40 #include "VZERO/AliVZEROv3.h"
46 kParam_8000, kParam_4000, kParam_2000,
47 kHijing_cent1, kHijing_cent2,
48 kHijing_per1, kHijing_per2, kHijing_per3, kHijing_per4, kHijing_per5,
49 kHijing_jj25, kHijing_jj50, kHijing_jj75, kHijing_jj100, kHijing_jj200,
50 kHijing_gj25, kHijing_gj50, kHijing_gj75, kHijing_gj100, kHijing_gj200,
51 kHijing_pA, kPythia6, kPythia6Jets, kD0PbPb5500
61 kGluonRadiation, kNoGluonRadiation
64 // This part for configuration
65 static PprRun_t srun = test50;
66 //static PprRun_t srun = kPythia6;
67 static PprGeo_t sgeo = kNoHoles;
68 static PprRad_t srad = kGluonRadiation;
69 static BMap_t smag = AliMagF::k5kG;
72 static TString comment;
75 Float_t EtaToTheta(Float_t arg);
76 AliGenerator* GeneratorFactory(PprRun_t srun);
77 AliGenHijing* HijingStandard();
81 // ThetaRange is (0., 180.). It was (0.28,179.72) 7/12/00 09:00
82 // Theta range given through pseudorapidity limits 22/6/2001
84 // Set Random Number seed
85 gRandom->SetSeed(12345); //Set 0 to use the current time
86 cout<<"Seed for random number generation= "<<gRandom->GetSeed()<<endl;
89 // libraries required by geant321
91 gSystem->Load("libgeant321");
94 new TGeant3("C++ Interface to Geant3");
98 cout<<"Config.C: Creating Run Loader ..."<<endl;
99 rl = AliRunLoader::Open("galice.root",
100 AliConfig::GetDefaultEventFolderName(),
104 gAlice->Fatal("Config.C","Can not instatiate the Run Loader");
107 rl->SetCompressionLevel(2);
108 rl->SetNumberOfEventsPerFile(3);
109 gAlice->SetRunLoader(rl);
112 // Set External decayer
113 AliDecayer *decayer = new AliDecayerPythia();
115 decayer->SetForceDecay(kAll);
117 gMC->SetExternalDecayer(decayer);
120 //=======================================================================
122 //=======================================================================
123 // ************* STEERING parameters FOR ALICE SIMULATION **************
124 // --- Specify event type to be tracked through the ALICE setup
125 // --- All positions are in cm, angles in degrees, and P and E in GeV
127 gMC->SetProcess("DCAY",1);
128 gMC->SetProcess("PAIR",1);
129 gMC->SetProcess("COMP",1);
130 gMC->SetProcess("PHOT",1);
131 gMC->SetProcess("PFIS",0);
132 gMC->SetProcess("DRAY",0);
133 gMC->SetProcess("ANNI",1);
134 gMC->SetProcess("BREM",1);
135 gMC->SetProcess("MUNU",1);
136 gMC->SetProcess("CKOV",1);
137 gMC->SetProcess("HADR",1);
138 gMC->SetProcess("LOSS",2);
139 gMC->SetProcess("MULS",1);
140 gMC->SetProcess("RAYL",1);
142 Float_t cut = 1.e-3; // 1MeV cut by default
143 Float_t tofmax = 1.e10;
145 gMC->SetCut("CUTGAM", cut);
146 gMC->SetCut("CUTELE", cut);
147 gMC->SetCut("CUTNEU", cut);
148 gMC->SetCut("CUTHAD", cut);
149 gMC->SetCut("CUTMUO", cut);
150 gMC->SetCut("BCUTE", cut);
151 gMC->SetCut("BCUTM", cut);
152 gMC->SetCut("DCUTE", cut);
153 gMC->SetCut("DCUTM", cut);
154 gMC->SetCut("PPCUTM", cut);
155 gMC->SetCut("TOFMAX", tofmax);
158 // Generator Configuration
160 AliGenerator* gener = GeneratorFactory(srun);
161 gener->SetOrigin(0, 0, 0); // vertex position
162 gener->SetSigma(0, 0, 5.3); // Sigma in (X,Y,Z) (cm) on IP position
163 gener->SetCutVertexZ(1.); // Truncate at 1 sigma
164 gener->SetVertexSmear(kPerEvent);
165 gener->SetTrackingFlag(1);
168 if (smag == AliMagF::k2kG) {
169 comment = comment.Append(" | L3 field 0.2 T");
170 } else if (smag == AliMagF::k5kG) {
171 comment = comment.Append(" | L3 field 0.5 T");
175 if (srad == kGluonRadiation)
177 comment = comment.Append(" | Gluon Radiation On");
180 comment = comment.Append(" | Gluon Radiation Off");
185 comment = comment.Append(" | Holes for PHOS/HMPID");
188 comment = comment.Append(" | No holes for PHOS/HMPID");
191 printf("\n \n Comment: %s \n \n", comment.Data());
195 AliMagF* field = new AliMagF("Maps","Maps", 2, 1., 1., 10., smag));
196 TGeoGlobalMagField::Instance()->SetField(field);
197 field->SetL3ConstField(0); //Using const. field in the barrel
222 //=================== Alice BODY parameters =============================
223 AliBODY *BODY = new AliBODY("BODY", "Alice envelop");
228 //=================== MAG parameters ============================
229 // --- Start with Magnet since detector layouts may be depending ---
230 // --- on the selected Magnet dimensions ---
231 AliMAG *MAG = new AliMAG("MAG", "Magnet");
237 //=================== ABSO parameters ============================
238 AliABSO *ABSO = new AliABSOv0("ABSO", "Muon Absorber");
243 //=================== DIPO parameters ============================
245 AliDIPO *DIPO = new AliDIPOv2("DIPO", "Dipole version 2");
250 //=================== HALL parameters ============================
252 AliHALL *HALL = new AliHALL("HALL", "Alice Hall");
258 //=================== FRAME parameters ============================
260 AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
261 if (sgeo == kHoles) {
270 //=================== SHIL parameters ============================
272 AliSHIL *SHIL = new AliSHILv2("SHIL", "Shielding Version 2");
278 //=================== PIPE parameters ============================
280 AliPIPE *PIPE = new AliPIPEv0("PIPE", "Beam Pipe");
285 //=================== ITS parameters ============================
287 // As the innermost detector in ALICE, the Inner Tracking System "impacts" on
288 // almost all other detectors. This involves the fact that the ITS geometry
289 // still has several options to be followed in parallel in order to determine
290 // the best set-up which minimizes the induced background. All the geometries
291 // available to date are described in the following. Read carefully the comments
292 // and use the default version (the only one uncommented) unless you are making
293 // comparisons and you know what you are doing. In this case just uncomment the
294 // ITS geometry you want to use and run Aliroot.
296 // Detailed geometries:
299 //AliITS *ITS = new AliITSv5symm("ITS","Updated ITS TDR detailed version with symmetric services");
301 //AliITS *ITS = new AliITSv5asymm("ITS","Updates ITS TDR detailed version with asymmetric services");
303 AliITSvPPRasymmFMD *ITS = new AliITSvPPRasymmFMD("ITS","New ITS PPR detailed version with asymmetric services");
304 ITS->SetMinorVersion(2); // don't touch this parameter if you're not an ITS developer
305 ITS->SetReadDet(kTRUE); // don't touch this parameter if you're not an ITS developer
306 // ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRasymm2.det"); // don't touch this parameter if you're not an ITS developer
307 ITS->SetThicknessDet1(200.); // detector thickness on layer 1 must be in the range [100,300]
308 ITS->SetThicknessDet2(200.); // detector thickness on layer 2 must be in the range [100,300]
309 ITS->SetThicknessChip1(200.); // chip thickness on layer 1 must be in the range [150,300]
310 ITS->SetThicknessChip2(200.); // chip thickness on layer 2 must be in the range [150,300]
311 ITS->SetRails(0); // 1 --> rails in ; 0 --> rails out
312 ITS->SetCoolingFluid(1); // 1 --> water ; 0 --> freon
314 // Coarse geometries (warning: no hits are produced with these coarse geometries and they unuseful
315 // for reconstruction !):
318 //AliITSvPPRcoarseasymm *ITS = new AliITSvPPRcoarseasymm("ITS","New ITS PPR coarse version with asymmetric services");
319 //ITS->SetRails(0); // 1 --> rails in ; 0 --> rails out
320 //ITS->SetSupportMaterial(0); // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
322 //AliITS *ITS = new AliITSvPPRcoarsesymm("ITS","New ITS PPR coarse version with symmetric services");
323 //ITS->SetRails(0); // 1 --> rails in ; 0 --> rails out
324 //ITS->SetSupportMaterial(0); // 0 --> Copper ; 1 --> Aluminum ; 2 --> Carbon
328 // Geant3 <-> EUCLID conversion
329 // ============================
331 // SetEUCLID is a flag to output (=1) or not to output (=0) both geometry and
332 // media to two ASCII files (called by default ITSgeometry.euc and
333 // ITSgeometry.tme) in a format understandable to the CAD system EUCLID.
334 // The default (=0) means that you dont want to use this facility.
341 //============================ TPC parameters ================================
342 // --- This allows the user to specify sectors for the SLOW (TPC geometry 2)
343 // --- Simulator. SecAL (SecAU) <0 means that ALL lower (upper)
344 // --- sectors are specified, any value other than that requires at least one
345 // --- sector (lower or upper)to be specified!
346 // --- Reminder: sectors 1-24 are lower sectors (1-12 -> z>0, 13-24 -> z<0)
347 // --- sectors 25-72 are the upper ones (25-48 -> z>0, 49-72 -> z<0)
348 // --- SecLows - number of lower sectors specified (up to 6)
349 // --- SecUps - number of upper sectors specified (up to 12)
350 // --- Sens - sensitive strips for the Slow Simulator !!!
351 // --- This does NOT work if all S or L-sectors are specified, i.e.
352 // --- if SecAL or SecAU < 0
355 //-----------------------------------------------------------------------------
357 // gROOT->LoadMacro("SetTPCParam.C");
358 // AliTPCParam *param = SetTPCParam();
359 AliTPC *TPC = new AliTPCv2("TPC", "Default");
361 // All sectors included
369 //=================== TOF parameters ============================
370 AliTOF *TOF = new AliTOFv4T0("TOF", "normal TOF");
376 //=================== HMPID parameters ===========================
377 AliHMPID *HMPID = new AliHMPIDv1("HMPID", "normal HMPID");
384 //=================== ZDC parameters ============================
386 AliZDC *ZDC = new AliZDCv2("ZDC", "normal ZDC");
391 //=================== TRD parameters ============================
393 AliTRD *TRD = new AliTRDv1("TRD", "TRD slow simulator");
395 // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
397 if (sgeo == kHoles) {
398 // With hole in front of PHOS
400 // With hole in front of HMPID
404 AliTRDsim *TRDsim = TRD->CreateTR();
409 //=================== FMD parameters ============================
410 AliFMD *FMD = new AliFMDv1("FMD", "normal FMD");
415 //=================== MUON parameters ===========================
417 AliMUON *MUON = new AliMUONv1("MUON", "default");
419 //=================== PHOS parameters ===========================
423 AliPHOS *PHOS = new AliPHOSv1("PHOS", "IHEP");
429 //=================== PMD parameters ============================
430 AliPMD *PMD = new AliPMDv1("PMD", "normal PMD");
435 //=================== T0 parameters ============================
436 AliT0 *T0 = new AliT0v1("T0", "T0 Detector");
441 //=================== EMCAL parameters ============================
442 AliEMCAL *EMCAL = new AliEMCALv1("EMCAL", "G56_2_55_19");
447 //=================== ACORDE parameters ============================
448 AliACORDE *ACORDE = new AliACORDEv1("ACORDE", "normal ACORDE");
453 //=================== ACORDE parameters ============================
454 AliVZERO *VZERO = new AliVZEROv3("VZERO", "normal VZERO");
460 Float_t EtaToTheta(Float_t arg){
461 return (180./TMath::Pi())*2.*atan(exp(-arg));
466 AliGenerator* GeneratorFactory(PprRun_t srun) {
468 if (srad == kNoGluonRadiation) isw = 0;
471 AliGenerator * gGener = 0x0;
475 comment = comment.Append(":HIJINGparam test 50 particles");
476 AliGenHIJINGpara *gener = new AliGenHIJINGpara(50);
477 gener->SetMomentumRange(0, 999999.);
478 gener->SetPhiRange(0., 360.);
479 // Set pseudorapidity range from -8 to 8.
480 Float_t thmin = EtaToTheta(1); // theta min. <---> eta max
481 Float_t thmax = EtaToTheta(-1); // theta max. <---> eta min
482 gener->SetThetaRange(thmin,thmax);
488 comment = comment.Append(":HIJINGparam N=8000");
489 AliGenHIJINGpara *gener = new AliGenHIJINGpara(86030);
490 gener->SetMomentumRange(0, 999999.);
491 gener->SetPhiRange(0., 360.);
492 // Set pseudorapidity range from -8 to 8.
493 Float_t thmin = EtaToTheta(8); // theta min. <---> eta max
494 Float_t thmax = EtaToTheta(-8); // theta max. <---> eta min
495 gener->SetThetaRange(thmin,thmax);
501 comment = comment.Append("HIJINGparam N=4000");
502 AliGenHIJINGpara *gener = new AliGenHIJINGpara(43015);
503 gener->SetMomentumRange(0, 999999.);
504 gener->SetPhiRange(0., 360.);
505 // Set pseudorapidity range from -8 to 8.
506 Float_t thmin = EtaToTheta(8); // theta min. <---> eta max
507 Float_t thmax = EtaToTheta(-8); // theta max. <---> eta min
508 gener->SetThetaRange(thmin,thmax);
514 comment = comment.Append("HIJINGparam N=2000");
515 AliGenHIJINGpara *gener = new AliGenHIJINGpara(21507);
516 gener->SetMomentumRange(0, 999999.);
517 gener->SetPhiRange(0., 360.);
518 // Set pseudorapidity range from -8 to 8.
519 Float_t thmin = EtaToTheta(8); // theta min. <---> eta max
520 Float_t thmax = EtaToTheta(-8); // theta max. <---> eta min
521 gener->SetThetaRange(thmin,thmax);
530 comment = comment.Append("HIJING cent1");
531 AliGenHijing *gener = HijingStandard();
532 // impact parameter range
533 gener->SetImpactParameterRange(0., 5.);
539 comment = comment.Append("HIJING cent2");
540 AliGenHijing *gener = HijingStandard();
541 // impact parameter range
542 gener->SetImpactParameterRange(0., 2.);
551 comment = comment.Append("HIJING per1");
552 AliGenHijing *gener = HijingStandard();
553 // impact parameter range
554 gener->SetImpactParameterRange(5., 8.6);
560 comment = comment.Append("HIJING per2");
561 AliGenHijing *gener = HijingStandard();
562 // impact parameter range
563 gener->SetImpactParameterRange(8.6, 11.2);
569 comment = comment.Append("HIJING per3");
570 AliGenHijing *gener = HijingStandard();
571 // impact parameter range
572 gener->SetImpactParameterRange(11.2, 13.2);
578 comment = comment.Append("HIJING per4");
579 AliGenHijing *gener = HijingStandard();
580 // impact parameter range
581 gener->SetImpactParameterRange(13.2, 15.);
587 comment = comment.Append("HIJING per5");
588 AliGenHijing *gener = HijingStandard();
589 // impact parameter range
590 gener->SetImpactParameterRange(15., 100.);
599 comment = comment.Append("HIJING Jet 25 GeV");
600 AliGenHijing *gener = HijingStandard();
601 // impact parameter range
602 gener->SetImpactParameterRange(0., 5.);
604 gener->SetTrigger(1);
605 gener->SetPtJet(25.);
606 gener->SetRadiation(isw);
607 gener->SetSimpleJets(!isw);
608 gener->SetJetEtaRange(-0.3,0.3);
609 gener->SetJetPhiRange(75., 165.);
616 comment = comment.Append("HIJING Jet 50 GeV");
617 AliGenHijing *gener = HijingStandard();
618 // impact parameter range
619 gener->SetImpactParameterRange(0., 5.);
621 gener->SetTrigger(1);
622 gener->SetPtJet(50.);
623 gener->SetRadiation(isw);
624 gener->SetSimpleJets(!isw);
625 gener->SetJetEtaRange(-0.3,0.3);
626 gener->SetJetPhiRange(75., 165.);
633 comment = comment.Append("HIJING Jet 75 GeV");
634 AliGenHijing *gener = HijingStandard();
635 // impact parameter range
636 gener->SetImpactParameterRange(0., 5.);
638 gener->SetTrigger(1);
639 gener->SetPtJet(75.);
640 gener->SetRadiation(isw);
641 gener->SetSimpleJets(!isw);
642 gener->SetJetEtaRange(-0.3,0.3);
643 gener->SetJetPhiRange(75., 165.);
650 comment = comment.Append("HIJING Jet 100 GeV");
651 AliGenHijing *gener = HijingStandard();
652 // impact parameter range
653 gener->SetImpactParameterRange(0., 5.);
655 gener->SetTrigger(1);
656 gener->SetPtJet(100.);
657 gener->SetRadiation(isw);
658 gener->SetSimpleJets(!isw);
659 gener->SetJetEtaRange(-0.3,0.3);
660 gener->SetJetPhiRange(75., 165.);
667 comment = comment.Append("HIJING Jet 200 GeV");
668 AliGenHijing *gener = HijingStandard();
669 // impact parameter range
670 gener->SetImpactParameterRange(0., 5.);
672 gener->SetTrigger(1);
673 gener->SetPtJet(200.);
674 gener->SetRadiation(isw);
675 gener->SetSimpleJets(!isw);
676 gener->SetJetEtaRange(-0.3,0.3);
677 gener->SetJetPhiRange(75., 165.);
686 comment = comment.Append("HIJING Gamma 25 GeV");
687 AliGenHijing *gener = HijingStandard();
688 // impact parameter range
689 gener->SetImpactParameterRange(0., 5.);
691 gener->SetTrigger(2);
692 gener->SetPtJet(25.);
693 gener->SetRadiation(isw);
694 gener->SetSimpleJets(!isw);
695 gener->SetJetEtaRange(-0.12, 0.12);
696 gener->SetJetPhiRange(220., 320.);
703 comment = comment.Append("HIJING Gamma 50 GeV");
704 AliGenHijing *gener = HijingStandard();
705 // impact parameter range
706 gener->SetImpactParameterRange(0., 5.);
708 gener->SetTrigger(2);
709 gener->SetPtJet(50.);
710 gener->SetRadiation(isw);
711 gener->SetSimpleJets(!isw);
712 gener->SetJetEtaRange(-0.12, 0.12);
713 gener->SetJetPhiRange(220., 320.);
720 comment = comment.Append("HIJING Gamma 75 GeV");
721 AliGenHijing *gener = HijingStandard();
722 // impact parameter range
723 gener->SetImpactParameterRange(0., 5.);
725 gener->SetTrigger(2);
726 gener->SetPtJet(75.);
727 gener->SetRadiation(isw);
728 gener->SetSimpleJets(!isw);
729 gener->SetJetEtaRange(-0.12, 0.12);
730 gener->SetJetPhiRange(220., 320.);
737 comment = comment.Append("HIJING Gamma 100 GeV");
738 AliGenHijing *gener = HijingStandard();
739 // impact parameter range
740 gener->SetImpactParameterRange(0., 5.);
742 gener->SetTrigger(2);
743 gener->SetPtJet(100.);
744 gener->SetRadiation(isw);
745 gener->SetSimpleJets(!isw);
746 gener->SetJetEtaRange(-0.12, 0.12);
747 gener->SetJetPhiRange(220., 320.);
754 comment = comment.Append("HIJING Gamma 200 GeV");
755 AliGenHijing *gener = HijingStandard();
756 // impact parameter range
757 gener->SetImpactParameterRange(0., 5.);
759 gener->SetTrigger(2);
760 gener->SetPtJet(200.);
761 gener->SetRadiation(isw);
762 gener->SetSimpleJets(!isw);
763 gener->SetJetEtaRange(-0.12, 0.12);
764 gener->SetJetPhiRange(220., 320.);
770 comment = comment.Append("HIJING pA");
772 AliGenCocktail *gener = new AliGenCocktail();
773 // gener->SetTrackingFlag(0);
774 gener->SetOrigin(0, 0, 0); // vertex position
775 gener->SetSigma(0, 0, 5.3); // Sigma in (X,Y,Z) (cm) on IP position
776 gener->SetCutVertexZ(1.); // Truncate at 1 sigma
777 gener->SetVertexSmear(kPerEvent);
778 AliGenHijing *hijing = new AliGenHijing(-1);
779 // centre of mass energy
780 hijing->SetEnergyCMS(TMath::Sqrt(82./208.) * 14000.);
781 // impact parameter range
782 hijing->SetImpactParameterRange(0., 15.);
784 hijing->SetReferenceFrame("CMS");
785 hijing->SetBoostLHC(1);
787 hijing->SetProjectile("P", 1, 1);
788 hijing->SetTarget ("A", 208, 82);
789 // tell hijing to keep the full parent child chain
790 hijing->KeepFullEvent();
791 // enable jet quenching
792 hijing->SetJetQuenching(0);
794 hijing->SetShadowing(1);
795 // Don't track spectators
796 hijing->SetSpectators(0);
797 // kinematic selection
798 hijing->SetSelectAll(0);
800 AliGenSlowNucleons* gray = new AliGenSlowNucleons(1);
801 AliSlowNucleonModel* model = new AliSlowNucleonModelExp();
802 gray->SetSlowNucleonModel(model);
804 gener->AddGenerator(hijing,"Hijing pPb", 1);
805 gener->AddGenerator(gray, "Gray Particles",1);
811 comment = comment.Append(":Pythia p-p @ 14 TeV");
812 AliGenPythia *gener = new AliGenPythia(-1);
813 gener->SetMomentumRange(0,999999);
814 gener->SetPhiRange(-180,180);
815 gener->SetThetaRange(0., 180.);
816 gener->SetYRange(-12,12);
817 gener->SetPtRange(0,1000);
818 gener->SetStrucFunc(kCTEQ4L);
819 gener->SetProcess(kPyMb);
820 gener->SetEnergyCMS(14000.);
826 comment = comment.Append(":Pythia jets @ 5.5 TeV");
827 AliGenPythia * gener = new AliGenPythia(-1);
828 gener->SetEnergyCMS(5500.);// Centre of mass energy
829 gener->SetProcess(kPyJets);// Process type
830 gener->SetJetEtaRange(-0.5, 0.5);// Final state kinematic cuts
831 gener->SetJetPhiRange(0., 360.);
832 gener->SetJetEtRange(10., 1000.);
833 gener->SetGluonRadiation(1,1);
834 // gener->SetPtKick(0.);
835 // Structure function
836 gener->SetStrucFunc(kCTEQ4L);
837 gener->SetPtHard(86., 104.);// Pt transfer of the hard scattering
838 gener->SetPycellParameters(2., 274, 432, 0., 4., 5., 1.0);
839 gener->SetForceDecay(kAll);// Decay type (semielectronic, etc.)
845 comment = comment.Append(" D0 in Pb-Pb at 5.5 TeV");
846 AliGenPythia * gener = new AliGenPythia(10);
847 gener->SetProcess(kPyD0PbPbMNR);
848 gener->SetStrucFunc(kCTEQ4L);
849 gener->SetPtHard(2.1,-1.0);
850 gener->SetEnergyCMS(5500.);
851 gener->SetNuclei(208,208);
859 AliGenHijing* HijingStandard()
861 AliGenHijing *gener = new AliGenHijing(-1);
862 // centre of mass energy
863 gener->SetEnergyCMS(5500.);
865 gener->SetReferenceFrame("CMS");
867 gener->SetProjectile("A", 208, 82);
868 gener->SetTarget ("A", 208, 82);
869 // tell hijing to keep the full parent child chain
870 gener->KeepFullEvent();
871 // enable jet quenching
872 gener->SetJetQuenching(4);
874 gener->SetShadowing(1);
875 // neutral pion and heavy particle decays switched off
876 gener->SetDecaysOff(1);
877 // Don't track spectators
878 gener->SetSpectators(0);
879 // kinematic selection
880 gener->SetSelectAll(0);