CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/PhysicsTools/PatAlgos/src/SimpleIsolator.cc

Go to the documentation of this file.
00001 #include "PhysicsTools/PatAlgos/interface/SimpleIsolator.h"
00002 #include <sstream>
00003 
00004 using pat::helper::SimpleIsolator;
00005 using pat::helper::BaseIsolator;
00006 
00007 
00008 SimpleIsolator::SimpleIsolator(const edm::ParameterSet &conf, bool withCut) :
00009     BaseIsolator(conf, withCut)
00010 {
00011 }
00012 
00013 void
00014 SimpleIsolator::beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup) {
00015     event.getByLabel(input_, handle_);
00016 }
00017 
00018 void
00019 SimpleIsolator::endEvent() {
00020     handle_.clear();
00021 }
00022