#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, edm::ConsumesCollector &&iC) | |
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, edm::ConsumesCollector &iC) | |
constructor: reads 'src' and 'requireNoOverlaps' parameters More... | |
bool | requireNoOverlaps () const |
virtual | ~OverlapTest () |
destructor, does nothing More... | |
Protected Attributes | |
edm::Handle< reco::CandidateView > | others_ |
Protected Attributes inherited from pat::helper::OverlapTest | |
std::string | name_ |
bool | requireNoOverlaps_ |
edm::EDGetTokenT < reco::CandidateView > | srcToken_ |
Definition at line 74 of file OverlapTest.h.
|
inline |
Definition at line 77 of file OverlapTest.h.
|
virtual |
Check for overlaps.
Implements pat::helper::OverlapTest.
Definition at line 52 of file OverlapTest.cc.
References edm::hlt::Exception, customizeTrackingMonitorSeedNumber::idx, 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 79 of file OverlapTest.h.
References edm::Event::getByToken(), others_, and pat::helper::OverlapTest::srcToken_.
Referenced by parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimarkTest().
|
protected |
Definition at line 86 of file OverlapTest.h.
Referenced by fillOverlapsForItem(), and readInput().