Skip to content

Commit 4be695a

Browse files
committed
Fix includes
1 parent d336e35 commit 4be695a

33 files changed

+141
-82
lines changed

PWGHF/Core/CentralityEstimation.h

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

1919
#include <Framework/Logger.h>
2020

21+
#include <cstdint>
22+
2123
namespace o2::hf_centrality
2224
{
2325
// centrality selection estimators

PWGHF/Core/HfMlResponseBplusToD0Pi.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@
2121

2222
#include "Tools/ML/MlResponse.h"
2323

24+
#include <CommonConstants/PhysicsConstants.h>
25+
2426
#include <cstdint>
2527
#include <vector>
2628

2729
// Fill the map of available input features
2830
// the key is the feature's name (std::string)
2931
// the value is the corresponding value in EnumInputFeatures
30-
#define FILL_MAP_BPLUS(FEATURE) \
31-
{ \
32-
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0Pi::FEATURE) \
33-
}
32+
#define FILL_MAP_BPLUS(FEATURE) \
33+
{ \
34+
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0Pi::FEATURE)}
3435

3536
// Check if the index of mCachedIndices (index associated to a FEATURE)
3637
// matches the entry in EnumInputFeatures associated to this FEATURE
@@ -63,7 +64,7 @@
6364
// where OBJECT is named candidateD , FEATURE = GETTER and INDEX is the index of the vector
6465
#define CHECK_AND_FILL_VEC_D0_INDEX(FEATURE, GETTER1, GETTER2, INDEX) \
6566
case static_cast<uint8_t>(InputFeaturesBplusToD0Pi::FEATURE): { \
66-
if (pdgCode == o2::constants::physics::kD0) { \
67+
if (pdgCode == o2::constants::physics::Pdg::kD0) { \
6768
inputFeatures.emplace_back((candidateD0.GETTER1())[INDEX]); \
6869
} else { \
6970
inputFeatures.emplace_back((candidateD0.GETTER2())[INDEX]); \

PWGHF/Core/HfMlResponseBplusToJpsiKReduced.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@
2121

2222
#include "Tools/ML/MlResponse.h"
2323

24+
#include <CommonConstants/PhysicsConstants.h>
25+
2426
#include <cstdint>
2527
#include <vector>
2628

2729
// Fill the map of available input features
2830
// the key is the feature's name (std::string)
2931
// the value is the corresponding value in EnumInputFeatures
30-
#define FILL_MAP_BPLUS(FEATURE) \
31-
{ \
32-
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToJpsiKReduced::FEATURE) \
33-
}
32+
#define FILL_MAP_BPLUS(FEATURE) \
33+
{ \
34+
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToJpsiKReduced::FEATURE)}
3435

3536
// Check if the index of mCachedIndices (index associated to a FEATURE)
3637
// matches the entry in EnumInputFeatures associated to this FEATURE

PWGHF/Core/HfMlResponseBsToJpsiPhiReduced.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@
2121

2222
#include "Tools/ML/MlResponse.h"
2323

24+
#include <CommonConstants/PhysicsConstants.h>
25+
2426
#include <cstdint>
2527
#include <vector>
2628

2729
// Fill the map of available input features
2830
// the key is the feature's name (std::string)
2931
// the value is the corresponding value in EnumInputFeatures
30-
#define FILL_MAP_BS(FEATURE) \
31-
{ \
32-
#FEATURE, static_cast<uint8_t>(InputFeaturesBsToJpsiPhiReduced::FEATURE) \
33-
}
32+
#define FILL_MAP_BS(FEATURE) \
33+
{ \
34+
#FEATURE, static_cast<uint8_t>(InputFeaturesBsToJpsiPhiReduced::FEATURE)}
3435

3536
// Check if the index of mCachedIndices (index associated to a FEATURE)
3637
// matches the entry in EnumInputFeatures associated to this FEATURE

PWGHF/D2H/DataModel/ReducedDataModel.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#define PWGHF_D2H_DATAMODEL_REDUCEDDATAMODEL_H_
2626

2727
#include "PWGHF/DataModel/CandidateReconstructionTables.h"
28+
#include "PWGHF/Utils/utilsEvSelHf.h"
2829
#include "PWGHF/Utils/utilsPid.h"
2930

3031
#include "Common/Core/RecoDecay.h"
@@ -747,14 +748,14 @@ using HfRedPidDau2 = HfRedPidDau2s::iterator;
747748
// Beauty candidates prongs
748749
namespace hf_cand_b0_reduced
749750
{
750-
DECLARE_SOA_INDEX_COLUMN_FULL(Prong0, prong0, int, HfRed3Prongs, "_0"); //! Prong0 index
751-
DECLARE_SOA_INDEX_COLUMN_FULL(Prong1, prong1, int, HfRedTrackBases, "_1"); //! Prong1 index
752-
DECLARE_SOA_INDEX_COLUMN_FULL(ProngD0, prongD0, int, HfRed2Prongs, "_0"); //! ProngD0 index
751+
DECLARE_SOA_INDEX_COLUMN_FULL(Prong0, prong0, int, HfRed3Prongs, "_0"); //! Prong0 index
752+
DECLARE_SOA_INDEX_COLUMN_FULL(Prong1, prong1, int, HfRedTrackBases, "_1"); //! Prong1 index
753+
DECLARE_SOA_INDEX_COLUMN_FULL(ProngD0, prongD0, int, HfRed2Prongs, "_0"); //! ProngD0 index
753754
DECLARE_SOA_INDEX_COLUMN_FULL(ProngBachPi, prongBachPi, int, HfRedTrackBases, "_1"); //! ProngBachPi index
754755
DECLARE_SOA_INDEX_COLUMN_FULL(ProngSoftPi, prongSoftPi, int, HfRedSoftPiBases, "_2"); //! ProngSoftPi index
755-
DECLARE_SOA_COLUMN(Prong0MlScoreBkg, prong0MlScoreBkg, float); //! Bkg ML score of the D daughter
756-
DECLARE_SOA_COLUMN(Prong0MlScorePrompt, prong0MlScorePrompt, float); //! Prompt ML score of the D daughter
757-
DECLARE_SOA_COLUMN(Prong0MlScoreNonprompt, prong0MlScoreNonprompt, float); //! Nonprompt ML score of the D daughter
756+
DECLARE_SOA_COLUMN(Prong0MlScoreBkg, prong0MlScoreBkg, float); //! Bkg ML score of the D daughter
757+
DECLARE_SOA_COLUMN(Prong0MlScorePrompt, prong0MlScorePrompt, float); //! Prompt ML score of the D daughter
758+
DECLARE_SOA_COLUMN(Prong0MlScoreNonprompt, prong0MlScoreNonprompt, float); //! Nonprompt ML score of the D daughter
758759
} // namespace hf_cand_b0_reduced
759760

760761
DECLARE_SOA_TABLE(HfRedB0Prongs, "AOD", "HFREDB0PRONG", //! Table with B0 daughter indices

PWGHF/D2H/Macros/HFInvMassFitter.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include <TColor.h>
3838
#include <TDatabasePDG.h>
3939
#include <TLine.h>
40-
#include <TNamed.h>
4140
#include <TPaveText.h>
4241
#include <TString.h>
4342
#include <TStyle.h>

PWGHF/D2H/Macros/runMassFitter.C

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,23 @@
2222

2323
#include "HFInvMassFitter.h"
2424

25-
// if .h file not found, please include your local rapidjson/document.h and rapidjson/filereadstream.h here
2625
#include <TCanvas.h>
2726
#include <TDatabasePDG.h>
2827
#include <TFile.h>
29-
#include <TH2F.h>
28+
#include <TH1.h>
29+
#include <TH2.h>
30+
#include <TString.h>
31+
#include <TVirtualPad.h>
3032

31-
#include <rapidjson/document.h>
33+
#include <rapidjson/document.h> // if .h file not found, please include your local rapidjson/document.h and rapidjson/filereadstream.h here
3234
#include <rapidjson/filereadstream.h>
3335

36+
#include <Rtypes.h>
37+
#include <RtypesCore.h>
38+
39+
#include <cmath>
3440
#include <cstdio> // for fclose
41+
#include <functional>
3542
#include <map>
3643
#include <stdexcept>
3744
#include <string> // std::string

PWGHF/D2H/TableProducer/candidateCreatorCharmResoReduced.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
#include "Common/Core/RecoDecay.h"
2424

25+
#include <CommonConstants/MathConstants.h>
2526
#include <CommonConstants/PhysicsConstants.h>
2627
#include <Framework/ASoA.h>
2728
#include <Framework/ASoAHelpers.h>
@@ -43,8 +44,8 @@
4344
#include <Rtypes.h>
4445

4546
#include <array>
47+
#include <cmath>
4648
#include <cstdint>
47-
#include <numeric>
4849
#include <string>
4950
#include <vector>
5051

PWGHF/D2H/TableProducer/dataCreatorCharmHadPiReduced.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "PWGHF/DataModel/CandidateReconstructionTables.h"
2727
#include "PWGHF/DataModel/CandidateSelectionTables.h"
2828
#include "PWGHF/Utils/utilsEvSelHf.h"
29-
#include "PWGHF/Utils/utilsMcMatching.h"
3029
#include "PWGHF/Utils/utilsTrkCandHf.h"
3130

3231
#include "Common/Core/RecoDecay.h"
@@ -84,7 +83,6 @@ using namespace o2::aod;
8483
using namespace o2::constants::physics;
8584
using namespace o2::framework;
8685
using namespace o2::framework::expressions;
87-
using namespace o2::hf_decay;
8886
using namespace o2::hf_trkcandsel;
8987

9088
enum Event : uint8_t {

PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#include <Framework/AnalysisHelpers.h>
4646
#include <Framework/AnalysisTask.h>
4747
#include <Framework/Configurable.h>
48+
#include <Framework/DeviceSpec.h>
4849
#include <Framework/HistogramRegistry.h>
4950
#include <Framework/HistogramSpec.h>
5051
#include <Framework/InitContext.h>

0 commit comments

Comments
 (0)