Skip to content

Commit

Permalink
EventSetup consumes migration for MuonServiceProxy
Browse files Browse the repository at this point in the history
This completes the migration of MuonServiceProxy to call
consumes for the EventSetup products it gets. An earlier
commit added support for this if a new constructor was
called but the old constructor still existed.
This commit migrates all clients to use the new constructor
and deletes the old one.

The main change is that a ConsumesCollector needs to
be passed to the MuonServiceProxy constructor.

Note some modules were constructing and updating a MuonServiceProxy
object, but then never using it. Instead of migrating those, I deleted
MuonServiceProxy from those modules.

Note that this deletes the old constructor. This will break code
outside the repository that uses MuonServiceProxy, but eventually
support for that mode will be dropped by the Framework anyway.
  • Loading branch information
wddgit committed Jan 30, 2020
1 parent 1ddd87e commit 65ec28c
Show file tree
Hide file tree
Showing 60 changed files with 144 additions and 199 deletions.
3 changes: 2 additions & 1 deletion Alignment/OfflineValidation/plugins/ResidualRefitting.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"

#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
Expand Down Expand Up @@ -71,7 +72,7 @@ ResidualRefitting::ResidualRefitting(const edm::ParameterSet& cfg)
edm::ParameterSet serviceParameters = cfg.getParameter<edm::ParameterSet>("ServiceParameters");

// the services
theService = new MuonServiceProxy(serviceParameters);
theService = new MuonServiceProxy(serviceParameters, consumesCollector());

} //The constructor

Expand Down
6 changes: 1 addition & 5 deletions DQM/MuonMonitor/plugins/CosmicMuonRecoAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "DQMServices/Core/interface/MonitorElement.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"

#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

using namespace std;
Expand All @@ -35,7 +34,6 @@ class CosmicMuonRecoAnalyzer : public DQMEDAnalyzer {

private:
// ----------member data ---------------------------
MuonServiceProxy* theService;
edm::ParameterSet parameters;

edm::EDGetTokenT<edm::View<reco::Track> > theMuonCollectionLabel_;
Expand Down Expand Up @@ -104,7 +102,6 @@ CosmicMuonRecoAnalyzer::CosmicMuonRecoAnalyzer(const edm::ParameterSet& pSet) {
parameters = pSet;

// the services:
theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));
theMuonCollectionLabel_ = consumes<edm::View<reco::Track> >(parameters.getParameter<edm::InputTag>("MuonCollection"));

nTrkBin = parameters.getParameter<int>("nTrkBin");
Expand Down Expand Up @@ -139,7 +136,7 @@ CosmicMuonRecoAnalyzer::CosmicMuonRecoAnalyzer(const edm::ParameterSet& pSet) {
theFolder = parameters.getParameter<string>("folder");
}

CosmicMuonRecoAnalyzer::~CosmicMuonRecoAnalyzer() { delete theService; }
CosmicMuonRecoAnalyzer::~CosmicMuonRecoAnalyzer() {}

void CosmicMuonRecoAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,
edm::Run const& /*iRun*/,
Expand Down Expand Up @@ -216,7 +213,6 @@ void CosmicMuonRecoAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,

void CosmicMuonRecoAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
LogTrace(metname) << "[MuonRecoAnalyzer] Analyze the mu";
theService->update(iSetup);

// Take the muon container
edm::Handle<edm::View<reco::Track> > muons;
Expand Down
2 changes: 0 additions & 2 deletions DQMOffline/Muon/interface/EfficiencyAnalyzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"
#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"

