Skip to content

Commit

Permalink
GeneratorParamEMLibV2: fix print out of norm
Browse files Browse the repository at this point in the history
GeneratorParamEMLibV2: fix print out of norm
  • Loading branch information
DanielSamitz authored Nov 28, 2024
2 parents 6f37a46 + fa86e9c commit 1694a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GeneratorParam/GeneratorParamEMlibV2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ TF1* GeneratorParamEMlibV2::MtScal(Int_t np, TString name, Bool_t isMeson)
}
formulaBaseScaled = formulaBaseScaledTemp;

printf("GeneratorParamEMlibV2: Create TF1 for %s from isMeson = %d with norm = %d\n",name.Data(),isMeson,norm);
printf("GeneratorParamEMlibV2: Create TF1 for %s from isMeson = %d with norm = %f\n",name.Data(),isMeson,norm);
TF1* result = new TF1(name.Data(), Form("%.10f * (x/%s) * (%s)", norm, scaledPt.Data(), formulaBaseScaled.Data()), xmin, xmax);
if (!isMeson && fPtParametrizationProton) {
for (Int_t i=0; i<nPar; i++) {
Expand Down

0 comments on commit 1694a00

Please sign in to comment.