Skip to content

Commit cb548ea

Browse files
committed
IWYU
1 parent 4cd7d83 commit cb548ea

File tree

13 files changed

+39
-18
lines changed

13 files changed

+39
-18
lines changed

Common/CCDB/ctpRateFetcher.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "DataFormatsParameters/GRPLHCIFData.h"
1919

2020
#include <map>
21+
#include <string>
2122
#include <vector>
2223

2324
namespace o2
@@ -109,7 +110,7 @@ void ctpRateFetcher::setupRun(int runNumber, o2::ccdb::BasicCCDBManager* ccdb, u
109110
delete mScalers;
110111
delete mLHCIFdata;
111112
}
112-
std::map<string, string> metadata;
113+
std::map<std::string, std::string> metadata;
113114
mLHCIFdata = ccdb->getSpecific<parameters::GRPLHCIFData>("GLO/Config/GRPLHCIF", timeStamp, metadata);
114115
if (mLHCIFdata == nullptr) {
115116
LOG(fatal) << "GRPLHCIFData not in database, timestamp:" << timeStamp;

Common/Core/EventPlaneHelper.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "TVector3.h"
2525

2626
#include <algorithm>
27+
#include <cstdio>
2728
#include <iterator>
2829
#include <memory>
2930
#include <vector>

Common/Core/MetadataHelper.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include "Framework/InitContext.h"
2121
#include "Framework/RunningWorkflowInfo.h"
2222

23+
#include <string>
24+
2325
using namespace o2::common::core;
2426

2527
MetadataHelper::MetadataHelper()

Common/Core/PID/DetectorResponse.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "Framework/Logger.h"
2424

2525
#include <array>
26+
#include <string>
2627
#include <vector>
2728
// ROOT includes
2829
#include "Rtypes.h"

Common/Core/PID/ParamBase.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
#include "TFile.h"
2525

26+
#include <vector>
27+
2628
namespace o2::pid
2729
{
2830

Common/Core/TrackSelection.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
#include "Framework/Logger.h"
1919

20+
#include <set>
21+
#include <string>
22+
#include <utility>
23+
2024
bool TrackSelection::FulfillsITSHitRequirements(uint8_t itsClusterMap) const
2125
{
2226
constexpr uint8_t bit = 1;

Common/TableProducer/qVectorsTable.cxx

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@
1818
/// (with or without corrections) and save the results in a dedicated table.
1919
///
2020

21-
// C++/ROOT includes.
22-
#include <TComplex.h>
23-
#include <TH3F.h>
24-
25-
#include <chrono>
26-
#include <string>
27-
#include <vector>
28-
29-
// o2Physics includes.
3021
#include "Common/Core/EventPlaneHelper.h"
3122
#include "Common/Core/TrackSelection.h"
3223
#include "Common/DataModel/Centrality.h"
@@ -36,13 +27,20 @@
3627
#include "Common/DataModel/Qvectors.h"
3728
#include "Common/DataModel/TrackSelectionTables.h"
3829

30+
#include "CCDB/BasicCCDBManager.h"
31+
#include "DetectorsCommonDataFormats/AlignParam.h"
3932
#include "Framework/AnalysisDataModel.h"
4033
#include "Framework/AnalysisTask.h"
4134
#include "Framework/RunningWorkflowInfo.h"
4235
#include "Framework/runDataProcessing.h"
43-
// o2 includes.
44-
#include "CCDB/BasicCCDBManager.h"
45-
#include "DetectorsCommonDataFormats/AlignParam.h"
36+
37+
#include <TComplex.h>
38+
#include <TH3F.h>
39+
40+
#include <chrono>
41+
#include <string>
42+
#include <unordered_map>
43+
#include <vector>
4644

4745
using namespace o2;
4846
using namespace o2::framework;
@@ -148,7 +146,7 @@ struct qVectorsTable {
148146
Produces<aod::QvectorBTotVecs> qVectorBTotVec;
149147
/////////////////////////////////////////////////////////////////
150148

151-
std::unordered_map<string, bool> useDetector = {
149+
std::unordered_map<std::string, bool> useDetector = {
152150
{"QvectorBTots", cfgUseBTot},
153151
{"QvectorBNegs", cfgUseBNeg},
154152
{"QvectorBPoss", cfgUseBPos},

Common/Tasks/checkDataModelMC.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#include "Framework/AnalysisTask.h"
1717
#include "Framework/runDataProcessing.h"
1818

19+
#include <limits>
20+
#include <memory>
21+
1922
using namespace o2;
2023
using namespace o2::framework;
2124
using namespace o2::framework::expressions;

Common/Tasks/propagatorQa.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
// Work in progress! More to follow, use at your own peril
1515
//
1616

17-
#include "trackSelectionRequest.h"
18-
1917
#include "Common/Core/TrackSelection.h"
2018
#include "Common/Core/TrackSelectionDefaults.h"
2119
#include "Common/Core/trackUtilities.h"
2220
#include "Common/DataModel/TrackSelectionTables.h"
21+
#include "Common/Tools/trackSelectionRequest.h"
2322

2423
#include "CCDB/BasicCCDBManager.h"
2524
#include "DataFormatsParameters/GRPMagField.h"
@@ -29,14 +28,15 @@
2928
#include "Framework/AnalysisDataModel.h"
3029
#include "Framework/AnalysisTask.h"
3130
#include "Framework/HistogramRegistry.h"
31+
#include "Framework/runDataProcessing.h"
3232
#include "ReconstructionDataFormats/Track.h"
3333

34+
#include <string>
35+
3436
using namespace o2;
3537
using namespace o2::framework;
3638
using namespace o2::framework::expressions;
3739

38-
#include "Framework/runDataProcessing.h"
39-
4040
struct propagatorQa {
4141
Service<o2::ccdb::BasicCCDBManager> ccdb;
4242

Common/Tools/EventSelectionTools.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@
4444
#include <array>
4545
#include <cmath>
4646
#include <cstdlib>
47+
#include <limits>
48+
#include <map>
4749
#include <memory>
4850
#include <string>
51+
#include <vector>
4952

5053
//__________________________________________
5154
// MultModule

0 commit comments

Comments
 (0)