Skip to content

Commit f667f30

Browse files
committed
Please consider the following formatting changes
1 parent 95c643e commit f667f30

2 files changed

Lines changed: 20 additions & 21 deletions

File tree

PWGLF/TableProducer/Strangeness/cascademlselection.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include "PWGLF/DataModel/LFStrangenessMLTables.h"
2020
#include "PWGLF/DataModel/LFStrangenessTables.h"
21-
2221
#include "PWGLF/Utils/CascadeMlResponse.h"
2322

2423
#include <CCDB/BasicCCDBManager.h>
@@ -223,8 +222,8 @@ struct cascademlselection {
223222
target[iBin].resize(nClasses);
224223
for (int iClass = 0; iClass < nClasses; iClass++) {
225224
target[iBin][iClass] = histos.add<TH1>(Form("BDTScore/%s/pTbin%d/class%d", particleName.c_str(), iBin, iClass),
226-
Form("%s BDT score, %.2f #leq p_{T} < %.2f GeV/c, class %d;BDT score;entries", particleName.c_str(), binsPt[iBin], binsPt[iBin + 1], iClass),
227-
kTH1F, {{100, 0., 1.}});
225+
Form("%s BDT score, %.2f #leq p_{T} < %.2f GeV/c, class %d;BDT score;entries", particleName.c_str(), binsPt[iBin], binsPt[iBin + 1], iClass),
226+
kTH1F, {{100, 0., 1.}});
228227
}
229228
}
230229
};

PWGLF/Utils/CascadeMlResponse.h

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,25 +95,25 @@ class CascadeMlResponse : public MlResponse<TypeOutputScore>
9595
return inputFeatures;
9696
}
9797

98-
protected:
99-
void setAvailableInputFeatures() override
100-
{
101-
MlResponse<TypeOutputScore>::mAvailableInputFeatures = {
102-
{"cascradius", static_cast<uint8_t>(InputFeaturesCasc::cascradius)},
103-
{"v0radius", static_cast<uint8_t>(InputFeaturesCasc::v0radius)},
104-
{"casccosPA", static_cast<uint8_t>(InputFeaturesCasc::casccosPA)},
105-
{"v0cosPA", static_cast<uint8_t>(InputFeaturesCasc::v0cosPA)},
106-
{"dcapostopv", static_cast<uint8_t>(InputFeaturesCasc::dcapostopv)},
107-
{"dcanegtopv", static_cast<uint8_t>(InputFeaturesCasc::dcanegtopv)},
108-
{"dcabachtopv", static_cast<uint8_t>(InputFeaturesCasc::dcabachtopv)},
109-
{"dcacascdaughters", static_cast<uint8_t>(InputFeaturesCasc::dcacascdaughters)},
110-
{"dcaV0daughters", static_cast<uint8_t>(InputFeaturesCasc::dcaV0daughters)},
111-
{"dcav0topv", static_cast<uint8_t>(InputFeaturesCasc::dcav0topv)},
112-
{"bachBaryonCosPA", static_cast<uint8_t>(InputFeaturesCasc::bachBaryonCosPA)},
113-
{"bachBaryonDCAxyToPV", static_cast<uint8_t>(InputFeaturesCasc::bachBaryonDCAxyToPV)}};
114-
}
98+
protected:
99+
void setAvailableInputFeatures() override
100+
{
101+
MlResponse<TypeOutputScore>::mAvailableInputFeatures = {
102+
{"cascradius", static_cast<uint8_t>(InputFeaturesCasc::cascradius)},
103+
{"v0radius", static_cast<uint8_t>(InputFeaturesCasc::v0radius)},
104+
{"casccosPA", static_cast<uint8_t>(InputFeaturesCasc::casccosPA)},
105+
{"v0cosPA", static_cast<uint8_t>(InputFeaturesCasc::v0cosPA)},
106+
{"dcapostopv", static_cast<uint8_t>(InputFeaturesCasc::dcapostopv)},
107+
{"dcanegtopv", static_cast<uint8_t>(InputFeaturesCasc::dcanegtopv)},
108+
{"dcabachtopv", static_cast<uint8_t>(InputFeaturesCasc::dcabachtopv)},
109+
{"dcacascdaughters", static_cast<uint8_t>(InputFeaturesCasc::dcacascdaughters)},
110+
{"dcaV0daughters", static_cast<uint8_t>(InputFeaturesCasc::dcaV0daughters)},
111+
{"dcav0topv", static_cast<uint8_t>(InputFeaturesCasc::dcav0topv)},
112+
{"bachBaryonCosPA", static_cast<uint8_t>(InputFeaturesCasc::bachBaryonCosPA)},
113+
{"bachBaryonDCAxyToPV", static_cast<uint8_t>(InputFeaturesCasc::bachBaryonDCAxyToPV)}};
114+
}
115115
};
116116

117117
} // namespace o2::analysis
118118

119-
#endif // PWGLF_UTILS_CASCADEMLRESPONSE_H_
119+
#endif // PWGLF_UTILS_CASCADEMLRESPONSE_H_

0 commit comments

Comments
 (0)