You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1018,7 +1012,7 @@ class V0PhotonCut : public TNamed
1018
1012
int binsNCent = static_cast<int>(mBinsCentMl.size()) - 1;
1019
1013
int binsN = binsNPt * binsNCent;
1020
1014
if (binsN * static_cast<int>(mCutDirMl.size()) != static_cast<int>(mCutsMlFlat.size())) {
1021
-
LOG(fatal) << "Mismatch in number of bins and cuts provided for 2D ML application: binsN * mCutDirMl: " << int(binsN) * int(mCutDirMl.size()) << " bins vs. mCutsMlFlat: " << mCutsMlFlat.size() << " cuts";
1015
+
LOG(fatal) << "Mismatch in number of bins and cuts provided for 2D ML application: binsN * mCutDirMl: " << binsN * static_cast<int>(mCutDirMl.size()) << " bins vs. mCutsMlFlat: " << mCutsMlFlat.size() << " cuts";
1022
1016
}
1023
1017
if (binsN != static_cast<int>(mOnnxFileNames.size())) {
1024
1018
LOG(fatal) << "Mismatch in number of bins and ONNX files provided for 2D ML application: binsN " << binsN << " bins vs. mOnnxFileNames: " << mOnnxFileNames.size() << " ONNX files";
@@ -1064,7 +1058,7 @@ class V0PhotonCut : public TNamed
1064
1058
mEmMlResponse->init();
1065
1059
}
1066
1060
1067
-
conststd::span<float> getBDTValue() const
1061
+
std::span<float> getBDTValue() const
1068
1062
{
1069
1063
returnmMlBDTScores;
1070
1064
}
@@ -1178,15 +1172,15 @@ class V0PhotonCut : public TNamed
1178
1172
floatmMaxPCA{2.f};
1179
1173
floatmMaxChi2KF{1e+10};
1180
1174
floatmMaxMarginZ{7.f};
1181
-
std::function<float(float)> mMaxMeePsiPairDep{}; // max mee as a function of psipair
1175
+
std::function<float(float)> mMaxMeePsiPairDep; // max mee as a function of psipair
1182
1176
boolmIsOnWwireIB{false};
1183
1177
boolmIsOnWwireOB{false};
1184
1178
boolmRejectITSib{false};
1185
1179
TooCloseCuts mTooCloseType{V0PhotonCut::TooCloseCuts::kRadAndAngle}; // for TooCloseV0Cut: either squared distance between conversion points OR opening angle and deltaR
1186
1180
floatmMinV0DistSquared{1.}; // for TooCloseV0Cut: cut value when using squared distance between conversion points
1187
1181
floatmDeltaR{6.}; // for TooCloseV0Cut: V0PhotonCut::TooCloseCuts::kRadAndAngle when deltaR < this -> compare chi2
1188
1182
floatmMinOpeningAngle{0.02}; // for TooCloseV0Cut: V0PhotonCut::TooCloseCuts::kRadAndAngle when opening angle < this -> compare chi2
1189
-
mutable std::vector<uint8_t> mRejectMask{};
1183
+
mutable std::vector<uint8_t> mRejectMask;
1190
1184
1191
1185
// ML cuts
1192
1186
boolmApplyMlCuts{false};
@@ -1208,9 +1202,9 @@ class V0PhotonCut : public TNamed
0 commit comments