Skip to content

Commit

Permalink
Merge pull request #457 from miweberSMI/master
Browse files Browse the repository at this point in the history
Update HF injection macro for p-Pb (DQ-LMee)
  • Loading branch information
gconesab authored Feb 17, 2021
2 parents 6a818ce + 5ce5dd7 commit 1d2e82d
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ AliGenerator* EPOS_MbPythiaTunePerugia2011bcforcele(Int_t flag)
gener->UsePerEventRates();


// add EPOS generator for p-Pb
AliGenerator *epos = GeneratorEPOSLHC();
gener->AddGenerator(epos, "EPOS-LHC", 1.);

// Background events: EPOS generator for p-Pb (only if non-embedded)
TString simulation = gSystem->Getenv("CONFIG_SIMULATION");
if(!simulation.Contains("Embed")){
AliGenerator *epos = GeneratorEPOSLHC();
gener->AddGenerator(epos, "EPOS-LHC", 1.);
}

comment = comment.Append(" pp: HF->ee in |y|<1.2");

Expand Down Expand Up @@ -108,11 +110,11 @@ AliGenerator* EPOS_MbPythiaTunePerugia2011bcforcele(Int_t flag)
// Create cocktail
////////////////////////////////////////////

if(flag>=0 && flag<10){ // 0.1 x 30 M = 3 M
if(flag>=0 && flag<20){ // 0.2 x 50 M = 10 M
gener->AddGenerator(pythiaCC,"Pythia CC",1.);
}else if(flag>=10 && flag<20){ // 0.1 x 30 M = 3 M
}else if(flag>=20 && flag<40){ // 0.2 x 50 M = 10 M
gener->AddGenerator(pythiaBB,"Pythia BB",1.);
}else if(flag>=20 && flag<100){ // 0.8 x 30 M = 24 M
}else if(flag>=40 && flag<100){ // 0.6 x 50 M = 30 M
gener->AddGenerator(pythiaB,"Pythia B",1.);
}

Expand Down

0 comments on commit 1d2e82d

Please sign in to comment.