![]() |
![]() |
00001 #ifndef DTCCBConfigHandler_H 00002 #define DTCCBConfigHandler_H 00003 00014 //---------------------- 00015 // Base Class Headers -- 00016 //---------------------- 00017 #include "CondCore/PopCon/interface/PopConSourceHandler.h" 00018 00019 //------------------------------------ 00020 // Collaborating Class Declarations -- 00021 //------------------------------------ 00022 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00023 #include "CondFormats/DTObjects/interface/DTCCBConfig.h" 00024 #include <string> 00025 00026 namespace coral { 00027 class ISessionProxy; 00028 } 00029 00030 //--------------- 00031 // C++ Headers -- 00032 //--------------- 00033 00034 00035 // --------------------- 00036 // -- Class Interface -- 00037 // --------------------- 00038 00039 class DTCCBConfigHandler: public popcon::PopConSourceHandler<DTCCBConfig> { 00040 00041 public: 00042 00045 DTCCBConfigHandler( const edm::ParameterSet& ps ); 00046 00049 virtual ~DTCCBConfigHandler(); 00050 00053 00054 void getNewObjects(); 00055 std::string id() const; 00056 00057 private: 00058 00059 std::string dataTag; 00060 std::string onlineConnect; 00061 std::string onlineAuthentication; 00062 std::string offlineAuthentication; 00063 std::string offlineConnect; 00064 std::string offlineCatalog; 00065 std::string listToken; 00066 DTCCBConfig* ccbConfig; 00067 00068 coral::ISessionProxy* isession; 00069 void chkConfigList(); 00070 00071 }; 00072 00073 00074 #endif // DTCCBConfigHandler_H 00075 00076 00077 00078 00079 00080