Skip to content

Commit

Permalink
Merge pull request #33866 from mmusich/fixIssueWithOneAnalyzersCalibT…
Browse files Browse the repository at this point in the history
…racker

fix issue with watching Runs and LuminosityBlocks in Calibration/TkAlCaRecoProducers
  • Loading branch information
cmsbuild authored May 27, 2021
2 parents de6c103 + df4f6dd commit 7947c24
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
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

0 comments on commit 7947c24

Please sign in to comment.