Skip to content

Commit

Permalink
Merge pull request #572 from EwaGlimos/master
Browse files Browse the repository at this point in the history
PWGGA: fix to eta prime biased JJ MC generator
  • Loading branch information
gconesab authored May 15, 2024
2 parents 77d3997 + b0f0c3e commit 7c9560b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions MC/CustomGenerators/PWGGA/Pythia8JJ_EtaPrime.C
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ AliGenerator* GeneratorCustom(TString opt = ""){
// Pythia
AliGenerator *gen = GeneratorPythia8JetsParticleTrg(kPythia8Tune_Monash2013,kCalorimeterAcceptance_FullDetector,331,1.2);

// settings
((AliGenPythia*) 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;

}

0 comments on commit 7c9560b

Please sign in to comment.