PhysicsTools
PatAlgos
src
SimpleIsolator.cc
Go to the documentation of this file.
1
#include "
PhysicsTools/PatAlgos/interface/SimpleIsolator.h
"
2
#include <sstream>
3
4
using
pat::helper::BaseIsolator
;
5
using
pat::helper::SimpleIsolator
;
6
7
SimpleIsolator::SimpleIsolator(
const
edm::ParameterSet
&conf,
edm::ConsumesCollector
&iC,
bool
withCut)
8
:
BaseIsolator
(conf, iC, withCut) {}
9
10
void
SimpleIsolator::beginEvent
(
const
edm::Event
&
event
,
const
edm::EventSetup
&
eventSetup
) {
11
event
.getByToken(
inputDoubleToken_
,
handle_
);
12
}
13
14
void
SimpleIsolator::endEvent
() {
handle_
.clear(); }
pat::helper::SimpleIsolator::handle_
edm::Handle< IsoValueMap > handle_
Definition:
SimpleIsolator.h:20
pat::helper::SimpleIsolator::inputDoubleToken_
edm::EDGetTokenT< IsoValueMap > inputDoubleToken_
Definition:
SimpleIsolator.h:21
pat::helper::SimpleIsolator::endEvent
void endEvent() override
Definition:
SimpleIsolator.cc:14
pat::helper::SimpleIsolator
Definition:
SimpleIsolator.h:8
edm::EventSetup
Definition:
EventSetup.h:59
pat::helper::BaseIsolator
Definition:
BaseIsolator.h:13
SimpleIsolator.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
options_cfi.eventSetup
eventSetup
Definition:
options_cfi.py:12
pat::helper::SimpleIsolator::beginEvent
void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition:
SimpleIsolator.cc:10
event
Definition:
event.py:1
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14