Skip to content

Commit df4f6dd

Browse files
committed
fix issue with watching Runs and LuminosityBlocks in Calibration/TkAlCaRecoProducers
1 parent 2c737cd commit df4f6dd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Calibration/TkAlCaRecoProducers/interface/AlcaBeamSpotHarvester.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// #include "FWCore/ParameterSet/interface/ParameterSet.h"
1515

16-
class AlcaBeamSpotHarvester : public edm::one::EDAnalyzer<> {
16+
class AlcaBeamSpotHarvester : public edm::one::EDAnalyzer<edm::one::WatchRuns, edm::one::WatchLuminosityBlocks> {
1717
public:
1818
/// Constructor
1919
AlcaBeamSpotHarvester(const edm::ParameterSet &);
@@ -23,10 +23,10 @@ class AlcaBeamSpotHarvester : public edm::one::EDAnalyzer<> {
2323

2424
// Operations
2525
void analyze(const edm::Event &, const edm::EventSetup &) override;
26-
void beginRun(const edm::Run &, const edm::EventSetup &);
27-
void endRun(const edm::Run &, const edm::EventSetup &);
28-
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &);
29-
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &);
26+
void beginRun(const edm::Run &, const edm::EventSetup &) override;
27+
void endRun(const edm::Run &, const edm::EventSetup &) override;
28+
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override;
29+
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override;
3030

3131
protected:
3232
private:

Calibration/TkAlCaRecoProducers/plugins/PCLMetadataWriter.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <vector>
1919
#include <iostream>
2020

21-
class PCLMetadataWriter : public edm::one::EDAnalyzer<> {
21+
class PCLMetadataWriter : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
2222
public:
2323
/// Constructor
2424
PCLMetadataWriter(const edm::ParameterSet &);
@@ -28,8 +28,8 @@ class PCLMetadataWriter : public edm::one::EDAnalyzer<> {
2828

2929
// Operations
3030
void analyze(const edm::Event &, const edm::EventSetup &) override;
31-
void beginRun(const edm::Run &, const edm::EventSetup &);
32-
void endRun(const edm::Run &, const edm::EventSetup &);
31+
void beginRun(const edm::Run &, const edm::EventSetup &) override;
32+
void endRun(const edm::Run &, const edm::EventSetup &) override;
3333

3434
protected:
3535
private:

0 commit comments

Comments
 (0)