Skip to content

Commit 65c21b9

Browse files
author
Maurice Coquet
committed
fixing Megalinter
1 parent c3523c7 commit 65c21b9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

PWGDQ/Core/VarManager.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ double VarManager::ComputePIDcalibration(int species, double nSigmaValue)
242242
default:
243243
LOG(fatal) << "Invalid species for PID calibration: " << species;
244244
return -999.0; // Return zero if species is invalid
245-
};
245+
}
246246

247247
TH3F* calibMeanHist = reinterpret_cast<TH3F*>(fgCalibs[calibMean]);
248248
TH3F* calibSigmaHist = reinterpret_cast<TH3F*>(fgCalibs[calibSigma]);
@@ -292,7 +292,7 @@ double VarManager::ComputePIDcalibration(int species, double nSigmaValue)
292292
default:
293293
LOG(fatal) << "Invalid species for PID calibration: " << species;
294294
return -999.0; // Return zero if species is invalid
295-
};
295+
}
296296

297297
THnF* calibMeanHist = reinterpret_cast<THnF*>(fgCalibs[calibMean]);
298298
THnF* calibSigmaHist = reinterpret_cast<THnF*>(fgCalibs[calibSigma]);
@@ -346,7 +346,7 @@ double VarManager::ComputePIDcalibration(int species, double nSigmaValue)
346346
default:
347347
return nSigmaValue; // unknown status, return the original nSigma value
348348
break;
349-
};
349+
}
350350
} else {
351351
// unknown calibration type, return the original nSigma value
352352
LOG(fatal) << "Unknown calibration type: " << fgCalibrationType;

PWGDQ/Core/VarManager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,6 +1509,7 @@ void VarManager::FillGlobalMuonRefit(T1 const& muontrack, T2 const& mfttrack, co
15091509
values[kEta] = mfttrack.eta();
15101510
values[kPhi] = mfttrack.phi();
15111511
}
1512+
}
15121513

15131514
template <uint32_t MuonfillMap, uint32_t MFTfillMap, typename T1, typename T2, typename C, typename C2>
15141515
void VarManager::FillGlobalMuonRefitCov(T1 const& muontrack, T2 const& mfttrack, const C& collision, C2 const& mftcov, float* values)

PWGDQ/TableProducer/tableMaker_withAssoc.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include <memory>
2323
#include <string>
2424
#include <vector>
25+
#include <utility>
26+
#include <unordered_map>
2527
// other includes
2628
#include "PWGDQ/Core/AnalysisCompositeCut.h"
2729
#include "PWGDQ/Core/AnalysisCut.h"

0 commit comments

Comments
 (0)