Skip to content

Commit

Permalink
Custom generator for pipi flat up to 4 GeV/c^2
Browse files Browse the repository at this point in the history
  • Loading branch information
ekryshen authored and miweberSMI committed Jul 27, 2017
1 parent aa131c3 commit 2a19cee
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions MC/CustomGenerators/PWGUD/Starlight_flat_rho.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
AliGenerator* GeneratorCustom() {
AliGenerator* gen = GeneratorStarlight();
if (processConfig == TString("kCohRhoToPiFlat")) {
AliGenStarLight *genStarLight = (AliGenStarLight*) gen;
// set maximum invariant mass for pipi system to 4 GeV/c^2 (2 GeV/c^2 by default)
genStarLight->SetParameter("W_MAX = 4.0 #Max value of w");
}
return gen;
}

0 comments on commit 2a19cee

Please sign in to comment.