@@ -438,10 +438,10 @@ void multGlauberNBDFitter::CalculateAvNpNc(TProfile* lNPartProf, TProfile* lNCol
438438 hEccentricity->SetName (Form (" hEccentricity_%i" , ibin));
439439
440440 // normalize into unitary fractions
441- Double_t eccIntegral = hEccentricity->Integral (1 , hEccentricity->GetNbinsX ()+ 1 );
442- if (eccIntegral> 1e-6 ){ // no counts
443- hEccentricity->Scale (1 ./ eccIntegral);
444- }else {
441+ Double_t eccIntegral = hEccentricity->Integral (1 , hEccentricity->GetNbinsX () + 1 );
442+ if (eccIntegral > 1e-6 ) { // no counts
443+ hEccentricity->Scale (1 . / eccIntegral);
444+ } else {
445445 hEccentricity->Scale (0.0 );
446446 }
447447 }
@@ -456,10 +456,10 @@ void multGlauberNBDFitter::CalculateAvNpNc(TProfile* lNPartProf, TProfile* lNCol
456456 hImpactParameter->SetName (Form (" hImpactParameter_%i" , ibin));
457457
458458 // normalize into unitary fractions
459- Double_t bIntegral = hImpactParameter->Integral (1 , hImpactParameter->GetNbinsX ()+ 1 );
460- if (bIntegral> 1e-6 ){ // no counts
461- hImpactParameter->Scale (1 ./ bIntegral);
462- }else {
459+ Double_t bIntegral = hImpactParameter->Integral (1 , hImpactParameter->GetNbinsX () + 1 );
460+ if (bIntegral > 1e-6 ) { // no counts
461+ hImpactParameter->Scale (1 . / bIntegral);
462+ } else {
463463 hImpactParameter->Scale (0.0 );
464464 }
465465 }
0 commit comments