Skip to content

Commit a74dd69

Browse files
committed
Include What You Use
1 parent f1d4570 commit a74dd69

File tree

178 files changed

+3478
-1663
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+3478
-1663
lines changed

PWGHF/Core/CentralityEstimation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#ifndef PWGHF_CORE_CENTRALITYESTIMATION_H_
1717
#define PWGHF_CORE_CENTRALITYESTIMATION_H_
1818

19-
#include <fairlogger/Logger.h>
19+
#include <Framework/Logger.h>
2020

2121
namespace o2::hf_centrality
2222
{

PWGHF/Core/HfHelper.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
#include <Math/GenVector/Boost.h>
2929
#include <Math/Vector4D.h> // IWYU pragma: keep (do not replace with Math/Vector4Dfwd.h)
30+
#include <Math/Vector4Dfwd.h>
3031

3132
#include <array>
3233
#include <cmath>

PWGHF/Core/HfMlResponseB0ToDPi.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@
1717
#ifndef PWGHF_CORE_HFMLRESPONSEB0TODPI_H_
1818
#define PWGHF_CORE_HFMLRESPONSEB0TODPI_H_
1919

20-
#include <map>
21-
#include <string>
22-
#include <vector>
23-
2420
#include "PWGHF/Core/HfMlResponse.h"
2521
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"
2622

23+
#include "Tools/ML/MlResponse.h"
24+
25+
#include <cstdint>
26+
#include <vector>
27+
2728
// Fill the map of available input features
2829
// the key is the feature's name (std::string)
2930
// the value is the corresponding value in EnumInputFeatures
30-
#define FILL_MAP_B0(FEATURE) \
31-
{ \
32-
#FEATURE, static_cast<uint8_t>(InputFeaturesB0ToDPi::FEATURE) \
33-
}
31+
#define FILL_MAP_B0(FEATURE) \
32+
{ \
33+
#FEATURE, static_cast<uint8_t>(InputFeaturesB0ToDPi::FEATURE)}
3434

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

PWGHF/Core/HfMlResponseBplusToD0Pi.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@
1616
#ifndef PWGHF_CORE_HFMLRESPONSEBPLUSTOD0PI_H_
1717
#define PWGHF_CORE_HFMLRESPONSEBPLUSTOD0PI_H_
1818

19-
#include <map>
20-
#include <string>
21-
#include <vector>
22-
2319
#include "PWGHF/Core/HfMlResponse.h"
2420
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"
2521

22+
#include "Tools/ML/MlResponse.h"
23+
24+
#include <cstdint>
25+
#include <vector>
26+
2627
// Fill the map of available input features
2728
// the key is the feature's name (std::string)
2829
// the value is the corresponding value in EnumInputFeatures
29-
#define FILL_MAP_BPLUS(FEATURE) \
30-
{ \
31-
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0Pi::FEATURE) \
32-
}
30+
#define FILL_MAP_BPLUS(FEATURE) \
31+
{ \
32+
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0Pi::FEATURE)}
3333

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

PWGHF/Core/HfMlResponseBplusToD0PiReduced.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@
1616
#ifndef PWGHF_CORE_HFMLRESPONSEBPLUSTOD0PIREDUCED_H_
1717
#define PWGHF_CORE_HFMLRESPONSEBPLUSTOD0PIREDUCED_H_
1818

19-
#include <map>
20-
#include <string>
21-
#include <vector>
22-
2319
#include "PWGHF/Core/HfMlResponse.h"
2420
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"
2521

22+
#include "Tools/ML/MlResponse.h"
23+
24+
#include <cstdint>
25+
#include <vector>
26+
2627
// Fill the map of available input features
2728
// the key is the feature's name (std::string)
2829
// the value is the corresponding value in EnumInputFeatures
29-
#define FILL_MAP_BPLUS(FEATURE) \
30-
{ \
31-
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0PiReduced::FEATURE) \
32-
}
30+
#define FILL_MAP_BPLUS(FEATURE) \
31+
{ \
32+
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0PiReduced::FEATURE)}
3333

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

PWGHF/Core/HfMlResponseBplusToJpsiKReduced.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,17 @@
1919
#include "PWGHF/Core/HfMlResponse.h"
2020
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"
2121

22+
#include "Tools/ML/MlResponse.h"
23+
24+
#include <cstdint>
2225
#include <vector>
2326

2427
// Fill the map of available input features
2528
// the key is the feature's name (std::string)
2629
// the value is the corresponding value in EnumInputFeatures
27-
#define FILL_MAP_BPLUS(FEATURE) \
28-
{ \
29-
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToJpsiKReduced::FEATURE) \
30-
}
30+
#define FILL_MAP_BPLUS(FEATURE) \
31+
{ \
32+
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToJpsiKReduced::FEATURE)}
3133

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

