@@ -27,7 +27,8 @@ class TempCalibParamSM;
2727class TimeCalibrationParams ;
2828class TimeCalibParamL1Phase ;
2929class GainCalibrationFactors ;
30- class TriggerDCS ;
30+ class FeeDCS ;
31+ class ElmbData ;
3132
3233// / \class CalibDB
3334// / \brief Interface to calibration data from CCDB for EMCAL
@@ -256,19 +257,33 @@ class CalibDB
256257 // / \throw TypeMismatchException if object is present but type is different (CCDB corrupted)
257258 GainCalibrationFactors* readGainCalibFactors (ULong_t timestamp, const std::map<std::string, std::string>& metadata);
258259
259- // / \brief Store Trigger DCS data in the CCDB
260- // / \param dcs trigger DCS data to be stored
260+ // / \brief Store FEE DCS data in the CCDB
261+ // / \param dcs FEE DCS data to be stored
261262 // / \param metadata Additional metadata that can be used in the query
262263 // / \param timestart Start of the time range of the validity of the object
263264 // / \param timeend End of the time range of the validity of the object
264- void storeTriggerDCSData (TriggerDCS * dcs, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
265+ void storeFeeDCSData (FeeDCS * dcs, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
265266
266- // / \brief Find trigger DCS data in the CCDB for given timestamp
267+ // / \brief Find FEE DCS data in the CCDB for given timestamp
267268 // / \param timestamp Timestamp used in query
268269 // / \param metadata Additional metadata to be used in the query
269270 // / \throw ObjectNotFoundException if object is not found for the given timestamp
270271 // / \throw TypeMismatchException if object is present but type is different (CCDB corrupted)
271- TriggerDCS* readTriggerDCSData (ULong_t timestamp, const std::map<std::string, std::string>& metadata);
272+ FeeDCS* readFeeDCSData (ULong_t timestamp, const std::map<std::string, std::string>& metadata);
273+
274+ // / \brief Store Temperature Sensor data in the CCDB
275+ // / \param dcs Temperature Sensor data to be stored
276+ // / \param metadata Additional metadata that can be used in the query
277+ // / \param timestart Start of the time range of the validity of the object
278+ // / \param timeend End of the time range of the validity of the object
279+ void storeTemperatureSensorData (ElmbData* dcs, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
280+
281+ // / \brief Find Temperature Sensor data in the CCDB for given timestamp
282+ // / \param timestamp Timestamp used in query
283+ // / \param metadata Additional metadata to be used in the query
284+ // / \throw ObjectNotFoundException if object is not found for the given timestamp
285+ // / \throw TypeMismatchException if object is present but type is different (CCDB corrupted)
286+ ElmbData* readTemperatureSensorData (ULong_t timestamp, const std::map<std::string, std::string>& metadata);
272287
273288 // / \brief Set new CCDB server URL
274289 // / \param server Name of the CCDB server to be used in queries
@@ -306,9 +321,13 @@ class CalibDB
306321 // / \return Path of the gain calibration in the CCDB
307322 static const char * getCDBPathGainCalibrationParams () { return " EMC/Calib/GainCalibFactors" ; }
308323
309- // / \brief Get CDB path for the trigger DCS settings
310- // / \return Path of the trigger DCS settings in the CCDB
311- static const char * getCDBPathTriggerDCS () { return " EMC/Calib/TriggerDCS" ; }
324+ // / \brief Get CDB path for the FEE DCS settings
325+ // / \return Path of the FEE DCS settings in the CCDB
326+ static const char * getCDBPathFeeDCS () { return " EMC/Calib/FeeDCS" ; }
327+
328+ // / \brief Get CDB path for the Temperature Sensor data
329+ // / \return Path of the Temperature Sensor data in the CCDB
330+ static const char * getCDBPathTemperatureSensor () { return " EMC/Calib/Temperature" ; }
312331
313332 private:
314333 // / \brief Initialize CCDB server (when new object is created or the server URL changes)
0 commit comments