Skip to content

Commit 036f374

Browse files
solved mega linter issues
1 parent 4f8434f commit 036f374

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGLF/Utils/nucleiUtils.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,10 @@ float getCentrality(Tcollision const& collision, const int centralityEstimator,
397397
hFailCentrality->Fill(0.);
398398
}
399399
if constexpr (!o2::aod::HasCentrality<Tcollision>) { // requires aod::CentFV0As, aod::CentFT0Ms, aod::CentFT0As, aod::CentFT0Cs, aod::CentNTPVs
400-
return -1.f;
401400
if (hFailCentrality) {
402401
hFailCentrality->Fill(1.);
403402
}
403+
return -1.f;
404404
}
405405
if (centralityEstimator == centDetectors::kFV0A) {
406406
return collision.centFV0A();
@@ -610,11 +610,11 @@ class PidManager
610610
}
611611

612612
private:
613-
float mTpcBetheBlochParams[6];
613+
float mTpcBetheBlochParams[6] = {-999.f, -999.f, -999.f, -999.f, -999.f, -999.f};
614614
bool mUseTpcCentralCalibration = true; // this just becomes a check for the null pointer in the parameters
615615
o2::aod::ITSResponse mResponseITS;
616616
float mMomScaling[2]{1., 0.};
617-
int mSpecies;
617+
int mSpecies = -1;
618618
};
619619

620620
} // namespace nuclei

0 commit comments

Comments
 (0)