Skip to content

Commit

Permalink
Update AliDecayerPythia8.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
ddobrigk authored Feb 1, 2024
1 parent b918bd7 commit f593ee4
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions PYTHIA8/AliPythia8/AliDecayerPythia8.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ AliDecayerPythia8::AliDecayerPythia8():
fPythia8(AliTPythia8::Instance()),
fDebug(0),
fDecay(kAll),
fEnableLongLivedDecay(kFALSE),
fHeavyFlavour(kTRUE)
{
// Constructor
Expand Down Expand Up @@ -96,18 +95,12 @@ void AliDecayerPythia8::Init()
}

fPythia8->ReadString("111:onMode = on");

//...Switch off decay of K0S, Lambda, Sigma+-, Xi0-, Omega-.
if(!fEnableLongLivedDecay) {
fPythia8->ReadString("310:onMode = off");
fPythia8->ReadString("3122:onMode = off");
fPythia8->ReadString("3112:onMode = off");
fPythia8->ReadString("3222:onMode = off");
fPythia8->ReadString("3312:onMode = off");
fPythia8->ReadString("3322:onMode = off");
fPythia8->ReadString("3334:onMode = off");
}
// .. Force decay channels

// implement ALICE primary particle definition
fPythia8->ReadString("ParticleDecays:limitTau0 = on"); // set long-lived particle stable ...
fPythia8->ReadString("ParticleDecays:tau0Max = 10"); // set long-lived particle stable ...

// .. Force decay channels
ForceDecay();
}

Expand Down

0 comments on commit f593ee4

Please sign in to comment.