From b0f0c3e97e6f23c53ce9f35f9c283a8452694220 Mon Sep 17 00:00:00 2001 From: Ewa Glimos Date: Wed, 15 May 2024 11:04:11 -0400 Subject: [PATCH] modification to force decay --- MC/CustomGenerators/PWGGA/Pythia8JJ_EtaPrime.C | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/MC/CustomGenerators/PWGGA/Pythia8JJ_EtaPrime.C b/MC/CustomGenerators/PWGGA/Pythia8JJ_EtaPrime.C index 7932dcb0..1e246f7a 100644 --- a/MC/CustomGenerators/PWGGA/Pythia8JJ_EtaPrime.C +++ b/MC/CustomGenerators/PWGGA/Pythia8JJ_EtaPrime.C @@ -3,9 +3,13 @@ AliGenerator* GeneratorCustom(TString opt = ""){ // Pythia AliGenerator *gen = GeneratorPythia8JetsParticleTrg(kPythia8Tune_Monash2013,kCalorimeterAcceptance_FullDetector,331,1.2); - // settings - gen->SetForceDecay(kEtaPrime); - + // force decay: + // eta prime -> pi plus pi minus eta 100% + // eta -> gamma gamma 100% + (AliPythia8::Instance())->ReadString("331:onMode = off"); + (AliPythia8::Instance())->ReadString("331:onIfMatch = 211 -211 221"); + (AliPythia8::Instance())->ReadString("221:onMode = off"); + (AliPythia8::Instance())->ReadString("221:onIfMatch = 22 22"); + return gen; - }