Selects PFCandidates basing on cuts provided with string cut parser. More...
#include "CommonTools/ParticleFlow/interface/ElectronIDPFCandidateSelectorDefinition.h"
Public Member Functions | |
ElectronIDPFCandidateSelectorDefinition (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
void | select (const HandleToCollection &hc, const edm::Event &e, const edm::EventSetup &s) |
Public Member Functions inherited from pf2pat::PFCandidateSelectorDefinition | |
const_iterator | begin () const |
const_iterator | end () const |
PFCandidateSelectorDefinition () | |
const container & | selected () const |
size_t | size () const |
Private Attributes | |
edm::EDGetTokenT< edm::ValueMap< float > > | electronIdToken_ |
edm::EDGetTokenT< reco::GsfElectronCollection > | electronsToken_ |
bool | isBitMap_ |
uint32_t | mask_ |
double | value_ |
Additional Inherited Members | |
Public Types inherited from pf2pat::PFCandidateSelectorDefinition | |
typedef reco::PFCandidateCollection | collection |
typedef boost::transform_iterator< Pointer, container::const_iterator > | const_iterator |
typedef std::vector< reco::PFCandidate > | container |
typedef edm::Handle< collection > | HandleToCollection |
Protected Attributes inherited from pf2pat::PFCandidateSelectorDefinition | |
container | selected_ |
Selects PFCandidates basing on cuts provided with string cut parser.
Definition at line 24 of file ElectronIDPFCandidateSelectorDefinition.h.
|
inline |
Definition at line 26 of file ElectronIDPFCandidateSelectorDefinition.h.
References Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), isBitMap_, mask_, and value_.
|
inline |
Definition at line 57 of file ElectronIDPFCandidateSelectorDefinition.h.
References KineDebug3::count(), electronIdToken_, nano_cff::electrons, electronsToken_, edm::Event::getByToken(), isBitMap_, edm::Ref< C, T, F >::isNull(), crabWrapper::key, mask_, match(), pf2pat::PFCandidateSelectorDefinition::selected_, and value_.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), and Vispa.Views.AbstractView.AbstractView::restoreSelection().
|
private |
Definition at line 113 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by select().
|
private |
Definition at line 112 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by select().
|
private |
Definition at line 114 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by ElectronIDPFCandidateSelectorDefinition(), and select().
|
private |
Definition at line 115 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by ElectronIDPFCandidateSelectorDefinition(), and select().
|
private |
Definition at line 116 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by ElectronIDPFCandidateSelectorDefinition(), and select().