Skip to content

Commit

Permalink
Remove compilation warnings in several packages of RecoBTag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Jan 26, 2022
1 parent f88f508 commit c1862d9
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions RecoBTag/ImpactParameter/test/IPAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
Expand Down Expand Up @@ -49,7 +49,7 @@ using namespace reco;
// class decleration
//

class IPAnalyzer : public edm::EDAnalyzer {
class IPAnalyzer : public edm::one::EDAnalyzer<> {
public:
explicit IPAnalyzer(const edm::ParameterSet&);
~IPAnalyzer() {}
Expand Down
4 changes: 2 additions & 2 deletions RecoBTag/Skimming/interface/BTagSkimLeptonJet.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
*/

#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDFilter.h"
#include "FWCore/Framework/interface/one/EDFilter.h"
#include "FWCore/Framework/interface/Event.h"

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

class BTagSkimLeptonJet : public edm::EDFilter {
class BTagSkimLeptonJet : public edm::one::EDFilter<> {
public:
explicit BTagSkimLeptonJet(const edm::ParameterSet&);
~BTagSkimLeptonJet() override;
Expand Down
4 changes: 2 additions & 2 deletions RecoBTag/Skimming/interface/BTagSkimMC.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "FWCore/Framework/interface/EDFilter.h"
#include "FWCore/Framework/interface/one/EDFilter.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"

class BTagSkimMC : public edm::EDFilter {
class BTagSkimMC : public edm::one::EDFilter<> {
public:
/// constructor
BTagSkimMC(const edm::ParameterSet&);
Expand Down
4 changes: 2 additions & 2 deletions RecoBTag/SoftLepton/test/testLeptonAssociator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <tuple>

#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
Expand All @@ -28,7 +28,7 @@ namespace std {
};
} // namespace std

class testLeptonAssociator : public edm::EDAnalyzer {
class testLeptonAssociator : public edm::one::EDAnalyzer<> {
public:
explicit testLeptonAssociator(const edm::ParameterSet& iConfig);
virtual void analyze(const edm::Event& iEvent, const edm::EventSetup& setup) override;
Expand Down
4 changes: 2 additions & 2 deletions RecoBTag/SoftLepton/test/testMuonAssociator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <set>

#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
Expand All @@ -26,7 +26,7 @@ namespace std {
};
} // namespace std

class testMuonAssociator : public edm::EDAnalyzer {
class testMuonAssociator : public edm::one::EDAnalyzer<> {
public:
explicit testMuonAssociator(const edm::ParameterSet& iConfig);
virtual ~testMuonAssociator();
Expand Down
2 changes: 1 addition & 1 deletion RecoBTag/TrackProbability/test/CalibrationSkeleton.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using namespace std;

// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
Expand Down
4 changes: 2 additions & 2 deletions RecoBTag/TrackProbability/test/TrackProbabilityAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using namespace std;

// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/MakerMacros.h"
Expand Down Expand Up @@ -53,7 +53,7 @@ using namespace reco;
// class decleration
//

class TrackProbabilityAnalyzer : public edm::EDAnalyzer {
class TrackProbabilityAnalyzer : public edm::one::EDAnalyzer<> {
public:
explicit TrackProbabilityAnalyzer(const edm::ParameterSet&);
~TrackProbabilityAnalyzer() {}
Expand Down
2 changes: 1 addition & 1 deletion RecoBTag/TrackProbability/test/TrackProbabilityXMLtoDB.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using namespace std;

// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
Expand Down
4 changes: 2 additions & 2 deletions RecoBTag/XMLCalibration/test/XMLCalibrationTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"

#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
Expand All @@ -24,7 +24,7 @@ class TestCategory;
///This is an example of how to use the AlgorithmCalibration stuff
// to read the calibrated objects from a .xml file

class XMLCalibrationTest : public edm::EDAnalyzer {
class XMLCalibrationTest : public edm::one::EDAnalyzer<> {
public:
explicit XMLCalibrationTest(const edm::ParameterSet&);
~XMLCalibrationTest();
Expand Down

0 comments on commit c1862d9

Please sign in to comment.