Skip to content

Commit 80de126

Browse files
author
Maurice Coquet
committed
Same for Psi2S
1 parent 32e0244 commit 80de126

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

MC/config/PWGDQ/external/generator/GeneratorPromptCharmonia.C

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ class O2_GeneratorParamPsipp96TeV : public GeneratorTGenerator
10161016
paramPsi = new GeneratorParam(1, -1, PtPsipp96TeV, YPsipp96TeV, V2Psipp96TeV, IpPsipp96TeV);
10171017
paramPsi->SetMomentumRange(0., 1.e6);
10181018
paramPsi->SetPtRange(0, 999.);
1019-
paramPsi->SetYRange(-4.2, -2.3);
1019+
paramPsi->SetYRange(-4.2, -2.0);
10201020
paramPsi->SetPhiRange(0., 360.);
10211021
paramPsi->SetDecayer(new TPythia6Decayer());
10221022
paramPsi->SetForceDecay(kNoDecay); // particle left undecayed
@@ -1130,11 +1130,13 @@ class O2_GeneratorParamJpsiPbPb5TeV : public GeneratorTGenerator
11301130
{
11311131
// jpsi y in PbPb, tuned on data (2015) -> Castillo embedding https://alice.its.cern.ch/jira/browse/ALIROOT-8174?jql=text%20~%20%22LHC19a2%22
11321132
Double_t y = *py;
1133+
Double_t deltaY = 0.35;
1134+
Double_t yCM = y - deltaY;
11331135
Float_t p0, p1, p2;
11341136
p0 = 1.09886e6;
11351137
p1 = 0;
11361138
p2 = 2.12568;
1137-
return p0 * TMath::Exp(-(1. / 2.) * TMath::Power(((y - p1) / p2), 2));
1139+
return p0 * TMath::Exp(-(1. / 2.) * TMath::Power(((yCM - p1) / p2), 2));
11381140
}
11391141

11401142
//-------------------------------------------------------------------------//

0 commit comments

Comments
 (0)