#include <OverlapTest.h>
Public Member Functions | |
bool | fillOverlapsForItem (const reco::Candidate &item, reco::CandidatePtrVector &overlapsToFill) const override |
Check for overlaps. More... | |
OverlapBySuperClusterSeed (const std::string &name, const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
void | readInput (const edm::Event &iEvent, const edm::EventSetup &iSetup) override |
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 77 of file OverlapTest.h.
|
inline |
Definition at line 80 of file OverlapTest.h.
|
overridevirtual |
Check for overlaps.
Implements pat::helper::OverlapTest.
Definition at line 52 of file OverlapTest.cc.
References Exception, training_settings::idx, input, edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNull(), B2GTnPMonitor_cfi::item, ecalTB2006H4_GenSimDigiReco_cfg::mySeed, pat::helper::OverlapTest::name(), trackingPlots::other, others_, and edm::PtrVector< T >::push_back().
|
inlineoverridevirtual |
initializer for each event. to be implemented in child classes.
Implements pat::helper::OverlapTest.
Definition at line 83 of file OverlapTest.h.
References iEvent, others_, and pat::helper::OverlapTest::srcToken_.
|
protected |
Definition at line 91 of file OverlapTest.h.
Referenced by fillOverlapsForItem(), and readInput().