Skip to content

Commit

Permalink
Merge pull request #312 from yatowoo/jpsiBJet
Browse files Browse the repository at this point in the history
[ALIROOT-8339] Add J/psi pT cut and FIX decay type of EvtGen
  • Loading branch information
miweberSMI authored Sep 20, 2019
2 parents 1064adb + e7f63fa commit 4e7fffb
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 4e7fffb

Please sign in to comment.