From 2436e749321d68e5832897c77c0e5c7c07e0be75 Mon Sep 17 00:00:00 2001 From: miweber Date: Wed, 17 Feb 2021 20:06:06 +0100 Subject: [PATCH 1/2] Update HF injection macro for p-Pb (DQ-LMee) --- .../EPOS_Pythia6_Perugia2011_HFdielectrons001.C | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/MC/CustomGenerators/PWGDQ/EPOS_Pythia6_Perugia2011_HFdielectrons001.C b/MC/CustomGenerators/PWGDQ/EPOS_Pythia6_Perugia2011_HFdielectrons001.C index 8c32494b..ed3e0fde 100644 --- a/MC/CustomGenerators/PWGDQ/EPOS_Pythia6_Perugia2011_HFdielectrons001.C +++ b/MC/CustomGenerators/PWGDQ/EPOS_Pythia6_Perugia2011_HFdielectrons001.C @@ -24,10 +24,13 @@ 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")){ + Printf("No Embedding...."); + AliGenerator *epos = GeneratorEPOSLHC(); + gener->AddGenerator(epos, "EPOS-LHC", 1.); + } comment = comment.Append(" pp: HF->ee in |y|<1.2"); @@ -108,11 +111,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.); } From 5ce5dd7b61a6f9824cf49c8efb9a31a066391bc4 Mon Sep 17 00:00:00 2001 From: miweber Date: Wed, 17 Feb 2021 20:07:24 +0100 Subject: [PATCH 2/2] remove printout --- .../PWGDQ/EPOS_Pythia6_Perugia2011_HFdielectrons001.C | 1 - 1 file changed, 1 deletion(-) diff --git a/MC/CustomGenerators/PWGDQ/EPOS_Pythia6_Perugia2011_HFdielectrons001.C b/MC/CustomGenerators/PWGDQ/EPOS_Pythia6_Perugia2011_HFdielectrons001.C index ed3e0fde..67ad8ff3 100644 --- a/MC/CustomGenerators/PWGDQ/EPOS_Pythia6_Perugia2011_HFdielectrons001.C +++ b/MC/CustomGenerators/PWGDQ/EPOS_Pythia6_Perugia2011_HFdielectrons001.C @@ -27,7 +27,6 @@ AliGenerator* EPOS_MbPythiaTunePerugia2011bcforcele(Int_t flag) // Background events: EPOS generator for p-Pb (only if non-embedded) TString simulation = gSystem->Getenv("CONFIG_SIMULATION"); if(!simulation.Contains("Embed")){ - Printf("No Embedding...."); AliGenerator *epos = GeneratorEPOSLHC(); gener->AddGenerator(epos, "EPOS-LHC", 1.); }