Main Page
Namespaces
Classes
Package Documentation
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:57
pat::helper::BaseIsolator
Definition:
BaseIsolator.h:13
SimpleIsolator.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
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:39
Generated for CMSSW Reference Manual by
1.8.11