From e7f63fab0611d9b09f5b02e9c622b877c2c884f3 Mon Sep 17 00:00:00 2001 From: ytwu Date: Thu, 19 Sep 2019 10:26:10 +0800 Subject: [PATCH] [ALIROOT-8339] Add J/psi pT cut and FIX decay type of EvtGen --- .../PWGDQ/Pythia6_Perugia2011_JpsiBJet13TeV.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MC/CustomGenerators/PWGDQ/Pythia6_Perugia2011_JpsiBJet13TeV.C b/MC/CustomGenerators/PWGDQ/Pythia6_Perugia2011_JpsiBJet13TeV.C index ff6f8ed6..c89aeca4 100644 --- a/MC/CustomGenerators/PWGDQ/Pythia6_Perugia2011_JpsiBJet13TeV.C +++ b/MC/CustomGenerators/PWGDQ/Pythia6_Perugia2011_JpsiBJet13TeV.C @@ -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.);