Skip to content

Commit

Permalink
[ALIROOT-8339] Add J/psi pT cut and FIX decay type of EvtGen
Browse files Browse the repository at this point in the history
  • Loading branch information
yatowoo committed Sep 19, 2019
1 parent 1064adb commit e7f63fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions MC/CustomGenerators/PWGDQ/Pythia6_Perugia2011_JpsiBJet13TeV.C
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ GeneratorCustom()
pythiaHighPt->SetCutOnChild(1);
pythiaHighPt->SetPdgCodeParticleforAcceptanceCut(443);
pythiaHighPt->SetChildYRange(-1, 1);
//pythiaHighPt->SetChildPtRange(9, 50.); // high pT J/psi would be enhanced with the pT hard bins?
pythiaHighPt->SetChildPtRange(5., 50.); // high pT cut for analysis using EMCal triggered events
pythiaHighPt->SetForceDecay(kBJpsiUndecayed);
//pythiaHighPt->SetStackFillOpt(AliGenPythia::kHeavyFlavor);// this commenting should keep the full pyhia event?

pythiaHighPt->SetPtHard(pthardminConfig, pthardmaxConfig);

// not sure if this is needed, if not also remove from cocktail
AliGenEvtGen *gene = new AliGenEvtGen();
gene->SetForceDecay(kBJpsiDiElectron);
gene->SetParticleSwitchedOff(AliGenEvtGen::kHFPart);
gene->SetParticleSwitchedOff(AliGenEvtGen::kCharmPart);

// cocktail
gener->AddGenerator(pythiaHighPt, "jpsiBdecayPythiaHighPt", 1.);
Expand Down

0 comments on commit e7f63fa

Please sign in to comment.