From 61768081b0abcba10a5b49c3efa590a1701d7f09 Mon Sep 17 00:00:00 2001 From: Nicole Bastid <75683312+NicoleBastid@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:42:05 +0100 Subject: [PATCH 1/9] Add files via upload .cfg for semimuonic decays (c and b) --- .../pythia8_beauty_with_mudecays_Mode2.cfg | 71 ++++++++++++++++++ .../pythia8_charm_with_mudecays_Mode2.cfg | 72 +++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg create mode 100644 MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg diff --git a/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg b/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg new file mode 100644 index 000000000..a1fdd9191 --- /dev/null +++ b/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg @@ -0,0 +1,71 @@ +### authors: Fabrizio Grosa (fabrizio.grosa@cern.ch) +### Cristina Terrevoli (cristina.terrevoli@cern.ch) +### Fabio Catalano (fabio.catalano@cern.ch) +### Nicole Bastid (nicole.bastid@cern.ch) +### Beauty decay muons +### last update: November 2024 + +### beams +Beams:idA 2212 # proton +Beams:idB 2212 # proton +Beams:eCM 13600. # GeV + +### processes +SoftQCD:inelastic on # all inelastic processes + +### decays +ParticleDecays:limitTau0 on +ParticleDecays:tau0Max 10. + +### switching on Pythia Mode2 +ColourReconnection:mode 1 +ColourReconnection:allowDoubleJunRem off +ColourReconnection:m0 0.3 +ColourReconnection:allowJunctions on +ColourReconnection:junctionCorrection 1.20 +ColourReconnection:timeDilationMode 2 +ColourReconnection:timeDilationPar 0.18 +StringPT:sigma 0.335 +StringZ:aLund 0.36 +StringZ:bLund 0.56 +StringFlav:probQQtoQ 0.078 +StringFlav:ProbStoUD 0.2 +StringFlav:probQQ1toQQ0join 0.0275,0.0275,0.0275,0.0275 +MultiPartonInteractions:pT0Ref 2.15 +BeamRemnants:remnantMode 1 +BeamRemnants:saturation 5 + +# Correct decay lengths (wrong in PYTHIA8 decay table) +# Lb +5122:tau0 = 0.4390 +# Xic0 +4132:tau0 = 0.0455 +# OmegaC +4332:tau0 = 0.0803 + + +### switch off all decay channels for charm +511:onMode = off +521:onMode = off +531:onMode = off +5122:onMode = off +5132:onMode = off +5232:onMode = off +5332:onMode = off + +###Semimuonic decays of charm + +### B0 -> mu X +511:onIfAny = 13 +### B+/- -> mu X +521:onIfAny = 13 +### B_s -> mu X +531:onIfAny = 13 +### Lambda_b -> mu X +5122:onIfAny = 13 +### Sigma_b -> mu X +5132:onIfAny = 13 +### Sigma_b0 -> mu X +5232:onIfAny = 13 +### Omega_b -> mu X +5332:onIfAny = 13 diff --git a/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg b/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg new file mode 100644 index 000000000..2fe52547c --- /dev/null +++ b/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg @@ -0,0 +1,72 @@ +### authors: Fabrizio Grosa (fabrizio.grosa@cern.ch) +### Cristina Terrevoli (cristina.terrevoli@cern.ch) +### Fabio Catalano (fabio.catalano@cern.ch) +### Nicole Bastid (nicole.bastid@cern.ch) +### charm decay muons +### last update: November 2024 + +### beams +Beams:idA 2212 # proton +Beams:idB 2212 # proton +Beams:eCM 13600. # GeV + +### processes +SoftQCD:inelastic on # all inelastic processes + +### decays +ParticleDecays:limitTau0 on +ParticleDecays:tau0Max 10. + +### switching on Pythia Mode2 +ColourReconnection:mode 1 +ColourReconnection:allowDoubleJunRem off +ColourReconnection:m0 0.3 +ColourReconnection:allowJunctions on +ColourReconnection:junctionCorrection 1.20 +ColourReconnection:timeDilationMode 2 +ColourReconnection:timeDilationPar 0.18 +StringPT:sigma 0.335 +StringZ:aLund 0.36 +StringZ:bLund 0.56 +StringFlav:probQQtoQ 0.078 +StringFlav:ProbStoUD 0.2 +StringFlav:probQQ1toQQ0join 0.0275,0.0275,0.0275,0.0275 +MultiPartonInteractions:pT0Ref 2.15 +BeamRemnants:remnantMode 1 +BeamRemnants:saturation 5 + +# Correct decay lengths (wrong in PYTHIA8 decay table) +# Lb +5122:tau0 = 0.4390 +# Xic0 +4132:tau0 = 0.0455 +# OmegaC +4332:tau0 = 0.0803 + +### switch off all decay channels for charm +411:onMode = off +421:onMode = off +431:onMode = off +4112:onMode = off +4122:onMode = off +4232:onMode = off +4132:onMode = off +443:onMode = off +4332:onMode = off + +###Semimuonic decays of charm + +### D+/- -> mu X +411:onIfAny = 13 +### D0 -> mu X +421:onIfAny = 13 +### D_s -> mu X +431:onIfAny = 13 +### Lambda_c -> mu X +4122:onIfAny = 13 +### Sigma -> mu X +4232:onIfAny = 13 +### Sigma_c -> mu X +4132:onIfAny = 13 +### Omega_c -> mu X +4332:onIfAny = 13 From db136d7d3ba4e8cff181999b7aa8b411841ea388 Mon Sep 17 00:00:00 2001 From: Nicole Bastid <75683312+NicoleBastid@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:44:20 +0100 Subject: [PATCH 2/9] Add files via upload HF generator for semimuonic decays --- .../PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini | 7 +++++++ .../PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 MC/config/PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini create mode 100644 MC/config/PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini diff --git a/MC/config/PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini b/MC/config/PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini new file mode 100644 index 000000000..27f89bbda --- /dev/null +++ b/MC/config/PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini @@ -0,0 +1,7 @@ +### The external generator derives from GeneratorPythia8. +[GeneratorExternal] +fileName=${O2DPG_ROOT}/MC/config/PWGHF/external/generator/generator_pythia8_gaptriggered_hf.C +funcName=GeneratorPythia8GapTriggeredBeauty(5, -4.3, -2.2) +[GeneratorPythia8] +config=${O2DPG_ROOT}/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg +includePartonEvent=true diff --git a/MC/config/PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini b/MC/config/PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini new file mode 100644 index 000000000..073ba5d8f --- /dev/null +++ b/MC/config/PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini @@ -0,0 +1,7 @@ +### The external generator derives from GeneratorPythia8. +[GeneratorExternal] +fileName=${O2DPG_ROOT}/MC/config/PWGHF/external/generator/generator_pythia8_gaptriggered_hf.C +funcName=GeneratorPythia8GapTriggeredCharm(5, -4.3, -2.2) +[GeneratorPythia8] +config=${O2DPG_ROOT}/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg +includePartonEvent=true From dff5285bf28ad89f9eca2dcccd271b9c28a57a48 Mon Sep 17 00:00:00 2001 From: Nicole Bastid <75683312+NicoleBastid@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:46:18 +0100 Subject: [PATCH 3/9] Add files via upload test MC of semimuonic decays at kinematics --- ...GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.C | 103 ++++++++++++++++++ ...GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.C | 103 ++++++++++++++++++ 2 files changed, 206 insertions(+) create mode 100644 MC/config/PWGHF/ini/tests/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.C create mode 100644 MC/config/PWGHF/ini/tests/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.C diff --git a/MC/config/PWGHF/ini/tests/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.C b/MC/config/PWGHF/ini/tests/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.C new file mode 100644 index 000000000..bc26e5e7e --- /dev/null +++ b/MC/config/PWGHF/ini/tests/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.C @@ -0,0 +1,103 @@ +int External() { + + int checkPdgDecayMuon = 13; + int checkPdgQuark = 5; + + float ratioTrigger = 1. / 5; // one event triggered out of 5 + + std::string path{"o2sim_Kine.root"}; + + TFile file(path.c_str(), "READ"); + if (file.IsZombie()) { + std::cerr << "Cannot open ROOT file" << path << "\n"; + return 1; + } + + auto tree = (TTree *)file.Get("o2sim"); + if (!tree) { + std::cerr << "Cannot find tree o2sim in file" << path << "\n"; + return 1; + } + + std::vector *tracks{}; + tree->SetBranchAddress("MCTrack", &tracks); + + o2::dataformats::MCEventHeader *eventHeader = nullptr; + tree->SetBranchAddress("MCEventHeader.", &eventHeader); + + int nEventsMB{}; + int nEventsInj{}; + int nQuarks{}; + int nMuons{}; + + int nMuonsInAcceptance{}; + + auto nEvents = tree->GetEntries(); + + for (int i = 0; i < nEvents; i++) { + tree->GetEntry(i); + // check subgenerator information + if (eventHeader->hasInfo(o2::mcgenid::GeneratorProperty::SUBGENERATORID)) { + bool isValid = false; + int subGeneratorId = eventHeader->getInfo( + o2::mcgenid::GeneratorProperty::SUBGENERATORID, isValid); + if (subGeneratorId == 0) { + nEventsMB++; + } else if (subGeneratorId == checkPdgQuark) { + nEventsInj++; + } + } // if event header + + int nmuonsev = 0; + int nmuonsevinacc = 0; + + for (auto &track : *tracks) { + auto pdg = track.GetPdgCode(); + if (std::abs(pdg) == checkPdgQuark) { + nQuarks++; + continue; + } // pdgquark + auto y = track.GetRapidity(); + if (std::abs(pdg) == checkPdgDecayMuon) { + int igmother = track.getMotherTrackId(); + auto gmTrack = (*tracks)[igmother]; + int gmpdg = gmTrack.GetPdgCode(); + if (int(std::abs(gmpdg) / 100.) == 5 || + int(std::abs(gmpdg) / 1000.) == 5) { + nMuons++; + nmuonsev++; + if (-4.3 < y && y < -2.2) { + nMuonsInAcceptance++; + nmuonsevinacc++; + } + } // gmpdg + + } // pdgdecay + + } // loop track + // std::cout << "#muons per event: " << nmuonsev << "\n"; + // std::cout << "#muons in acceptance per event: " << nmuonsev << "\n"; + } // events + + std::cout << "#events: " << nEvents << "\n"; + std::cout << "# MB events: " << nEventsMB << "\n"; + std::cout << Form("# events injected with %d quark pair: ", checkPdgQuark) + << nEventsInj << "\n"; + if (nEventsMB < nEvents * (1 - ratioTrigger) * 0.95 || + nEventsMB > nEvents * (1 - ratioTrigger) * + 1.05) { // we put some tolerance since the number of + // generated events is small + std::cerr << "Number of generated MB events different than expected\n"; + return 1; + } + if (nEventsInj < nEvents * ratioTrigger * 0.95 || + nEventsInj > nEvents * ratioTrigger * 1.05) { + std::cerr << "Number of generated events injected with " << checkPdgQuark + << " different than expected\n"; + return 1; + } + std::cout << "#muons: " << nMuons << "\n"; + std::cout << "#muons in acceptance: " << nMuonsInAcceptance << "\n"; + + return 0; +} // external diff --git a/MC/config/PWGHF/ini/tests/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.C b/MC/config/PWGHF/ini/tests/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.C new file mode 100644 index 000000000..25c5338a3 --- /dev/null +++ b/MC/config/PWGHF/ini/tests/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.C @@ -0,0 +1,103 @@ +int External() { + + int checkPdgDecayMuon = 13; + int checkPdgQuark = 4; + + float ratioTrigger = 1. / 5; // one event triggered out of 5 + + std::string path{"o2sim_Kine.root"}; + + TFile file(path.c_str(), "READ"); + if (file.IsZombie()) { + std::cerr << "Cannot open ROOT file" << path << "\n"; + return 1; + } + + auto tree = (TTree *)file.Get("o2sim"); + if (!tree) { + std::cerr << "Cannot find tree o2sim in file" << path << "\n"; + return 1; + } + + std::vector *tracks{}; + tree->SetBranchAddress("MCTrack", &tracks); + + o2::dataformats::MCEventHeader *eventHeader = nullptr; + tree->SetBranchAddress("MCEventHeader.", &eventHeader); + + int nEventsMB{}; + int nEventsInj{}; + int nQuarks{}; + int nMuons{}; + + int nMuonsInAcceptance{}; + + auto nEvents = tree->GetEntries(); + + for (int i = 0; i < nEvents; i++) { + tree->GetEntry(i); + // check subgenerator information + if (eventHeader->hasInfo(o2::mcgenid::GeneratorProperty::SUBGENERATORID)) { + bool isValid = false; + int subGeneratorId = eventHeader->getInfo( + o2::mcgenid::GeneratorProperty::SUBGENERATORID, isValid); + if (subGeneratorId == 0) { + nEventsMB++; + } else if (subGeneratorId == checkPdgQuark) { + nEventsInj++; + } + } // if event header + + int nmuonsev = 0; + int nmuonsevinacc = 0; + + for (auto &track : *tracks) { + auto pdg = track.GetPdgCode(); + if (std::abs(pdg) == checkPdgQuark) { + nQuarks++; + continue; + } // pdgquark + auto y = track.GetRapidity(); + if (std::abs(pdg) == checkPdgDecayMuon) { + int igmother = track.getMotherTrackId(); + auto gmTrack = (*tracks)[igmother]; + int gmpdg = gmTrack.GetPdgCode(); + if (int(std::abs(gmpdg) / 100.) == 5 || + int(std::abs(gmpdg) / 1000.) == 5) { + nMuons++; + nmuonsev++; + if (-4.3 < y && y < -2.2) { + nMuonsInAcceptance++; + nmuonsevinacc++; + } + } // gmpdg + + } // pdgdecay + + } // loop track + // std::cout << "#muons per event: " << nmuonsev << "\n"; + // std::cout << "#muons in acceptance per event: " << nmuonsev << "\n"; + } // events + + std::cout << "#events: " << nEvents << "\n"; + std::cout << "# MB events: " << nEventsMB << "\n"; + std::cout << Form("# events injected with %d quark pair: ", checkPdgQuark) + << nEventsInj << "\n"; + if (nEventsMB < nEvents * (1 - ratioTrigger) * 0.95 || + nEventsMB > nEvents * (1 - ratioTrigger) * + 1.05) { // we put some tolerance since the number of + // generated events is small + std::cerr << "Number of generated MB events different than expected\n"; + return 1; + } + if (nEventsInj < nEvents * ratioTrigger * 0.95 || + nEventsInj > nEvents * ratioTrigger * 1.05) { + std::cerr << "Number of generated events injected with " << checkPdgQuark + << " different than expected\n"; + return 1; + } + std::cout << "#muons: " << nMuons << "\n"; + std::cout << "#muons in acceptance: " << nMuonsInAcceptance << "\n"; + + return 0; +} // external From 7904426730b7135de1c9987d6b36a3c13722b41e Mon Sep 17 00:00:00 2001 From: Nicole Bastid <75683312+NicoleBastid@users.noreply.github.com> Date: Wed, 20 Nov 2024 19:35:01 +0100 Subject: [PATCH 4/9] remove unnecessary channels and updated one comment --- .../generator/pythia8_charm_with_mudecays_Mode2.cfg | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg b/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg index 2fe52547c..5888fc00f 100644 --- a/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg +++ b/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg @@ -47,11 +47,8 @@ BeamRemnants:saturation 5 411:onMode = off 421:onMode = off 431:onMode = off -4112:onMode = off 4122:onMode = off -4232:onMode = off 4132:onMode = off -443:onMode = off 4332:onMode = off ###Semimuonic decays of charm @@ -64,9 +61,7 @@ BeamRemnants:saturation 5 431:onIfAny = 13 ### Lambda_c -> mu X 4122:onIfAny = 13 -### Sigma -> mu X -4232:onIfAny = 13 -### Sigma_c -> mu X +### Xsi_c -> mu X 4132:onIfAny = 13 ### Omega_c -> mu X 4332:onIfAny = 13 From 274d93a2ba45508a5cebf4cf8e97f9be40e1d0f6 Mon Sep 17 00:00:00 2001 From: Nicole Bastid <75683312+NicoleBastid@users.noreply.github.com> Date: Wed, 20 Nov 2024 19:42:19 +0100 Subject: [PATCH 5/9] removed unnecessary decay channels and corrected a comment --- .../pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg b/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg index a1fdd9191..8882f7c32 100644 --- a/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg +++ b/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg @@ -50,7 +50,6 @@ BeamRemnants:saturation 5 531:onMode = off 5122:onMode = off 5132:onMode = off -5232:onMode = off 5332:onMode = off ###Semimuonic decays of charm @@ -63,9 +62,7 @@ BeamRemnants:saturation 5 531:onIfAny = 13 ### Lambda_b -> mu X 5122:onIfAny = 13 -### Sigma_b -> mu X +### Xsi_b -> mu X 5132:onIfAny = 13 -### Sigma_b0 -> mu X -5232:onIfAny = 13 ### Omega_b -> mu X 5332:onIfAny = 13 From 0574fd24baa64c7d6161c7953c0ea3f25a17f6f6 Mon Sep 17 00:00:00 2001 From: Nicole Bastid <75683312+NicoleBastid@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:03:39 +0100 Subject: [PATCH 6/9] Update pythia8_beauty_with_mudecays_Mode2.cfg corrected the decay channels (wrong comments in run 2 decayer) --- .../pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg b/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg index 8882f7c32..592ec72e8 100644 --- a/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg +++ b/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg @@ -50,6 +50,7 @@ BeamRemnants:saturation 5 531:onMode = off 5122:onMode = off 5132:onMode = off +5232:onMode = off 5332:onMode = off ###Semimuonic decays of charm @@ -64,5 +65,7 @@ BeamRemnants:saturation 5 5122:onIfAny = 13 ### Xsi_b -> mu X 5132:onIfAny = 13 +### Xsi0_b -> mu X +5232:onIfAny = 13 ### Omega_b -> mu X 5332:onIfAny = 13 From 4730ca6265d8a21d70e4cf4a6f3be167d8ebed0f Mon Sep 17 00:00:00 2001 From: Nicole Bastid <75683312+NicoleBastid@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:08:23 +0100 Subject: [PATCH 7/9] Update pythia8_charm_with_mudecays_Mode2.cfg the decay channels are corrected (the comments were not correct in the Run 2 PYTHIA8 decayer) --- .../pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg b/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg index 5888fc00f..dac759f3b 100644 --- a/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg +++ b/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg @@ -49,6 +49,7 @@ BeamRemnants:saturation 5 431:onMode = off 4122:onMode = off 4132:onMode = off +4232:onMode = off 4332:onMode = off ###Semimuonic decays of charm @@ -61,7 +62,9 @@ BeamRemnants:saturation 5 431:onIfAny = 13 ### Lambda_c -> mu X 4122:onIfAny = 13 -### Xsi_c -> mu X +### Xsi0_c -> mu X 4132:onIfAny = 13 +### Xsi+_c +4232:onIfAny = 13 ### Omega_c -> mu X 4332:onIfAny = 13 From 8f273d0907cea62f98a0447bc8a08c66bda4863d Mon Sep 17 00:00:00 2001 From: Nicole Bastid <75683312+NicoleBastid@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:01:05 +0100 Subject: [PATCH 8/9] Update O2DPG_ROOT to O2DPG_MC_CONFIG_ROOT --- .../PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC/config/PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini b/MC/config/PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini index 27f89bbda..e96f24a0c 100644 --- a/MC/config/PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini +++ b/MC/config/PWGHF/ini/GeneratorHF_mu_bbbar_gap5_Mode2_accSmall.ini @@ -1,7 +1,7 @@ ### The external generator derives from GeneratorPythia8. [GeneratorExternal] -fileName=${O2DPG_ROOT}/MC/config/PWGHF/external/generator/generator_pythia8_gaptriggered_hf.C +fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGHF/external/generator/generator_pythia8_gaptriggered_hf.C funcName=GeneratorPythia8GapTriggeredBeauty(5, -4.3, -2.2) [GeneratorPythia8] -config=${O2DPG_ROOT}/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg +config=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGHF/pythia8/generator/pythia8_beauty_with_mudecays_Mode2.cfg includePartonEvent=true From 0a41a45210f1e19252639c689c1c69843edaab47 Mon Sep 17 00:00:00 2001 From: Nicole Bastid <75683312+NicoleBastid@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:02:52 +0100 Subject: [PATCH 9/9] Update O2DPG_ROOT to O2DPG_MC_CONFIG_ROOT --- .../PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC/config/PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini b/MC/config/PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini index 073ba5d8f..c694e078f 100644 --- a/MC/config/PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini +++ b/MC/config/PWGHF/ini/GeneratorHF_mu_ccbar_gap5_Mode2_accSmall.ini @@ -1,7 +1,7 @@ ### The external generator derives from GeneratorPythia8. [GeneratorExternal] -fileName=${O2DPG_ROOT}/MC/config/PWGHF/external/generator/generator_pythia8_gaptriggered_hf.C +fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGHF/external/generator/generator_pythia8_gaptriggered_hf.C funcName=GeneratorPythia8GapTriggeredCharm(5, -4.3, -2.2) [GeneratorPythia8] -config=${O2DPG_ROOT}/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg +config=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGHF/pythia8/generator/pythia8_charm_with_mudecays_Mode2.cfg includePartonEvent=true