#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 19 of file OverlapTest.h.
|
inline |
constructor: reads 'src' and 'requireNoOverlaps' parameters
Definition at line 22 of file OverlapTest.h.
|
inlinevirtual |
|
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.
|
inline |
Definition at line 37 of file OverlapTest.h.
References name_.
Referenced by config.CFG::__str__(), geometryComparison.GeometryComparison::createScript(), validation.Sample::digest(), pat::helper::OverlapBySuperClusterSeed::fillOverlapsForItem(), primaryVertexResolution.PrimaryVertexResolution::getRepMap(), primaryVertexValidation.PrimaryVertexValidation::getRepMap(), zMuMuValidation.ZMuMuValidation::getRepMap(), 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.
|
inline |
|
protected |
Definition at line 42 of file OverlapTest.h.
Referenced by name().
|
protected |
Definition at line 43 of file OverlapTest.h.
Referenced by requireNoOverlaps().
|
protected |
Definition at line 41 of file OverlapTest.h.
Referenced by pat::helper::BasicOverlapTest::readInput(), and pat::helper::OverlapBySuperClusterSeed::readInput().