Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PWGHF/Core/CentralityEstimation.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef PWGHF_CORE_CENTRALITYESTIMATION_H_
#define PWGHF_CORE_CENTRALITYESTIMATION_H_

#include <fairlogger/Logger.h>
#include <Framework/Logger.h>

namespace o2::hf_centrality
{
Expand All @@ -32,27 +32,27 @@
};

template <typename T>
concept hasFT0ACent = requires(T collision) {

Check failure on line 35 in PWGHF/Core/CentralityEstimation.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/type]

Use UpperCamelCase for names of defined types (including concepts).
collision.centFT0A();
};

template <typename T>
concept hasFT0CCent = requires(T collision) {

Check failure on line 40 in PWGHF/Core/CentralityEstimation.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/type]

Use UpperCamelCase for names of defined types (including concepts).
collision.centFT0C();
};

template <typename T>
concept hasFT0MCent = requires(T collision) {

Check failure on line 45 in PWGHF/Core/CentralityEstimation.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/type]

Use UpperCamelCase for names of defined types (including concepts).
collision.centFT0M();
};

template <typename T>
concept hasFV0ACent = requires(T collision) {

Check failure on line 50 in PWGHF/Core/CentralityEstimation.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/type]

Use UpperCamelCase for names of defined types (including concepts).
collision.centFV0A();
};

template <typename T>
concept hasNTracksPVCent = requires(T collision) {

Check failure on line 55 in PWGHF/Core/CentralityEstimation.h

View workflow job for this annotation

GitHub Actions / O2 linter

[name/type]

Use UpperCamelCase for names of defined types (including concepts).
collision.centNTPV();
};

Expand Down
1 change: 1 addition & 0 deletions PWGHF/Core/HfHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

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

#include <array>
#include <cmath>
Expand Down
9 changes: 5 additions & 4 deletions PWGHF/Core/HfMlResponseB0ToDPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
#ifndef PWGHF_CORE_HFMLRESPONSEB0TODPI_H_
#define PWGHF_CORE_HFMLRESPONSEB0TODPI_H_

#include <map>
#include <string>
#include <vector>

#include "PWGHF/Core/HfMlResponse.h"
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
9 changes: 5 additions & 4 deletions PWGHF/Core/HfMlResponseBplusToD0Pi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
#ifndef PWGHF_CORE_HFMLRESPONSEBPLUSTOD0PI_H_
#define PWGHF_CORE_HFMLRESPONSEBPLUSTOD0PI_H_

#include <map>
#include <string>
#include <vector>

#include "PWGHF/Core/HfMlResponse.h"
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
9 changes: 5 additions & 4 deletions PWGHF/Core/HfMlResponseBplusToD0PiReduced.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
#ifndef PWGHF_CORE_HFMLRESPONSEBPLUSTOD0PIREDUCED_H_
#define PWGHF_CORE_HFMLRESPONSEBPLUSTOD0PIREDUCED_H_

#include <map>
#include <string>
#include <vector>

#include "PWGHF/Core/HfMlResponse.h"
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
3 changes: 3 additions & 0 deletions PWGHF/Core/HfMlResponseBplusToJpsiKReduced.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#include "PWGHF/Core/HfMlResponse.h"
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
Expand Down
9 changes: 5 additions & 4 deletions PWGHF/Core/HfMlResponseBsToDsPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
#ifndef PWGHF_CORE_HFMLRESPONSEBSTODSPI_H_
#define PWGHF_CORE_HFMLRESPONSEBSTODSPI_H_

#include <map>
#include <string>
#include <vector>

#include "PWGHF/Core/HfMlResponse.h"
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
3 changes: 3 additions & 0 deletions PWGHF/Core/HfMlResponseBsToJpsiPhiReduced.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#include "PWGHF/Core/HfMlResponse.h"
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
Expand Down
13 changes: 7 additions & 6 deletions PWGHF/Core/HfMlResponseD0ToKPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@
#ifndef PWGHF_CORE_HFMLRESPONSED0TOKPI_H_
#define PWGHF_CORE_HFMLRESPONSED0TOKPI_H_

#include <map>
#include <string>
#include <vector>

#include "CommonConstants/PhysicsConstants.h"

#include "PWGHF/Core/HfHelper.h"
#include "PWGHF/Core/HfMlResponse.h"

#include "Tools/ML/MlResponse.h"

#include <CommonConstants/PhysicsConstants.h>

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
9 changes: 5 additions & 4 deletions PWGHF/Core/HfMlResponseDplusToPiKPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
#ifndef PWGHF_CORE_HFMLRESPONSEDPLUSTOPIKPI_H_
#define PWGHF_CORE_HFMLRESPONSEDPLUSTOPIKPI_H_

#include <map>
#include <string>
#include <vector>

#include "PWGHF/Core/HfMlResponse.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
13 changes: 8 additions & 5 deletions PWGHF/Core/HfMlResponseDsToKKPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,20 @@
#ifndef PWGHF_CORE_HFMLRESPONSEDSTOKKPI_H_
#define PWGHF_CORE_HFMLRESPONSEDSTOKKPI_H_

#include <vector>

