Skip to content

Commit 24325ef

Browse files
committed
Add timestamp configuration for IP tagging method
1 parent 1b07b1d commit 24325ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGJE/TableProducer/jetTaggerHF.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ struct JetTaggerHFTask {
9494
Configurable<float> minSignImpXYSig{"minSignImpXYSig", -40.0, "minimum of signed impact parameter significance"};
9595
Configurable<float> tagPointForIP{"tagPointForIP", 2.5, "tagging working point for IP"};
9696
Configurable<float> tagPointForIPxyz{"tagPointForIPxyz", 2.5, "tagging working point for IP xyz"};
97+
Configurable<int64_t> timestampCCDBForIP{"timestampCCDBForIP", -1, "timestamp of the resolution function file for IP method used to query in CCDB"};
9798
// configuration about SV method
9899
Configurable<float> tagPointForSV{"tagPointForSV", 40, "tagging working point for SV"};
99100
Configurable<float> tagPointForSVxyz{"tagPointForSVxyz", 40, "tagging working point for SV xyz"};
@@ -341,7 +342,7 @@ struct JetTaggerHFTask {
341342
return;
342343
}
343344
for (int i = 0; i < mIPmethodResolutionFunctionSize; i++) {
344-
targetVec.push_back(ccdbApi.retrieveFromTFileAny<TF1>(paths[i], metadata, -1));
345+
targetVec.push_back(ccdbApi.retrieveFromTFileAny<TF1>(paths[i], metadata, timestampCCDBForIP));
345346
}
346347
};
347348

0 commit comments

Comments
 (0)