Skip to content

Commit

Permalink
Code check
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Nov 21, 2022
1 parent dda5b0b commit 42c6239
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions RecoEgamma/EgammaElectronProducers/test/GEDValueMapAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ class GEDValueMapAnalyzer : public edm::one::EDAnalyzer<> {
const edm::EDGetTokenT<edm::ValueMap<reco::GsfElectronRef> > electronToken_;
};

GEDValueMapAnalyzer::GEDValueMapAnalyzer(const edm::ParameterSet& iConfig)
: inputTagPFCandidates_(iConfig.getParameter<edm::InputTag>("PFCandidates")),
inputTagValueMapElectrons_(iConfig.getParameter<edm::InputTag>("ElectronValueMap")),
pfCandToken_(consumes<reco::PFCandidateCollection>(inputTagPFCandidates_)),
electronToken_(consumes<edm::ValueMap<reco::GsfElectronRef> >(inputTagValueMapElectrons_)) {}
GEDValueMapAnalyzer::GEDValueMapAnalyzer(const edm::ParameterSet& iConfig)
: inputTagPFCandidates_(iConfig.getParameter<edm::InputTag>("PFCandidates")),
inputTagValueMapElectrons_(iConfig.getParameter<edm::InputTag>("ElectronValueMap")),
pfCandToken_(consumes<reco::PFCandidateCollection>(inputTagPFCandidates_)),
electronToken_(consumes<edm::ValueMap<reco::GsfElectronRef> >(inputTagValueMapElectrons_)) {}

void GEDValueMapAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& c) {
const edm::Handle<reco::PFCandidateCollection>& pfCandidatesH = iEvent.getHandle(pfCandToken_);
Expand Down

0 comments on commit 42c6239

Please sign in to comment.