Skip to content

Commit

Permalink
Made RecoTBCalo analysis modules thread-friendly
Browse files Browse the repository at this point in the history
This fixes the CMS deprecation warnings in the sub-system
  • Loading branch information
Dr15Jones committed Oct 27, 2022
1 parent 61c71b5 commit c6a2e54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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"
Expand All @@ -35,7 +35,7 @@
#include <map>
//#include<stl_pair>

class EcalSimpleTBAnalyzer : public edm::EDAnalyzer {
class EcalSimpleTBAnalyzer : public edm::one::EDAnalyzer<> {
public:
explicit EcalSimpleTBAnalyzer(const edm::ParameterSet&);
~EcalSimpleTBAnalyzer() override;
Expand Down
4 changes: 2 additions & 2 deletions RecoTBCalo/ZDCTBAnalysis/src/ZdcTBAnalyzer.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


#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 All @@ -19,7 +19,7 @@
#include <iostream>
#include <memory>

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

0 comments on commit c6a2e54

Please sign in to comment.