Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DTTPGParametersHandler_H
0002 #define DTTPGParametersHandler_H
0003 /** \class DTTPGParametersHandler
0004  *
0005  *  Description: 
0006  *
0007  *
0008  *  $Date: 2009/01/27 12:07:41 $
0009  *  $Revision: 1.1.2.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/DTTPGParameters.h"
0024 
0025 //---------------
0026 // C++ Headers --
0027 //---------------
0028 #include <string>
0029 
0030 //              ---------------------
0031 //              -- Class Interface --
0032 //              ---------------------
0033 
0034 class DTTPGParametersHandler : public popcon::PopConSourceHandler<DTTPGParameters> {
0035 public:
0036   /** Constructor
0037    */
0038   DTTPGParametersHandler(const edm::ParameterSet& ps);
0039 
0040   /** Destructor
0041    */
0042   ~DTTPGParametersHandler() override;
0043 
0044   /** Operations
0045    */
0046   ///
0047   void getNewObjects() override;
0048   std::string id() const override;
0049 
0050 private:
0051   std::string dataTag;
0052   std::string fileName;
0053   unsigned int runNumber;
0054 };
0055 
0056 #endif  // DTTPGParametersHandler_H