Skip to content

Commit 9df304b

Browse files
committed
Include What You Use
1 parent 862bdf2 commit 9df304b

File tree

175 files changed

+3971
-1802
lines changed

Some content is hidden

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

175 files changed

+3971
-1802
lines changed

PWGHF/Core/HfHelper.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@
1717
#ifndef PWGHF_CORE_HFHELPER_H_
1818
#define PWGHF_CORE_HFHELPER_H_
1919

20-
#include <Math/GenVector/Boost.h>
21-
#include <Math/Vector4D.h> // IWYU pragma: keep (do not replace with Math/Vector4Dfwd.h)
20+
#include "PWGHF/Utils/utilsAnalysis.h"
21+
22+
#include "Common/Core/RecoDecay.h"
23+
#include "Common/Core/TrackSelectorPID.h"
2224

2325
#include <CommonConstants/MathConstants.h>
2426
#include <CommonConstants/PhysicsConstants.h>
2527

28+
#include <Math/GenVector/Boost.h>
29+
#include <Math/Vector4D.h> // IWYU pragma: keep (do not replace with Math/Vector4Dfwd.h)
30+
2631
#include <array>
2732
#include <cmath>
2833
#include <vector>
2934

30-
#include "Common/Core/RecoDecay.h"
31-
#include "Common/Core/TrackSelectorPID.h"
32-
33-
#include "PWGHF/Utils/utilsAnalysis.h"
34-
3535
class HfHelper
3636
{
3737
public:

PWGHF/Core/HfMlResponseB0ToDPi.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,17 @@
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 <vector>
24+
2725
// Fill the map of available input features
2826
// the key is the feature's name (std::string)
2927
// the value is the corresponding value in EnumInputFeatures
30-
#define FILL_MAP_B0(FEATURE) \
31-
{ \
32-
#FEATURE, static_cast<uint8_t>(InputFeaturesB0ToDPi::FEATURE) \
33-
}
28+
#define FILL_MAP_B0(FEATURE) \
29+
{ \
30+
#FEATURE, static_cast<uint8_t>(InputFeaturesB0ToDPi::FEATURE)}
3431

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

PWGHF/Core/HfMlResponseBplusToD0Pi.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,17 @@
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 <vector>
23+
2624
// Fill the map of available input features
2725
// the key is the feature's name (std::string)
2826
// the value is the corresponding value in EnumInputFeatures
29-
#define FILL_MAP_BPLUS(FEATURE) \
30-
{ \
31-
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0Pi::FEATURE) \
32-
}
27+
#define FILL_MAP_BPLUS(FEATURE) \
28+
{ \
29+
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0Pi::FEATURE)}
3330

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

