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
* CCDB: add getSpecificForRun
This PR adds a method `getSpecificForRun` to the base CCDB manager class. It is specifically tailored for analysis use in which the reconstruction pass is checked.
Copy file name to clipboardExpand all lines: CCDB/include/CCDB/BasicCCDBManager.h
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,10 @@ class CCDBManagerInstance
115
115
return getForTimeStamp<T>(path, timestamp);
116
116
}
117
117
118
+
/// retrieve an object of type T from CCDB as stored under path and using the timestamp in the middle of the run + metadata. The run number is provided separately to conform to typical analysis use (in which case metadata does not include runNumber)
119
+
template <typename T>
120
+
T* getSpecificForRun(std::string const& path, int runNumber, MD metaData = MD());
121
+
118
122
/// detect online processing modes (i.e. CCDB objects may be updated in the lifetime of the manager)
0 commit comments