|
26 | 26 | #include "Common/DataModel/Centrality.h" |
27 | 27 | #include "Common/DataModel/EventSelection.h" |
28 | 28 | #include "Common/DataModel/Multiplicity.h" |
29 | | -#include "Common/DataModel/TrackSelectionTables.h" |
30 | | -#include "Tools/ML/MlResponse.h" |
31 | 29 |
|
32 | 30 | #include <CCDB/BasicCCDBManager.h> |
33 | 31 | #include <CCDB/CcdbApi.h> |
|
45 | 43 | #include <Framework/InitContext.h> |
46 | 44 | #include <Framework/OutputObjHeader.h> |
47 | 45 | #include <Framework/runDataProcessing.h> |
| 46 | +#include <Tools/ML/MlResponse.h> |
48 | 47 |
|
49 | 48 | #include <algorithm> |
50 | 49 | #include <array> |
@@ -77,7 +76,7 @@ struct HfProducerCharmHadronsCharmFemtoDream { |
77 | 76 | Configurable<std::vector<std::string>> modelPathsCCDB{"modelPathsCCDB", std::vector<std::string>{}, "CCDB model paths, one per pT bin"}; |
78 | 77 | Configurable<int64_t> timestampCCDB{"timestampCCDB", -1, "Timestamp used to retrieve models"}; |
79 | 78 | Configurable<bool> loadModelsFromCCDB{"loadModelsFromCCDB", false, "Load new BDT from CCDB instead of local files"}; |
80 | | - } mlD0{{}, "mlD0"}, mlDstar{{}, "mlDstar"}; |
| 79 | + } mlD0{.prefix = "mlD0"}, mlDstar{.prefix = "mlDstar"}; |
81 | 80 | o2::analysis::HfMlResponseD0ToKPi<float> hfMlResponseD0; |
82 | 81 | o2::analysis::HfMlResponseDstarToD0Pi<float> hfMlResponseDstar; |
83 | 82 | o2::ccdb::CcdbApi ccdbApi; |
@@ -159,9 +158,10 @@ struct HfProducerCharmHadronsCharmFemtoDream { |
159 | 158 |
|
160 | 159 | void init(InitContext const&) |
161 | 160 | { |
162 | | - if (static_cast<int>(doprocessD0D0) + doprocessD0Dstar + doprocessD0D0Ml + |
163 | | - doprocessD0DstarMl + doprocessD0D0WithFT0C + doprocessD0DstarWithFT0C + |
164 | | - doprocessD0D0MlWithFT0C + doprocessD0DstarMlWithFT0C != |
| 161 | + if (static_cast<int>(doprocessD0D0) + static_cast<int>(doprocessD0Dstar) + |
| 162 | + static_cast<int>(doprocessD0D0Ml) + static_cast<int>(doprocessD0DstarMl) + |
| 163 | + static_cast<int>(doprocessD0D0WithFT0C) + static_cast<int>(doprocessD0DstarWithFT0C) + |
| 164 | + static_cast<int>(doprocessD0D0MlWithFT0C) + static_cast<int>(doprocessD0DstarMlWithFT0C) != |
165 | 165 | 1) { |
166 | 166 | LOGP(fatal, "Enable exactly one charm-charm producer process"); |
167 | 167 | } |
|
0 commit comments