#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/MuonReco/interface/MuonFwd.h"
Expand All @@ -43,7 +42,6 @@ class EfficiencyAnalyzer : public DQMEDAnalyzer {

private:
edm::ParameterSet parameters;
MuonServiceProxy* theService;

// Switch for verbosity
std::string metname;
Expand Down
2 changes: 0 additions & 2 deletions DQMOffline/Muon/interface/MuonEnergyDepositAnalyzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"
#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"

#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/MuonReco/interface/MuonFwd.h"
Expand All @@ -41,7 +40,6 @@ class MuonEnergyDepositAnalyzer : public DQMEDAnalyzer {
private:
// ----------member data ---------------------------
edm::ParameterSet parameters;
MuonServiceProxy *theService;
edm::EDGetTokenT<reco::MuonCollection> theMuonCollectionLabel_;

// Switch for verbosity
Expand Down
2 changes: 0 additions & 2 deletions DQMOffline/Muon/interface/MuonKinVsEtaAnalyzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/MuonReco/interface/MuonSelectors.h"
#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"

class MuonKinVsEtaAnalyzer : public DQMEDAnalyzer {
public:
Expand All @@ -43,7 +42,6 @@ class MuonKinVsEtaAnalyzer : public DQMEDAnalyzer {

private:
// ----------member data ---------------------------
MuonServiceProxy *theService;
edm::ParameterSet parameters;

// Switch for verbosity
Expand Down
3 changes: 0 additions & 3 deletions DQMOffline/Muon/interface/MuonRecoAnalyzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"

#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"

#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/MuonReco/interface/MuonFwd.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
Expand Down Expand Up @@ -51,7 +49,6 @@ class MuonRecoAnalyzer : public DQMEDAnalyzer {

private:
// ----------member data ---------------------------
MuonServiceProxy* theService;
edm::ParameterSet parameters;

edm::EDGetTokenT<edm::View<reco::Muon> > theMuonCollectionLabel_;
Expand Down
2 changes: 0 additions & 2 deletions DQMOffline/Muon/interface/MuonRecoOneHLT.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"
#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"

#include "DataFormats/Common/interface/TriggerResults.h"
#include "DataFormats/HLTReco/interface/TriggerEvent.h"
Expand Down Expand Up @@ -55,7 +54,6 @@ class MuonRecoOneHLT : public DQMEDAnalyzer {
private:
// ----------member data ---------------------------
edm::ParameterSet parameters;
MuonServiceProxy* theService;

// Switch for verbosity
std::string metname;
Expand Down
3 changes: 0 additions & 3 deletions DQMOffline/Muon/interface/MuonTiming.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"

#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"

#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/MuonReco/interface/MuonFwd.h"

Expand All @@ -39,7 +37,6 @@ class MuonTiming : public DQMEDAnalyzer {

private:
// ----------member data ---------------------------
MuonServiceProxy *theService;

edm::EDGetTokenT<edm::View<reco::Muon> > theMuonCollectionLabel_;
// Switch for verbosity
Expand Down
7 changes: 1 addition & 6 deletions DQMOffline/Muon/interface/SegmentTrackAnalyzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"
#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"
#include "RecoMuon/TrackingTools/interface/SegmentsTrackAssociator.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
Expand All @@ -32,17 +31,13 @@ class SegmentTrackAnalyzer : public DQMEDAnalyzer {
SegmentTrackAnalyzer(const edm::ParameterSet&);

/// Destructor
~SegmentTrackAnalyzer() override {
delete theService;
delete theSegmentsAssociator;
};
~SegmentTrackAnalyzer() override { delete theSegmentsAssociator; };

void analyze(const edm::Event&, const edm::EventSetup&) override;
void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;

private:
// ----------member data ---------------------------
MuonServiceProxy* theService;
edm::ParameterSet parameters;
edm::EDGetTokenT<reco::TrackCollection> theMuTrackCollectionLabel_;

Expand Down
2 changes: 0 additions & 2 deletions DQMOffline/Muon/interface/TriggerMatchMonitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/MuonReco/interface/MuonSelectors.h"
#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"
#include "FWCore/Common/interface/TriggerNames.h"
#include "DataFormats/Common/interface/TriggerResults.h"
#include "DataFormats/HLTReco/interface/TriggerEvent.h"
Expand All @@ -47,7 +46,6 @@ class TriggerMatchMonitor : public DQMEDAnalyzer {

private:
// ----------member data ---------------------------
MuonServiceProxy* theService;
edm::ParameterSet parameters;

// triggerNames to be passed from config
Expand Down
5 changes: 1 addition & 4 deletions DQMOffline/Muon/src/EfficiencyAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ using namespace edm;
EfficiencyAnalyzer::EfficiencyAnalyzer(const edm::ParameterSet& pSet) {
parameters = pSet;

theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));

// DATA
theMuonCollectionLabel_ = consumes<edm::View<reco::Muon> >(parameters.getParameter<edm::InputTag>("MuonCollection"));
theTrackCollectionLabel_ = consumes<reco::TrackCollection>(parameters.getParameter<edm::InputTag>("TrackCollection"));
Expand Down Expand Up @@ -60,7 +58,7 @@ EfficiencyAnalyzer::EfficiencyAnalyzer(const edm::ParameterSet& pSet) {
theFolder = parameters.getParameter<string>("folder");
}

EfficiencyAnalyzer::~EfficiencyAnalyzer() { delete theService; }
EfficiencyAnalyzer::~EfficiencyAnalyzer() {}

void EfficiencyAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,
edm::Run const& /*iRun*/,
Expand Down Expand Up @@ -159,7 +157,6 @@ void EfficiencyAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,

void EfficiencyAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
LogTrace(metname) << "[EfficiencyAnalyzer] Analyze the mu in different eta regions";
theService->update(iSetup);
// ==========================================================
// BEGIN READ DATA:
// Muon information
Expand Down
6 changes: 1 addition & 5 deletions DQMOffline/Muon/src/MuonEnergyDepositAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ using namespace edm;
MuonEnergyDepositAnalyzer::MuonEnergyDepositAnalyzer(const edm::ParameterSet& pSet) {
parameters = pSet;

// the services
theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));

theMuonCollectionLabel_ = consumes<reco::MuonCollection>(parameters.getParameter<InputTag>("MuonCollection"));

AlgoName = parameters.getParameter<std::string>("AlgoName");
Expand Down Expand Up @@ -54,7 +51,7 @@ MuonEnergyDepositAnalyzer::MuonEnergyDepositAnalyzer(const edm::ParameterSet& pS
hoS9NoMin = parameters.getParameter<double>("hoS9SizeMin");
hoS9NoMax = parameters.getParameter<double>("hoS9SizeMax");
}
MuonEnergyDepositAnalyzer::~MuonEnergyDepositAnalyzer() { delete theService; }
MuonEnergyDepositAnalyzer::~MuonEnergyDepositAnalyzer() {}
void MuonEnergyDepositAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,
edm::Run const& /*iRun*/,
edm::EventSetup const& /* iSetup */) {
Expand Down Expand Up @@ -160,7 +157,6 @@ void MuonEnergyDepositAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,
}
void MuonEnergyDepositAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
LogTrace(metname) << "[MuonEnergyDepositAnalyzer] Filling the histos";
theService->update(iSetup);

// Take the muon container
edm::Handle<reco::MuonCollection> muons;
Expand Down
6 changes: 1 addition & 5 deletions DQMOffline/Muon/src/MuonKinVsEtaAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ MuonKinVsEtaAnalyzer::MuonKinVsEtaAnalyzer(const edm::ParameterSet& pSet) {

parameters = pSet;

// the services
theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));

theMuonCollectionLabel_ = consumes<edm::View<reco::Muon> >(parameters.getParameter<edm::InputTag>("MuonCollection"));
theVertexLabel_ = consumes<reco::VertexCollection>(parameters.getParameter<edm::InputTag>("VertexLabel"));

Expand Down Expand Up @@ -61,7 +58,7 @@ MuonKinVsEtaAnalyzer::MuonKinVsEtaAnalyzer(const edm::ParameterSet& pSet) {

theFolder = parameters.getParameter<string>("folder");
}
MuonKinVsEtaAnalyzer::~MuonKinVsEtaAnalyzer() { delete theService; }
MuonKinVsEtaAnalyzer::~MuonKinVsEtaAnalyzer() {}

void MuonKinVsEtaAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,
edm::Run const& /*iRun*/,
Expand Down Expand Up @@ -167,7 +164,6 @@ void MuonKinVsEtaAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,
}
void MuonKinVsEtaAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
LogTrace(metname) << "[MuonKinVsEtaAnalyzer] Analyze the mu in different eta regions";
theService->update(iSetup);

edm::Handle<edm::View<reco::Muon> > muons;
iEvent.getByToken(theMuonCollectionLabel_, muons);
Expand Down
4 changes: 1 addition & 3 deletions DQMOffline/Muon/src/MuonRecoAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ MuonRecoAnalyzer::MuonRecoAnalyzer(const edm::ParameterSet& pSet) {
IsminiAOD = parameters.getParameter<bool>("IsminiAOD");
doMVA = parameters.getParameter<bool>("doMVA");
// the services:
theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));
theMuonCollectionLabel_ = consumes<edm::View<reco::Muon> >(parameters.getParameter<edm::InputTag>("MuonCollection"));
theVertexLabel_ = consumes<reco::VertexCollection>(pSet.getParameter<InputTag>("inputTagVertex"));
theBeamSpotLabel_ = consumes<reco::BeamSpot>(pSet.getParameter<InputTag>("inputTagBeamSpot"));
Expand Down Expand Up @@ -60,7 +59,7 @@ MuonRecoAnalyzer::MuonRecoAnalyzer(const edm::ParameterSet& pSet) {
theFolder = parameters.getParameter<string>("folder");
}

MuonRecoAnalyzer::~MuonRecoAnalyzer() { delete theService; }
MuonRecoAnalyzer::~MuonRecoAnalyzer() {}
void MuonRecoAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,
edm::Run const& /*iRun*/,
edm::EventSetup const& /* iSetup */) {
Expand Down Expand Up @@ -575,7 +574,6 @@ void MuonRecoAnalyzer::GetRes(reco::TrackRef t1, reco::TrackRef t2, string par,

void MuonRecoAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
LogTrace(metname) << "[MuonRecoAnalyzer] Analyze the mu";
theService->update(iSetup);

// Take the muon container
edm::Handle<edm::View<reco::Muon> > muons;
Expand Down
9 changes: 1 addition & 8 deletions DQMOffline/Muon/src/MuonRecoOneHLT.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@ using namespace edm;
// Uncomment to DEBUG
//#define DEBUG

MuonRecoOneHLT::MuonRecoOneHLT(
const edm::ParameterSet& pSet) { //, MuonServiceProxy *theService) :MuonAnalyzerBase(theService) {
MuonRecoOneHLT::MuonRecoOneHLT(const edm::ParameterSet& pSet) {
parameters = pSet;

// the services
theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));

ParameterSet muonparms = parameters.getParameter<edm::ParameterSet>("SingleMuonTrigger");
ParameterSet dimuonparms = parameters.getParameter<edm::ParameterSet>("DoubleMuonTrigger");
_SingleMuonEventFlag = new GenericTriggerEventFlag(muonparms, consumesCollector(), *this, l1t::UseEventSetupIn::Run);
Expand Down Expand Up @@ -47,7 +43,6 @@ MuonRecoOneHLT::MuonRecoOneHLT(
phiMax = parameters.getParameter<double>("phiMax");
}
MuonRecoOneHLT::~MuonRecoOneHLT() {
delete theService;
delete _SingleMuonEventFlag;
delete _DoubleMuonEventFlag;
}
Expand Down Expand Up @@ -128,8 +123,6 @@ void MuonRecoOneHLT::bookHistograms(DQMStore::IBooker& ibooker, edm::Run const&
singlemuonExpr_ = _DoubleMuonEventFlag->expressionsFromDB(_DoubleMuonEventFlag->hltDBKey(), iSetup);
}
void MuonRecoOneHLT::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
theService->update(iSetup);

// =================================================================================
// Look for the Primary Vertex (and use the BeamSpot instead, if you can't find it):
reco::Vertex::Point posVtx;
Expand Down
3 changes: 2 additions & 1 deletion DQMOffline/Muon/src/MuonSeedsAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "RecoMuon/TrackingTools/interface/MuonPatternRecoDumper.h"
#include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

#include <string>
Expand All @@ -35,7 +36,7 @@ using namespace edm;
MuonSeedsAnalyzer::MuonSeedsAnalyzer(const edm::ParameterSet& pSet) {
parameters = pSet;

theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));
theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"), consumesCollector());

theSeedsCollectionLabel_ = consumes<TrajectorySeedCollection>(parameters.getParameter<InputTag>("SeedCollection"));

Expand Down
4 changes: 1 addition & 3 deletions DQMOffline/Muon/src/MuonTiming.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ MuonTiming::MuonTiming(const edm::ParameterSet& pSet) {
// Input booleans

// the services:
theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));
theMuonCollectionLabel_ = consumes<edm::View<reco::Muon> >(parameters.getParameter<edm::InputTag>("MuonCollection"));

tnbins_ = parameters.getParameter<int>("tnbins");
Expand Down Expand Up @@ -56,7 +55,7 @@ MuonTiming::MuonTiming(const edm::ParameterSet& pSet) {
theFolder_ = parameters.getParameter<string>("folder");
}

MuonTiming::~MuonTiming() { delete theService; }
MuonTiming::~MuonTiming() {}

void MuonTiming::bookHistograms(DQMStore::IBooker& ibooker,
edm::Run const& /*iRun*/,
Expand Down Expand Up @@ -153,7 +152,6 @@ void MuonTiming::bookHistograms(DQMStore::IBooker& ibooker,

void MuonTiming::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
LogTrace(metname_) << "[MuonTiming] Analyze the mu";
theService->update(iSetup);

// Take the muon container
edm::Handle<edm::View<reco::Muon> > muons;
Expand Down
5 changes: 0 additions & 5 deletions DQMOffline/Muon/src/SegmentTrackAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ using namespace edm;
SegmentTrackAnalyzer::SegmentTrackAnalyzer(const edm::ParameterSet& pSet) {
parameters = pSet;

// MuonService
theService = new MuonServiceProxy(parameters.getParameter<ParameterSet>("ServiceParameters"));

// Read Data:
theMuTrackCollectionLabel_ =
consumes<reco::TrackCollection>(parameters.getParameter<edm::InputTag>("MuTrackCollection"));
Expand Down Expand Up @@ -203,8 +200,6 @@ void SegmentTrackAnalyzer::bookHistograms(DQMStore::IBooker& ibooker,
}

void SegmentTrackAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
theService->update(iSetup);

Handle<reco::TrackCollection> glbTracks;
iEvent.getByToken(theMuTrackCollectionLabel_, glbTracks);

Expand Down
Loading

0 comments on commit 65ec28c

Please sign in to comment.