From fa86e9c89bab8bab1ee57497e3ab6bf9278204bd Mon Sep 17 00:00:00 2001 From: DanielSamitz Date: Thu, 28 Nov 2024 09:38:29 +0100 Subject: [PATCH] fix print out of norm --- GeneratorParam/GeneratorParamEMlibV2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneratorParam/GeneratorParamEMlibV2.cxx b/GeneratorParam/GeneratorParamEMlibV2.cxx index 1a75bf8..588aa8a 100644 --- a/GeneratorParam/GeneratorParamEMlibV2.cxx +++ b/GeneratorParam/GeneratorParamEMlibV2.cxx @@ -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