Skip to content

Commit

Permalink
Merge pull request #456 from miweberSMI/master
Browse files Browse the repository at this point in the history
Fix STARLight parameter setting for older AliRoot versions
  • Loading branch information
gconesab authored Feb 16, 2021
2 parents 50a23fe + 7468695 commit 6a818ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MC/GeneratorConfig.C
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,8 @@ GeneratorStarlight(){
genStarLight->SetParameter("XSEC_METHOD = 1 # Set to 0 to use old method for calculating gamma-gamma luminosity"); //CM
genStarLight->SetParameter("BSLOPE_DEFINITION = 0"); // using default slope
genStarLight->SetParameter("BSLOPE_VALUE = 4.0"); // default slope value
genStarLight->SetParameter("PRINT_VM = 2"); // print cross sections and fluxes vs rapidity in stdout for VM photoproduction processes
if(genStarLight->Class_Version() > 3) // this option is only in later versions
genStarLight->SetParameter("PRINT_VM = 2"); // print cross sections and fluxes vs rapidity in stdout for VM photoproduction processes

genStarLight->SetRapidityMotherRange(yminConfig,ymaxConfig);
if (!genCocktail) return genStarLight;
Expand Down

0 comments on commit 6a818ce

Please sign in to comment.