DTT0ValidateHandler

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
#ifndef DTT0ValidateHandler_H
#define DTT0ValidateHandler_H
/** \class DTT0ValidateHandler
 *
 *  Description: 
 *
 *
 *  $Date: 2008/03/21 15:12:29 $
 *  $Revision: 1.2 $
 *  \author Paolo Ronchese INFN Padova
 *
 */

//----------------------
// Base Class Headers --
//----------------------
#include "CondCore/PopCon/interface/PopConSourceHandler.h"

//------------------------------------
// Collaborating Class Declarations --
//------------------------------------
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "CondFormats/DTObjects/interface/DTT0.h"

//---------------
// C++ Headers --
//---------------

//              ---------------------
//              -- Class Interface --
//              ---------------------

class DTT0ValidateHandler : public popcon::PopConSourceHandler<DTT0> {
public:
  /** Constructor
   */
  DTT0ValidateHandler(const edm::ParameterSet& ps);

  /** Destructor
   */
  virtual ~DTT0ValidateHandler();

  /** Operations
   */
  ///
  void getNewObjects();
  std::string id() const;

private:
  int firstRun;
  int lastRun;
  std::string dataVersion;
  std::string dataFileName;
  std::string elogFileName;
  void addNewObject(int runNumber);
};

#endif  // DTT0ValidateHandler_H