Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

DBCondHandler.hh

00001 #ifndef DBCondHandler_h
00002 #define DBCondHandler_h
00003 
00004 #ifdef USE_CONDDB
00005 
00006 #include "lccd.h"
00007 #include "ConditionsHandlerBase.hh"
00008 
00009 #include "lcio.h"
00010 #include "Exceptions.h"
00011 
00012 
00013 namespace lccd {
00014 
00015   class DBInterface ;
00016   
00026   class DBCondHandler : public ConditionsHandlerBase {
00027     
00028   public:
00029     
00038     DBCondHandler(const std::string& dbInit,  const std::string& folder,
00039                   const std::string& name,  const std::string& tag="" ) ;
00040     
00041     
00042     virtual ~DBCondHandler() ;
00043     
00044     
00049     virtual void update( LCCDTimeStamp timeStamp ) ;
00050 //     virtual void update( LCCDTimeStamp timeStamp )  throw (lcio::Exception)  ;
00051     
00052     
00053   protected :
00054     
00055     DBCondHandler() {} 
00056     
00057     lccd::DBInterface* _db ;
00058 
00059     // ----  data members ------
00060     std::string _dbInit ;
00061     std::string _folder ;
00062     std::string _tag ;
00063     
00064 
00065   };
00066 } ; //end namespace
00067 
00068 #endif  // USE_CONDDB
00069 
00070 #endif // DBCondHandler_h

Generated on Fri Sep 9 12:30:31 2005 for LCCD by doxygen 1.3.5