File indexing completed on 2023-03-17 10:47:47
0001 #ifndef DTLVStatusHandler_H
0002 #define DTLVStatusHandler_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0018
0019
0020
0021
0022 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0023 #include "CondCore/CondDB/interface/Session.h"
0024 #include "CondFormats/DTObjects/interface/DTLVStatus.h"
0025 #include <string>
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035 class DTLVStatusHandler : public popcon::PopConSourceHandler<DTLVStatus> {
0036 public:
0037
0038
0039 DTLVStatusHandler(const edm::ParameterSet& ps);
0040
0041
0042
0043 ~DTLVStatusHandler() override;
0044
0045
0046
0047
0048 void getNewObjects() override;
0049 std::string id() const override;
0050
0051 private:
0052 std::string dataTag;
0053 std::string onlineConnect;
0054 std::string onlineAuthentication;
0055 std::string bufferConnect;
0056 DTLVStatus* ccbStatus;
0057
0058 cond::persistency::Session omds_session;
0059 cond::persistency::Session buff_session;
0060 };
0061
0062 #endif