Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:48

0001 #ifndef DCSPTMTEMPLIST_H
0002 #define DCSPTMTEMPLIST_H
0003 
0004 #include <stdexcept>
0005 #include <iostream>
0006 
0007 #include "OnlineDB/EcalCondDB/interface/IIOV.h"
0008 #include "OnlineDB/EcalCondDB/interface/Tm.h"
0009 #include "OnlineDB/EcalCondDB/interface/DateHandler.h"
0010 #include "OnlineDB/EcalCondDB/interface/DCSPTMTemp.h"
0011 #include "OnlineDB/EcalCondDB/interface/DCSPTMTempList.h"
0012 
0013 typedef int run_t;
0014 
0015 class DCSPTMTempList : public IDBObject {
0016 public:
0017   friend class EcalCondDBInterface;
0018 
0019   DCSPTMTempList();
0020   ~DCSPTMTempList() override;
0021 
0022   // Methods for user data
0023 
0024   std::vector<DCSPTMTemp> getList();
0025 
0026   // this fills the vector
0027   void fetchValuesForECIDAndTime(const EcalLogicID& ecid, const Tm& start, const Tm& end) noexcept(false);
0028   void fetchValuesForECID(const EcalLogicID& ecid) noexcept(false);
0029 
0030 private:
0031   // User data for this IOV
0032   std::vector<DCSPTMTemp> m_vec_temp;
0033 };
0034 
0035 #endif