Skip to content

Commit ef3180b

Browse files
committed
more linter
1 parent d364f1e commit ef3180b

File tree

5 files changed

+18
-3
lines changed

5 files changed

+18
-3
lines changed

PWGUD/Core/UDHelpers.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include <vector>
2020
#include <bitset>
21+
2122
#include "TLorentzVector.h"
2223
#include "Framework/Logger.h"
2324
#include "DataFormatsFT0/Digit.h"
@@ -741,14 +742,14 @@ int64_t sameMCCollision(T tracks, aod::McCollisions, aod::McParticles)
741742
colID = mccol.globalIndex();
742743
} else {
743744
if (colID != mccol.globalIndex()) {
744-
return (int64_t)-1;
745+
return static_cast<int64_t>(-1);
745746
}
746747
}
747748
} else {
748-
return (int64_t)-1;
749+
return static_cast<int64_t>(-1);
749750
}
750751
} else {
751-
return (int64_t)-1;
752+
return static_cast<int64_t>(-1);
752753
}
753754
}
754755

PWGUD/Core/decayTree.cxx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
#include <utility>
13+
#include <cstdio>
14+
#include <map>
15+
#include <string>
16+
#include <vector>
17+
1218
#include "rapidjson/document.h"
1319
#include "rapidjson/filereadstream.h"
1420
#include "decayTree.h"

PWGUD/Core/decayTree.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
#ifndef PWGUD_CORE_DECAYTREE_H_
1313
#define PWGUD_CORE_DECAYTREE_H_
1414

15+
#include <utility>
16+
#include <map>
17+
#include <vector>
18+
#include <string>
19+
1520
#include "Framework/AnalysisTask.h"
1621
#include "Framework/O2DatabasePDGPlugin.h"
1722
#include "Framework/HistogramRegistry.h"

PWGUD/TableProducer/DGCandProducer.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <vector>
1616
#include <string>
1717
#include <map>
18+
1819
#include "Framework/runDataProcessing.h"
1920
#include "Framework/AnalysisTask.h"
2021
#include "Framework/HistogramRegistry.h"

PWGUD/Tasks/decayTreeAnalyzer.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// \author Paul Buehler, [email protected]
1414
// \since 01.03.2024
1515

16+
#include <string>
17+
1618
#include "Framework/runDataProcessing.h"
1719
#include "Framework/AnalysisTask.h"
1820

0 commit comments

Comments
 (0)