![]() |
![]() |
00001 #ifndef RUNLIST_H 00002 #define RUNLIST_H 00003 00004 #include <stdexcept> 00005 #include <iostream> 00006 00007 #include "OnlineDB/EcalCondDB/interface/IIOV.h" 00008 #include "OnlineDB/EcalCondDB/interface/RunTag.h" 00009 #include "OnlineDB/EcalCondDB/interface/Tm.h" 00010 #include "OnlineDB/EcalCondDB/interface/RunIOV.h" 00011 00012 typedef int run_t; 00013 00014 class RunList : public IDBObject { 00015 public: 00016 friend class EcalCondDBInterface; 00017 00018 RunList(); 00019 ~RunList(); 00020 00021 // Methods for user data 00022 00023 void setRunTag(RunTag tag); 00024 RunTag getRunTag() const; 00025 std::vector<RunIOV> getRuns() ; 00026 00027 // Methods from IUniqueDBObject 00028 void fetchRuns() throw(std::runtime_error); 00029 00030 00031 private: 00032 // User data for this IOV 00033 std::vector<RunIOV> m_vec_runiov; 00034 RunTag m_runTag; 00035 00036 }; 00037 00038 #endif