Skip to content

Commit ba17266

Browse files
author
Maurice Coquet
committed
Fixing megalinter errors
1 parent e8b83e7 commit ba17266

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

PWGDQ/Core/MCSignalLibrary.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ MCProng* ParseJSONMCProng(T prongJSON, const char* prongName);
3939

4040
template <typename T>
4141
bool ValidateJSONMCProng(T prongJSON, const char* prongName);
42-
}
42+
} // namespace dqmcsignals
4343
} // namespace o2::aod
4444

4545
#endif // PWGDQ_CORE_MCSIGNALLIBRARY_H_

PWGDQ/Core/MixingHandler.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// Class to define and fill histograms
1515
//
1616

17-
#ifndef MixingHandler_H
18-
#define MixingHandler_H
17+
#ifndef PWGDQ_CORE_MIXINGHANDLER_H_
18+
#define PWGDQ_CORE_MIXINGHANDLER_H_
1919

2020
#include "PWGDQ/Core/HistogramManager.h"
2121
#include "PWGDQ/Core/VarManager.h"
@@ -63,4 +63,4 @@ class MixingHandler : public TNamed
6363
ClassDef(MixingHandler, 1);
6464
};
6565

66-
#endif
66+
#endif // PWGDQ_CORE_MIXINGHANDLER_H_

PWGDQ/Tasks/taskFwdTrackPid.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ struct taskFwdTrackPid {
156156
for (const auto& mftTrack : mftTracks) {
157157
if (TMath::Abs(mftTrack.fwdDcaX()) < fConfigMaxDCA && TMath::Abs(mftTrack.fwdDcaY()) < fConfigMaxDCA) {
158158
if (downSampleFactor < 1.) {
159-
float pseudoRndm = mftTrack.pt() * 1000. - (int64_t)(mftTrack.pt() * 1000);
159+
float pseudoRndm = mftTrack.pt() * 1000. - static_cast<int64_t>(mftTrack.pt() * 1000);
160160
if (pseudoRndm >= downSampleFactor) {
161161
continue;
162162
}

0 commit comments

Comments
 (0)