Skip to content

Commit c07dc9e

Browse files
committed
Small bug fixes
1 parent 38d2771 commit c07dc9e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

PWGDQ/Tasks/qaMuon.cxx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ struct qaMuon {
400400
}
401401

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

406406
// ======================
@@ -429,7 +429,7 @@ struct qaMuon {
429429
// Global muons plots
430430
// ======================
431431

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

@@ -1410,6 +1410,7 @@ struct qaMuon {
14101410
PropagateToZMFT(mftTrack, mchTrackExtrap[1].getP(), zRefPlane[2]),
14111411
PropagateToZMFT(mftTrack, mchTrackExtrap[1].getP(), zRefPlane[3])
14121412
};
1413+
*/
14131414

14141415
for (int i = 0; i < zRefPlane.size(); i++) {
14151416
if (sameEvent) {
@@ -1651,7 +1652,8 @@ struct qaMuon {
16511652
void processQA(MyEvents const& collisions,
16521653
aod::BCsWithTimestamps const& bcs,
16531654
MyMuonsWithCov const& muonTracks,
1654-
MyMFTs const& mftTracks)
1655+
MyMFTs const& mftTracks,
1656+
aod::FwdTrkCls const& clusters)
16551657
{
16561658
auto bc = bcs.begin();
16571659
if (mRunNumber != bc.runNumber()) {

0 commit comments

Comments
 (0)