EcalTPGFineGrainTowerfromFile

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
#ifndef ECAL_TPGFINEGRAINTOWER_H
#define ECAL_TPGFINEGRAINTOWER_H

#include "CondCore/PopCon/interface/PopConSourceHandler.h"

#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"

#include "CondFormats/EcalObjects/interface/EcalTPGFineGrainTowerEE.h"
#include "CondFormats/DataRecord/interface/EcalTPGFineGrainTowerEERcd.h"

namespace edm {
  class ParameterSet;
  class Event;
  class EventSetup;
}  // namespace edm

namespace popcon {
  class EcalTPGFineGrainTowerfromFile : public popcon::PopConSourceHandler<EcalTPGFineGrainTowerEE> {
  public:
    void getNewObjects() override;
    ~EcalTPGFineGrainTowerfromFile() override;
    EcalTPGFineGrainTowerfromFile(edm::ParameterSet const&);

    std::string id() const override { return m_name; }

  private:
    std::string m_name;
    std::string fname;
  };
}  // namespace popcon
#endif