CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/OnlineDB/EcalCondDB/interface/DCSPTMTempList.h

Go to the documentation of this file.
00001 #ifndef DCSPTMTEMPLIST_H
00002 #define DCSPTMTEMPLIST_H
00003 
00004 #include <stdexcept>
00005 #include <iostream>
00006 
00007 #include "OnlineDB/EcalCondDB/interface/IIOV.h"
00008 #include "OnlineDB/EcalCondDB/interface/Tm.h"
00009 #include "OnlineDB/EcalCondDB/interface/DateHandler.h"
00010 #include "OnlineDB/EcalCondDB/interface/DCSPTMTemp.h"
00011 #include "OnlineDB/EcalCondDB/interface/DCSPTMTempList.h"
00012 
00013 typedef int run_t;
00014 
00015 class DCSPTMTempList  : public IDBObject {
00016  public:
00017   friend class EcalCondDBInterface;
00018 
00019   DCSPTMTempList();
00020   ~DCSPTMTempList();
00021 
00022   // Methods for user data
00023   
00024   std::vector<DCSPTMTemp> getList() ;
00025   
00026   // this fills the vector 
00027   void fetchValuesForECIDAndTime(EcalLogicID ecid, Tm start, Tm end) throw(std::runtime_error);
00028   void fetchValuesForECID(EcalLogicID ecid) throw(std::runtime_error);
00029 
00030 
00031  private:
00032   // User data for this IOV
00033   std::vector<DCSPTMTemp> m_vec_temp;
00034 
00035 
00036 };
00037 
00038 #endif