File indexing completed on 2024-04-06 12:02:48
0001 #ifndef DTLVStatusValidateHandler_H
0002 #define DTLVStatusValidateHandler_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 "CondFormats/DTObjects/interface/DTLVStatus.h"
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 class DTLVStatusValidateHandler : public popcon::PopConSourceHandler<DTLVStatus> {
0034 public:
0035
0036
0037 DTLVStatusValidateHandler(const edm::ParameterSet& ps);
0038
0039
0040
0041 virtual ~DTLVStatusValidateHandler();
0042
0043
0044
0045
0046 void getNewObjects();
0047 std::string id() const;
0048
0049 private:
0050 int firstRun;
0051 int lastRun;
0052 std::string dataVersion;
0053 std::string dataFileName;
0054 std::string elogFileName;
0055 void addNewObject(int runNumber);
0056 };
0057
0058 #endif