#include <OverlapTest.h>
Public Member Functions | |
virtual void | done () |
end of event method. does nothing More... | |
virtual bool | fillOverlapsForItem (const reco::Candidate &item, reco::CandidatePtrVector &overlapsToFill) const =0 |
const std::string & | name () const |
OverlapTest (const std::string &name, const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
constructor: reads 'src' and 'requireNoOverlaps' parameters More... | |
virtual void | readInput (const edm::Event &iEvent, const edm::EventSetup &iSetup)=0 |
initializer for each event. to be implemented in child classes. More... | |
bool | requireNoOverlaps () const |
virtual | ~OverlapTest () |
destructor, does nothing More... | |
Protected Attributes | |
std::string | name_ |
bool | requireNoOverlaps_ |
edm::EDGetTokenT< reco::CandidateView > | srcToken_ |
Definition at line 18 of file OverlapTest.h.
|
inline |
constructor: reads 'src' and 'requireNoOverlaps' parameters
Definition at line 21 of file OverlapTest.h.
|
inlinevirtual |
destructor, does nothing
Definition at line 26 of file OverlapTest.h.
References fillOverlapsForItem(), iEvent, and readInput().
|
inlinevirtual |
|
pure virtual |
check for overlaps for a given item. to be implemented in child classes return true if overlaps have been found, and fills the PtrVector
Implemented in pat::helper::OverlapBySuperClusterSeed, and pat::helper::BasicOverlapTest.
Referenced by pat::helper::BasicOverlapTest::BasicOverlapTest(), pat::helper::OverlapBySuperClusterSeed::readInput(), and ~OverlapTest().
|
inline |
Definition at line 36 of file OverlapTest.h.
References name_.
Referenced by config.CFG::__str__(), validation.Sample::digest(), pat::helper::OverlapBySuperClusterSeed::fillOverlapsForItem(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
pure virtual |
initializer for each event. to be implemented in child classes.
Implemented in pat::helper::OverlapBySuperClusterSeed, and pat::helper::BasicOverlapTest.
Referenced by pat::helper::BasicOverlapTest::BasicOverlapTest(), parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimarkTest(), and ~OverlapTest().
|
inline |
|
protected |
Definition at line 40 of file OverlapTest.h.
Referenced by name().
|
protected |
Definition at line 41 of file OverlapTest.h.
Referenced by requireNoOverlaps().
|
protected |
Definition at line 39 of file OverlapTest.h.
Referenced by pat::helper::BasicOverlapTest::readInput(), and pat::helper::OverlapBySuperClusterSeed::readInput().