#include <OverlapTest.h>
Public Member Functions | |
BasicOverlapTest (const std::string &name, const edm::ParameterSet &iConfig) | |
virtual bool | fillOverlapsForItem (const reco::Candidate &item, reco::CandidatePtrVector &overlapsToFill) const |
Check for overlaps. More... | |
virtual void | readInput (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
Read input, apply preselection cut. 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< reco::CandidateView > | candidates_ |
The collection to check overlaps against. More... | |
bool | checkRecoComponents_ |
Check the overlapping by RECO components. More... | |
double | deltaR_ |
Delta R for the match. More... | |
std::vector< bool > | isPreselected_ |
Flag saying if each element has passed the preselection or not. More... | |
StringCutObjectSelector < pat::DiObjectProxy > | pairCut_ |
Cut on the pair of objects together. More... | |
PATStringCutObjectSelector | presel_ |
A generic preselection cut that can work on any Candidate, but has access also to methods of PAT specific objects. More... | |
Protected Attributes inherited from pat::helper::OverlapTest | |
std::string | name_ |
bool | requireNoOverlaps_ |
edm::InputTag | src_ |
Definition at line 43 of file OverlapTest.h.
|
inline |
Definition at line 45 of file OverlapTest.h.
|
virtual |
Check for overlaps.
Implements pat::helper::OverlapTest.
Definition at line 23 of file OverlapTest.cc.
References candidates_, checkRecoComponents_, reco::deltaR(), deltaR_, customizeTrackingMonitorSeedNumber::idx, isPreselected_, analyzePatCOC_cfg::overlaps, pairCut_, edm::PtrVector< T >::push_back(), and python.multivaluedict::sort().
|
virtual |
Read input, apply preselection cut.
Implements pat::helper::OverlapTest.
Definition at line 10 of file OverlapTest.cc.
References candidates_, edm::Event::getByLabel(), customizeTrackingMonitorSeedNumber::idx, isPreselected_, presel_, and pat::helper::OverlapTest::src_.
Referenced by parserPerfsuiteMetadata.parserPerfsuiteMetadata::readCmsScimarkTest().
|
protected |
The collection to check overlaps against.
Definition at line 68 of file OverlapTest.h.
Referenced by fillOverlapsForItem(), and readInput().
|
protected |
Check the overlapping by RECO components.
Definition at line 63 of file OverlapTest.h.
Referenced by fillOverlapsForItem().
|
protected |
Delta R for the match.
Definition at line 61 of file OverlapTest.h.
Referenced by fillOverlapsForItem().
|
protected |
Flag saying if each element has passed the preselection or not.
Definition at line 70 of file OverlapTest.h.
Referenced by fillOverlapsForItem(), and readInput().
|
protected |
Cut on the pair of objects together.
Definition at line 65 of file OverlapTest.h.
Referenced by fillOverlapsForItem().
|
protected |
A generic preselection cut that can work on any Candidate, but has access also to methods of PAT specific objects.
Definition at line 59 of file OverlapTest.h.
Referenced by readInput().