Skip to content

Commit

Permalink
Update pt limits (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpuccio authored May 6, 2020
1 parent 90873e5 commit b9d2bbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MC/CustomGenerators/PWGLF/Box_Nuclex001.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ GeneratorCustom()
"Triton",
"Helium-4"
};
double maxpt[5] = {5.,5.,10.,5.,10.};
for (Int_t ipart = 0; ipart < 5; ++ipart) {
for (Int_t negative = 0; negative < 2; negative++) {
AliGenBox *box = new AliGenBox(1);
Int_t pdg = pdgcodes[ipart];
if (negative) pdg = -pdg;
box->SetPart(pdg);
box->SetPtRange(0., 5.);
box->SetPtRange(0., maxpt[ipart]);
box->SetPhiRange(0., 360.);
box->SetYRange(-0.8,0.8);
ctl->AddGenerator(box, Form("%s%i",names[ipart],negative), 1);
Expand Down

0 comments on commit b9d2bbc

Please sign in to comment.