PWGHF/Core/HfMlResponseBplusToD0PiReduced.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,17 @@
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 <vector>
23+
2624
// Fill the map of available input features
2725
// the key is the feature's name (std::string)
2826
// the value is the corresponding value in EnumInputFeatures
29-
#define FILL_MAP_BPLUS(FEATURE) \
30-
{ \
31-
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0PiReduced::FEATURE) \
32-
}
27+
#define FILL_MAP_BPLUS(FEATURE) \
28+
{ \
29+
#FEATURE, static_cast<uint8_t>(InputFeaturesBplusToD0PiReduced::FEATURE)}
3330

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

PWGHF/Core/HfMlResponseBsToDsPi.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,17 @@
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 <vector>
23+
2624
// Fill the map of available input features
2725
// the key is the feature's name (std::string)
2826
// the value is the corresponding value in EnumInputFeatures
29-
#define FILL_MAP_BS(FEATURE) \
30-
{ \
31-
#FEATURE, static_cast<uint8_t>(InputFeaturesBsToDsPi::FEATURE) \
32-
}
27+
#define FILL_MAP_BS(FEATURE) \
28+
{ \
29+
#FEATURE, static_cast<uint8_t>(InputFeaturesBsToDsPi::FEATURE)}
3330

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

PWGHF/Core/HfMlResponseD0ToKPi.h

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,17 @@
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 <vector>
24+
2925
// Fill the map of available input features
3026
// the key is the feature's name (std::string)
3127
// the value is the corresponding value in EnumInputFeatures
32-
#define FILL_MAP_D0(FEATURE) \
33-
{ \
34-
#FEATURE, static_cast<uint8_t>(InputFeaturesD0ToKPi::FEATURE) \
35-
}
28+
#define FILL_MAP_D0(FEATURE) \
29+
{ \
30+
#FEATURE, static_cast<uint8_t>(InputFeaturesD0ToKPi::FEATURE)}
3631

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

PWGHF/Core/HfMlResponseDplusToPiKPi.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,16 @@
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 <vector>
22+
2523
// Fill the map of available input features
2624
// the key is the feature's name (std::string)
2725
// the value is the corresponding value in EnumInputFeatures
28-
#define FILL_MAP_DPLUS(FEATURE) \
29-
{ \
30-
#FEATURE, static_cast<uint8_t>(InputFeaturesDplusToPiKPi::FEATURE) \
31-
}
26+
#define FILL_MAP_DPLUS(FEATURE) \
27+
{ \
28+
#FEATURE, static_cast<uint8_t>(InputFeaturesDplusToPiKPi::FEATURE)}
3229

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

PWGHF/Core/HfMlResponseDsToKKPi.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,17 @@
1616
#ifndef PWGHF_CORE_HFMLRESPONSEDSTOKKPI_H_
1717
#define PWGHF_CORE_HFMLRESPONSEDSTOKKPI_H_
1818

19-
#include <vector>
20-
2119
#include "PWGHF/Core/HfHelper.h"
2220
#include "PWGHF/Core/HfMlResponse.h"
2321

22+
#include <vector>
23+
2424
// Fill the map of available input features
2525
// the key is the feature's name (std::string)
2626
// the value is the corresponding value in EnumInputFeatures
27-
#define FILL_MAP_DS(FEATURE) \
28-
{ \
29-
#FEATURE, static_cast < uint8_t>(InputFeaturesDsToKKPi::FEATURE) \
30-
}
27+
#define FILL_MAP_DS(FEATURE) \
28+
{ \
29+
#FEATURE, static_cast<uint8_t>(InputFeaturesDsToKKPi::FEATURE)}
3130

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

PWGHF/Core/HfMlResponseDstarToD0Pi.h

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

19-
#include <map>
20-
#include <string>
21-
#include <vector>
22-
2319
#include "PWGHF/Core/HfMlResponse.h"
24-
#include "CommonConstants/PhysicsConstants.h"
20+
21+
#include <vector>
2522

2623
// Fill the map of available input features
2724
// the key is the feature's name (std::string)
2825
// the value is the corresponding value in EnumInputFeatures
29-
#define FILL_MAP_DSTAR(FEATURE) \
30-
{ \
31-
#FEATURE, static_cast < uint8_t>(InputFeaturesDstarToD0Pi::FEATURE) \
32-
}
26+
#define FILL_MAP_DSTAR(FEATURE) \
27+
{ \
28+
#FEATURE, static_cast<uint8_t>(InputFeaturesDstarToD0Pi::FEATURE)}
3329

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

PWGHF/Core/HfMlResponseLbToLcPi.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,17 @@
1616
#ifndef PWGHF_CORE_HFMLRESPONSELBTOLCPI_H_
1717
#define PWGHF_CORE_HFMLRESPONSELBTOLCPI_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 <vector>
23+
2624
// Fill the map of available input features
2725
// the key is the feature's name (std::string)
2826
// the value is the corresponding value in EnumInputFeatures
29-
#define FILL_MAP_LB(FEATURE) \
30-
{ \
31-
#FEATURE, static_cast<uint8_t>(InputFeaturesLbToLcPi::FEATURE) \
32-
}
27+
#define FILL_MAP_LB(FEATURE) \
28+
{ \
29+
#FEATURE, static_cast<uint8_t>(InputFeaturesLbToLcPi::FEATURE)}
3330

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

0 commit comments

Comments
 (0)