Skip to content

Commit 2f87cf4

Browse files
authored
Merge pull request #16 from alibuild/alibot-cleanup-12758
Please consider the following formatting changes to #12758
2 parents 64b4e4f + 25b9b1b commit 2f87cf4

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

PWGHF/TableProducer/candidateSelectorToXiPi.cxx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@
1414
/// \author Federica Zanone <federica.zanone@cern.ch>, Heidelberg University
1515
/// \author Tao Fang <tao.fang@cern.ch>, Central China Normal University
1616

17-
#include <string>
18-
#include <vector>
19-
2017
#include "PWGHF/Core/HfMlResponseXic0ToXiPi.h"
2118
#include "PWGHF/Core/SelectorCuts.h"
22-
2319
#include "PWGHF/DataModel/CandidateReconstructionTables.h"
2420
#include "PWGHF/DataModel/CandidateSelectionTables.h"
2521
#include "PWGHF/Utils/utilsAnalysis.h"
@@ -45,6 +41,8 @@
4541

4642
#include <cstdint>
4743
#include <cstdlib>
44+
#include <string>
45+
#include <vector>
4846

4947
using namespace o2;
5048
using namespace o2::aod;
@@ -144,14 +142,14 @@ struct HfCandidateSelectorToXiPi {
144142
Configurable<LabeledArray<double>> cutsMl{"cutsMl", {hf_cuts_ml::Cuts[0], hf_cuts_ml::NBinsPt, hf_cuts_ml::NCutScores, hf_cuts_ml::labelsPt, hf_cuts_ml::labelsCutScore}, "ML selections per pT bin"};
145143
Configurable<int> nClassesMl{"nClassesMl", static_cast<int>(hf_cuts_ml::NCutScores), "Number of classes in ML model"};
146144
Configurable<std::vector<std::string>> namesInputFeatures{"namesInputFeatures", std::vector<std::string>{"feature1", "feature2"}, "Names of ML model input features"};
147-
145+
148146
// CCDB configuration
149147
Configurable<std::string> ccdbUrl{"ccdbUrl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
150148
Configurable<std::vector<std::string>> modelPathsCCDB{"modelPathsCCDB", std::vector<std::string>{"EventFiltering/PWGHF/BDTXic0ToXipiKf"}, "Paths of models on CCDB"};
151149
Configurable<std::vector<std::string>> onnxFileNames{"onnxFileNames", std::vector<std::string>{"ModelHandler_onnx_Xic0ToXipiKf.onnx"}, "ONNX file names for each pT bin (if not from CCDB full path)"};
152150
Configurable<int64_t> timestampCCDB{"timestampCCDB", -1, "timestamp of the ONNX file for ML model used to query in CCDB"};
153151
Configurable<bool> loadModelsFromCCDB{"loadModelsFromCCDB", false, "Flag to enable or disable the loading of models from CCDB"};
154-
152+
155153
o2::analysis::HfMlResponseXic0ToXiPi<float> hfMlResponse;
156154
std::vector<float> outputMlXic0ToXiPi = {};
157155
o2::ccdb::CcdbApi ccdbApi;
@@ -558,7 +556,7 @@ struct HfCandidateSelectorToXiPi {
558556
} else {
559557
registry.fill(HIST("hSelMassCharmBaryon"), 0);
560558
}
561-
559+
562560
// ML selections
563561
if (applyMl) {
564562
bool isSelectedMlXic0 = false;

0 commit comments

Comments
 (0)