Skip to content

Commit 177d025

Browse files
authored
[PWGJE] Include What You Use (#11358)
1 parent 5c2cfbf commit 177d025

File tree

3 files changed

+67
-17
lines changed

3 files changed

+67
-17
lines changed

PWGJE/JetFinders/jetFinder.cxx

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,35 @@
1515
/// \author Jochen Klein <jochen.klein@cern.ch>
1616
/// \author Raymond Ehlers <raymond.ehlers@cern.ch>, ORNL
1717

18+
#include <Framework/ASoA.h>
19+
#include <Framework/AnalysisHelpers.h>
20+
#include <Framework/Configurable.h>
21+
#include <Framework/Expressions.h>
22+
#include <Framework/HistogramRegistry.h>
23+
#include <Framework/HistogramSpec.h>
24+
#include <Framework/InitContext.h>
25+
#include <Framework/O2DatabasePDGPlugin.h>
26+
#include <Framework/runDataProcessing.h> // IWYU pragma: keep (needed in tasks)
27+
28+
#include <memory>
29+
#include <string>
1830
#include <vector>
1931

20-
#include "PWGJE/Core/JetFindingUtilities.h"
32+
#include <fastjet/JetDefinition.hh>
33+
#include <fastjet/PseudoJet.hh>
34+
35+
#include <THn.h>
36+
#include <TMathBase.h>
37+
2138
#include "PWGJE/Core/JetDerivedDataUtilities.h"
22-
#include "Framework/runDataProcessing.h"
39+
#include "PWGJE/Core/JetFinder.h"
40+
#include "PWGJE/Core/JetFindingUtilities.h"
41+
#include "PWGJE/DataModel/EMCALClusterDefinition.h"
42+
#include "PWGJE/DataModel/EMCALClusters.h"
43+
#include "PWGJE/DataModel/Jet.h"
44+
#include "PWGJE/DataModel/JetReducedData.h"
2345

2446
using namespace o2;
25-
using namespace o2::analysis;
2647
using namespace o2::framework;
2748
using namespace o2::framework::expressions;
2849

PWGJE/JetFinders/jetFinderHF.cxx

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,38 @@
1414
/// \author Nima Zardoshti <nima.zardoshti@cern.ch>
1515
/// \author Jochen Klein <jochen.klein@cern.ch>
1616

17+
#include <Framework/ASoA.h>
18+
#include <Framework/AnalysisHelpers.h>
19+
#include <Framework/Configurable.h>
20+
#include <Framework/Expressions.h>
21+
#include <Framework/HistogramRegistry.h>
22+
#include <Framework/HistogramSpec.h>
23+
#include <Framework/InitContext.h>
24+
#include <Framework/O2DatabasePDGPlugin.h>
25+
#include <Framework/runDataProcessing.h> // IWYU pragma: keep (needed in tasks)
26+
27+
#include <string>
1728
#include <vector>
1829

19-
#include "CommonConstants/PhysicsConstants.h"
30+
#include <fastjet/JetDefinition.hh>
31+
#include <fastjet/PseudoJet.hh>
32+
33+
#include <THn.h>
34+
#include <TMathBase.h>
2035

21-
#include "PWGJE/Core/JetFindingUtilities.h"
2236
#include "PWGJE/Core/JetDerivedDataUtilities.h"
23-
#include "Common/Core/RecoDecay.h"
37+
#include "PWGJE/Core/JetFinder.h"
38+
#include "PWGJE/Core/JetFindingUtilities.h"
39+
#include "PWGJE/DataModel/EMCALClusterDefinition.h"
40+
#include "PWGJE/DataModel/EMCALClusters.h"
41+
#include "PWGJE/DataModel/Jet.h"
42+
#include "PWGJE/DataModel/JetReducedData.h"
43+
#include "PWGJE/DataModel/JetSubtraction.h"
2444

2545
using namespace o2;
26-
using namespace o2::analysis;
2746
using namespace o2::framework;
2847
using namespace o2::framework::expressions;
2948

30-
// NB: runDataProcessing.h must be included after customize!
31-
#include "Framework/runDataProcessing.h"
32-
3349
template <typename CandidateTableData, typename CandidateTableMCD, typename CandidateTableMCP, typename JetTracksSubTable, typename JetParticlesSubTable, typename JetTable, typename ConstituentTable, typename JetEvtWiseSubTable, typename ConstituentEvtWiseSubTable>
3450
struct JetFinderHFTask {
3551
Produces<JetTable> jetsTable;

PWGJE/JetFinders/jetFinderV0.cxx

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,35 @@
1313
//
1414
/// \author Nima Zardoshti <nima.zardoshti@cern.ch>
1515

16+
#include <Framework/ASoA.h>
17+
#include <Framework/AnalysisHelpers.h>
18+
#include <Framework/Configurable.h>
19+
#include <Framework/Expressions.h>
20+
#include <Framework/HistogramRegistry.h>
21+
#include <Framework/HistogramSpec.h>
22+
#include <Framework/InitContext.h>
23+
#include <Framework/O2DatabasePDGPlugin.h>
24+
#include <Framework/runDataProcessing.h> // IWYU pragma: keep (needed in tasks)
25+
26+
#include <string>
1627
#include <vector>
1728

18-
#include "CommonConstants/PhysicsConstants.h"
29+
#include <fastjet/JetDefinition.hh>
30+
#include <fastjet/PseudoJet.hh>
31+
32+
#include <THn.h>
33+
#include <TMathBase.h>
1934

20-
#include "PWGJE/Core/JetFindingUtilities.h"
2135
#include "PWGJE/Core/JetDerivedDataUtilities.h"
22-
#include "Common/Core/RecoDecay.h"
36+
#include "PWGJE/Core/JetFinder.h"
37+
#include "PWGJE/Core/JetFindingUtilities.h"
38+
#include "PWGJE/DataModel/Jet.h"
39+
#include "PWGJE/DataModel/JetReducedData.h"
2340

2441
using namespace o2;
25-
using namespace o2::analysis;
2642
using namespace o2::framework;
2743
using namespace o2::framework::expressions;
2844

29-
// NB: runDataProcessing.h must be included after customize!
30-
#include "Framework/runDataProcessing.h"
31-
3245
template <typename CandidateTableData, typename CandidateTableMCD, typename CandidateTableMCP, typename JetTable, typename ConstituentTable>
3346
struct JetFinderV0Task {
3447

0 commit comments

Comments
 (0)