Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue with watching Runs and LuminosityBlocks in Calibration/TkAlCaRecoProducers #33866

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

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

class AlcaBeamSpotHarvester : public edm::one::EDAnalyzer<> {
class AlcaBeamSpotHarvester : public edm::one::EDAnalyzer<edm::one::WatchRuns, edm::one::WatchLuminosityBlocks> {
public:
/// Constructor
AlcaBeamSpotHarvester(const edm::ParameterSet &);
Expand All @@ -23,10 +23,10 @@ class AlcaBeamSpotHarvester : public edm::one::EDAnalyzer<> {

// Operations
void analyze(const edm::Event &, const edm::EventSetup &) override;
void beginRun(const edm::Run &, const edm::EventSetup &);
void endRun(const edm::Run &, const edm::EventSetup &);
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &);
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &);
void beginRun(const edm::Run &, const edm::EventSetup &) override;
void endRun(const edm::Run &, const edm::EventSetup &) override;
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override;
void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override;

protected:
private:
Expand Down
6 changes: 3 additions & 3 deletions Calibration/TkAlCaRecoProducers/plugins/PCLMetadataWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <vector>
#include <iostream>

class PCLMetadataWriter : public edm::one::EDAnalyzer<> {
class PCLMetadataWriter : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
public:
/// Constructor
PCLMetadataWriter(const edm::ParameterSet &);
Expand All @@ -28,8 +28,8 @@ class PCLMetadataWriter : public edm::one::EDAnalyzer<> {

// Operations
void analyze(const edm::Event &, const edm::EventSetup &) override;
void beginRun(const edm::Run &, const edm::EventSetup &);
void endRun(const edm::Run &, const edm::EventSetup &);
void beginRun(const edm::Run &, const edm::EventSetup &) override;
void endRun(const edm::Run &, const edm::EventSetup &) override;

protected:
private:
Expand Down