CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 #ifndef IRUNIOV_H
00002 #define IRUNIOV_H
00003 
00004 #include <vector>
00005 #include <stdexcept>
00006 
00007 #include "OnlineDB/EcalCondDB/interface/ITag.h"
00008 
00009 typedef int run_t;
00010 
00011 class IRunIOV {
00012  public:
00013   virtual void fetchAt(IIOV* fillIOV, const run_t run, ITag* tag) const throw(std::runtime_error) =0;
00014 
00015   virtual void fetchWithin(std::vector<IIOV>* fillVec, const run_t beginRun, const run_t endRun, ITag* tag) const throw(std::runtime_error) =0;
00016   
00017 };
00018 
00019 #endif