Skip to content

Commit

Permalink
modernize SiStripPayloadHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Dec 8, 2021
1 parent 7f51171 commit 78fb5f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OnlineDB/SiStripO2O/plugins/SiStripPayloadHandler.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
Expand All @@ -26,7 +26,7 @@
#include "OnlineDB/SiStripESSources/interface/SiStripCondObjBuilderFromDb.h"

template <typename SiStripPayload>
class SiStripPayloadHandler : public edm::EDAnalyzer {
class SiStripPayloadHandler : public edm::one::EDAnalyzer<> {
public:
explicit SiStripPayloadHandler(const edm::ParameterSet& iConfig);
~SiStripPayloadHandler() override;
Expand Down Expand Up @@ -74,7 +74,7 @@ SiStripPayloadHandler<SiStripPayload>::SiStripPayloadHandler(const edm::Paramete
}

template <typename SiStripPayload>
SiStripPayloadHandler<SiStripPayload>::~SiStripPayloadHandler() {}
SiStripPayloadHandler<SiStripPayload>::~SiStripPayloadHandler() = default;

template <typename SiStripPayload>
void SiStripPayloadHandler<SiStripPayload>::analyze(const edm::Event& evt, const edm::EventSetup& evtSetup) {
Expand Down

0 comments on commit 78fb5f3

Please sign in to comment.