Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:49

0001 #ifndef DTHVStatusValidateHandler_H
0002 #define DTHVStatusValidateHandler_H
0003 /** \class DTHVStatusValidateHandler
0004  *
0005  *  Description: 
0006  *
0007  *
0008  *  $Date: 2010/01/12 13:00:00 $
0009  *  $Revision: 1.1 $
0010  *  \author Paolo Ronchese INFN Padova
0011  *
0012  */
0013 
0014 //----------------------
0015 // Base Class Headers --
0016 //----------------------
0017 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0018 
0019 //------------------------------------
0020 // Collaborating Class Declarations --
0021 //------------------------------------
0022 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0023 #include "CondFormats/DTObjects/interface/DTHVStatus.h"
0024 
0025 //---------------
0026 // C++ Headers --
0027 //---------------
0028 
0029 //              ---------------------
0030 //              -- Class Interface --
0031 //              ---------------------
0032 
0033 class DTHVStatusValidateHandler : public popcon::PopConSourceHandler<DTHVStatus> {
0034 public:
0035   /** Constructor
0036    */
0037   DTHVStatusValidateHandler(const edm::ParameterSet& ps);
0038 
0039   /** Destructor
0040    */
0041   virtual ~DTHVStatusValidateHandler();
0042 
0043   /** Operations
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  // DTHVStatusValidateHandler_H