PWGHF/Core/HfMlResponseBsToDsPi.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@
1616
#ifndef PWGHF_CORE_HFMLRESPONSEBSTODSPI_H_
1717
#define PWGHF_CORE_HFMLRESPONSEBSTODSPI_H_
1818

19-
#include <map>
20-
#include <string>
21-
#include <vector>
22-
2319
#include "PWGHF/Core/HfMlResponse.h"
2420
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"
2521

22+
#include "Tools/ML/MlResponse.h"
23+
24+
#include <cstdint>
25+
#include <vector>
26+
2627
// Fill the map of available input features
2728
// the key is the feature's name (std::string)
2829
// the value is the corresponding value in EnumInputFeatures
29-
#define FILL_MAP_BS(FEATURE) \
30-
{ \
31-
#FEATURE, static_cast<uint8_t>(InputFeaturesBsToDsPi::FEATURE) \
32-
}
30+
#define FILL_MAP_BS(FEATURE) \
31+
{ \
32+
#FEATURE, static_cast<uint8_t>(InputFeaturesBsToDsPi::FEATURE)}
3333

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

PWGHF/Core/HfMlResponseBsToJpsiPhiReduced.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,17 @@
1919
#include "PWGHF/Core/HfMlResponse.h"
2020
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"
2121

22+
#include "Tools/ML/MlResponse.h"
23+
24+
#include <cstdint>
2225
#include <vector>
2326

2427
// Fill the map of available input features
2528
// the key is the feature's name (std::string)
2629
// the value is the corresponding value in EnumInputFeatures
27-
#define FILL_MAP_BS(FEATURE) \
28-
{ \
29-
#FEATURE, static_cast<uint8_t>(InputFeaturesBsToJpsiPhiReduced::FEATURE) \
30-
}
30+
#define FILL_MAP_BS(FEATURE) \
31+
{ \
32+
#FEATURE, static_cast<uint8_t>(InputFeaturesBsToJpsiPhiReduced::FEATURE)}
3133

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

PWGHF/Core/HfMlResponseD0ToKPi.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@
1717
#ifndef PWGHF_CORE_HFMLRESPONSED0TOKPI_H_
1818
#define PWGHF_CORE_HFMLRESPONSED0TOKPI_H_
1919

20-
#include <map>
21-
#include <string>
22-
#include <vector>
23-
24-
#include "CommonConstants/PhysicsConstants.h"
25-
2620
#include "PWGHF/Core/HfHelper.h"
2721
#include "PWGHF/Core/HfMlResponse.h"
2822

23+
#include "Tools/ML/MlResponse.h"
24+
25+
#include <CommonConstants/PhysicsConstants.h>
26+
27+
#include <cstdint>
28+
#include <vector>
29+
2930
// Fill the map of available input features
3031
// the key is the feature's name (std::string)
3132
// the value is the corresponding value in EnumInputFeatures
32-
#define FILL_MAP_D0(FEATURE) \
33-
{ \
34-
#FEATURE, static_cast<uint8_t>(InputFeaturesD0ToKPi::FEATURE) \
35-
}
33+
#define FILL_MAP_D0(FEATURE) \
34+
{ \
35+
#FEATURE, static_cast<uint8_t>(InputFeaturesD0ToKPi::FEATURE)}
3636

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

PWGHF/Core/HfMlResponseDplusToPiKPi.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616
#ifndef PWGHF_CORE_HFMLRESPONSEDPLUSTOPIKPI_H_
1717
#define PWGHF_CORE_HFMLRESPONSEDPLUSTOPIKPI_H_
1818

19-
#include <map>
20-
#include <string>
21-
#include <vector>
22-
2319
#include "PWGHF/Core/HfMlResponse.h"
2420

21+
#include "Tools/ML/MlResponse.h"
22+
23+
#include <cstdint>
24+
#include <vector>
25+
2526
// Fill the map of available input features
2627
// the key is the feature's name (std::string)
2728
// the value is the corresponding value in EnumInputFeatures
28-
#define FILL_MAP_DPLUS(FEATURE) \
29-
{ \
30-
#FEATURE, static_cast<uint8_t>(InputFeaturesDplusToPiKPi::FEATURE) \
31-
}
29+
#define FILL_MAP_DPLUS(FEATURE) \
30+
{ \
31+
#FEATURE, static_cast<uint8_t>(InputFeaturesDplusToPiKPi::FEATURE)}
3232

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

0 commit comments

Comments
 (0)