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
Copy file name to clipboardExpand all lines: PWGLF/TableProducer/Strangeness/strangenessbuilder.cxx
+17-20Lines changed: 17 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -312,8 +312,7 @@ struct StrangenessBuilder {
312
312
"5: selects on PA (not a winner takes it all approach!);"
313
313
"6: selects on BDT score (not a winner takes it all approach!)"};
314
314
315
-
// BDT settings
316
-
Configurable<std::string> ccdbUrl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
315
+
// BDT settings
317
316
Configurable<std::string> BDTLocalPath{"BDTLocalPath", "Deduplication_BDTModel.onnx", "(std::string) Path to the local .onnx file."};
318
317
Configurable<std::string> BDTPathCCDB{"BDTPathCCDB", "Users/g/gsetouel/MLModels2", "Path on CCDB"};
319
318
Configurable<int64_t> timestampCCDB{"timestampCCDB", -1, "timestamp of the ONNX file for ML model used to query in CCDB. Exceptions: > 0 for the specific timestamp, 0 gets the run dependent timestamp"};
@@ -555,7 +554,7 @@ struct StrangenessBuilder {
555
554
bool isBuildOk;
556
555
float PA;
557
556
float V0DCAToPVz;
558
-
floatV0z;
557
+
floatV0zVtx;
559
558
float MLScore;
560
559
};
561
560
@@ -768,9 +767,7 @@ struct StrangenessBuilder {
768
767
// Loading BDT model
769
768
if (DeduplicationOpts.deduplicationAlgorithm.value==4 || DeduplicationOpts.deduplicationAlgorithm.value==6){
770
769
if (DeduplicationOpts.loadModelsFromCCDB) {
771
-
// Retrieve the model from CCDB
772
-
ccdbApi.init(DeduplicationOpts.ccdbUrl);
773
-
770
+
774
771
/// Fetching model for specific timestamp
775
772
LOG(info) << "Fetching model for timestamp: " << DeduplicationOpts.timestampCCDB.value;
776
773
@@ -884,7 +881,7 @@ struct StrangenessBuilder {
884
881
v0DuplicateInfo.isBuildOk = false;
885
882
v0DuplicateInfo.PA = 10;
886
883
v0DuplicateInfo.V0DCAToPVz = 999.f;
887
-
v0DuplicateInfo.V0z = 999.f;
884
+
v0DuplicateInfo.V0zVtx = 999.f;
888
885
v0DuplicateInfo.MLScore = -1;
889
886
890
887
// We include V0DuplicateExtra info in the vector at this point to avoid indexing issues later
0 commit comments