#include "PWGHF/Core/HfHelper.h"
#include "PWGHF/Core/HfMlResponse.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
#define FILL_MAP_DS(FEATURE) \
{ \
#FEATURE, static_cast < uint8_t>(InputFeaturesDsToKKPi::FEATURE) \
#define FILL_MAP_DS(FEATURE) \
{ \
#FEATURE, static_cast<uint8_t>(InputFeaturesDsToKKPi::FEATURE) \
}

// Check if the index of mCachedIndices (index associated to a FEATURE)
Expand Down
18 changes: 10 additions & 8 deletions PWGHF/Core/HfMlResponseDstarToD0Pi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@
#ifndef PWGHF_CORE_HFMLRESPONSEDSTARTOD0PI_H_
#define PWGHF_CORE_HFMLRESPONSEDSTARTOD0PI_H_

#include <map>
#include <string>
#include <vector>

#include "PWGHF/Core/HfMlResponse.h"
#include "CommonConstants/PhysicsConstants.h"

#include "Tools/ML/MlResponse.h"

#include <CommonConstants/PhysicsConstants.h>

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
#define FILL_MAP_DSTAR(FEATURE) \
{ \
#FEATURE, static_cast < uint8_t>(InputFeaturesDstarToD0Pi::FEATURE) \
#define FILL_MAP_DSTAR(FEATURE) \
{ \
#FEATURE, static_cast<uint8_t>(InputFeaturesDstarToD0Pi::FEATURE) \
}

// Check if the index of mCachedIndices (index associated to a FEATURE)
Expand Down
9 changes: 5 additions & 4 deletions PWGHF/Core/HfMlResponseLbToLcPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
#ifndef PWGHF_CORE_HFMLRESPONSELBTOLCPI_H_
#define PWGHF_CORE_HFMLRESPONSELBTOLCPI_H_

#include <map>
#include <string>
#include <vector>

#include "PWGHF/Core/HfMlResponse.h"
#include "PWGHF/D2H/Utils/utilsRedDataFormat.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
15 changes: 8 additions & 7 deletions PWGHF/Core/HfMlResponseLcToK0sP.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@
#ifndef PWGHF_CORE_HFMLRESPONSELCTOK0SP_H_
#define PWGHF_CORE_HFMLRESPONSELCTOK0SP_H_

#include <map>
#include <string>
#include <vector>

#include "PWGHF/Core/HfHelper.h"
#include "PWGHF/Core/HfMlResponse.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
#define FILL_MAP_LC(FEATURE) \
{ \
#FEATURE, static_cast < uint8_t>(InputFeaturesLcToK0sP::FEATURE) \
#define FILL_MAP_LC(FEATURE) \
{ \
#FEATURE, static_cast<uint8_t>(InputFeaturesLcToK0sP::FEATURE) \
}

// Check if the index of mCachedIndices (index associated to a FEATURE)
Expand Down
10 changes: 6 additions & 4 deletions PWGHF/Core/HfMlResponseLcToPKPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@
#ifndef PWGHF_CORE_HFMLRESPONSELCTOPKPI_H_
#define PWGHF_CORE_HFMLRESPONSELCTOPKPI_H_

#include "PWGHF/Core/HfMlResponse.h"
#include "PWGHF/DataModel/CandidateReconstructionTables.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <map>
#include <string>
#include <vector>

#include "PWGHF/DataModel/CandidateReconstructionTables.h"

#include "PWGHF/Core/HfMlResponse.h"

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
11 changes: 5 additions & 6 deletions PWGHF/Core/HfMlResponseOmegacToOmegaPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@
#ifndef PWGHF_CORE_HFMLRESPONSEOMEGACTOOMEGAPI_H_
#define PWGHF_CORE_HFMLRESPONSEOMEGACTOOMEGAPI_H_

#include <map>
#include <string>
#include <vector>

#include "CommonConstants/PhysicsConstants.h"

#include "PWGHF/Core/HfHelper.h"
#include "PWGHF/Core/HfMlResponse.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
7 changes: 5 additions & 2 deletions PWGHF/Core/HfMlResponseXic0ToXiPiKf.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@
#ifndef PWGHF_CORE_HFMLRESPONSEXIC0TOXIPIKF_H_
#define PWGHF_CORE_HFMLRESPONSEXIC0TOXIPIKF_H_

#include <vector>

#include "PWGHF/Core/HfMlResponse.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
Expand Down
15 changes: 8 additions & 7 deletions PWGHF/Core/HfMlResponseXicToPKPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@
#ifndef PWGHF_CORE_HFMLRESPONSEXICTOPKPI_H_
#define PWGHF_CORE_HFMLRESPONSEXICTOPKPI_H_

#include <map>
#include <string>
#include <vector>

#include "PWGHF/Core/HfMlResponse.h"

#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
// the key is the feature's name (std::string)
// the value is the corresponding value in EnumInputFeatures
#define FILL_MAP_XIC(FEATURE) \
{ \
#FEATURE, static_cast < uint8_t>(InputFeaturesXicToPKPi::FEATURE) \
#define FILL_MAP_XIC(FEATURE) \
{ \
#FEATURE, static_cast<uint8_t>(InputFeaturesXicToPKPi::FEATURE) \
}

// Check if the index of mCachedIndices (index associated to a FEATURE)
Expand Down
5 changes: 3 additions & 2 deletions PWGHF/Core/HfMlResponseXicToXiPiPi.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@

#include "PWGHF/Core/HfMlResponse.h"

#include <map>
#include <string>
#include "Tools/ML/MlResponse.h"

#include <cstdint>
#include <vector>

// Fill the map of available input features
Expand Down
7 changes: 4 additions & 3 deletions PWGHF/D2H/DataModel/ReducedDataModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@
#include "Common/DataModel/PIDResponseTPC.h"
#include "Common/DataModel/Qvectors.h"

#include "CommonConstants/PhysicsConstants.h"
#include "Framework/ASoA.h"
#include "Framework/AnalysisDataModel.h"
#include <CommonConstants/MathConstants.h>
#include <CommonConstants/PhysicsConstants.h>
#include <Framework/ASoA.h>
#include <Framework/AnalysisDataModel.h>

#include <array>
#include <cmath>
Expand Down
Loading
Loading