Skip to content

Commit d7e4849

Browse files
committed
[PWGDQ] fixed compiler warnings
1 parent 46d2d2f commit d7e4849

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGDQ/Tasks/qaMuon.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ struct qaMuon {
484484
}
485485

486486
int nTrackTypes = static_cast<int>(o2::aod::fwdtrack::ForwardTrackTypeEnum::MCHStandaloneTrack) + 1;
487-
AxisSpec trackTypeAxis = {nTrackTypes, 0, nTrackTypes, "track type"};
487+
AxisSpec trackTypeAxis = {static_cast<int>(nTrackTypes), 0.0, static_cast<double>(nTrackTypes), "track type"};
488488
registry.add("nTracksPerType", "Number of tracks per type", {HistType::kTH1F, {trackTypeAxis}});
489489

490490
// ======================
@@ -513,7 +513,7 @@ struct qaMuon {
513513
// Global muons plots
514514
// ======================
515515

516-
AxisSpec nCandidatesAxis = {fNCandidatesMax, 0, fNCandidatesMax, "match candidate rank"};
516+
AxisSpec nCandidatesAxis = {static_cast<int>(fNCandidatesMax), 0.0, static_cast<double>(fNCandidatesMax), "match candidate rank"};
517517
registry.add("global-muons/NCandidates", "Number of MFT-MCH match candidates", {HistType::kTH1F, {nCandidatesAxis}});
518518
registry.add("global-muons/MatchChi2", "MFT-MCH match chi2", {HistType::kTH2F, {chi2Axis, nCandidatesAxis}});
519519

0 commit comments

Comments
 (0)