File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,12 @@ class CDBInterface
119119 // / \return gain map object
120120 const CalPad& getGainMap ();
121121
122+ // / Return any CalPad object
123+ // /
124+ // / The function returns the CalPad object stored at the given path in the CCDB
125+ // / \return CalPad object
126+ const CalPad& getCalPad (const std::string_view path);
127+
122128 // / Return the Detector parameters
123129 // /
124130 // / The function checks if the object is already loaded and returns it
Original file line number Diff line number Diff line change @@ -115,6 +115,12 @@ const CalPad& CDBInterface::getGainMap()
115115 return *mGainMap ;
116116}
117117
118+ // ______________________________________________________________________________
119+ const CalPad& CDBInterface::getCalPad (const std::string_view path)
120+ {
121+ return getObjectFromCDB<CalPad>(path.data ());
122+ }
123+
118124// ______________________________________________________________________________
119125const ParameterDetector& CDBInterface::getParameterDetector ()
120126{
You can’t perform that action at this time.
0 commit comments