#include <OverlapTest.h>
Public Member Functions | |
virtual bool | fillOverlapsForItem (const reco::Candidate &item, reco::CandidatePtrVector &overlapsToFill) const |
Check for overlaps. More... | |
OverlapBySuperClusterSeed (const std::string &name, const edm::ParameterSet &iConfig) | |
virtual void | readInput (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
initializer for each event. to be implemented in child classes. More... | |
Public Member Functions inherited from pat::helper::OverlapTest | |
virtual void | done () |
end of event method. does nothing More... | |
const std::string & | name () const |
OverlapTest (const std::string &name, const edm::ParameterSet &iConfig) | |
constructor: reads 'src' and 'requireNoOverlaps' parameters More... | |
bool | requireNoOverlaps () const |
virtual | ~OverlapTest () |
destructor, does nothing More... | |
Protected Attributes | |
edm::Handle< edm::View < reco::RecoCandidate > > | others_ |
Protected Attributes inherited from pat::helper::OverlapTest | |
std::string | name_ |
bool | requireNoOverlaps_ |
edm::InputTag | src_ |
Definition at line 73 of file OverlapTest.h.
|
inline |
Definition at line 76 of file OverlapTest.h.
|
virtual |
Check for overlaps.
Implements pat::helper::OverlapTest.
Definition at line 52 of file OverlapTest.cc.
References edm::hlt::Exception, collect_tpl::input, edm::Ref< C, T, F >::isAvailable(), edm::Ptr< T >::isNull(), edm::Ref< C, T, F >::isNull(), ecalTB2006H4_GenSimDigiReco_cfg::mySeed, pat::helper::OverlapTest::name(), others_, edm::PtrVector< T >::push_back(), and reco::RecoCandidate::superCluster().
|
inlinevirtual |
initializer for each event. to be implemented in child classes.
Implements pat::helper::OverlapTest.
Definition at line 78 of file OverlapTest.h.
References edm::Event::getByLabel(), others_, and pat::helper::OverlapTest::src_.
Referenced by parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimarkTest().
|
protected |
Definition at line 84 of file OverlapTest.h.
Referenced by fillOverlapsForItem(), and readInput().