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::beginEvent
void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition:
SimpleIsolator.cc:10
pat::helper::SimpleIsolator::inputDoubleToken_
edm::EDGetTokenT< IsoValueMap > inputDoubleToken_
Definition:
SimpleIsolator.h:21
edm::ParameterSet
Definition:
ParameterSet.h:36
pat::helper::SimpleIsolator::endEvent
void endEvent() override
Definition:
SimpleIsolator.cc:14
edm::EventSetup
Definition:
EventSetup.h:57
pat::helper::BaseIsolator
Definition:
BaseIsolator.h:13
pat::helper::SimpleIsolator
Definition:
SimpleIsolator.h:8
options_cfi.eventSetup
eventSetup
Definition:
options_cfi.py:12
SimpleIsolator.h
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.16