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 25 of file ElectronIDPFCandidateSelectorDefinition.h.
References Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), isBitMap_, mask_, and value_.
|
inline |
Definition at line 64 of file ElectronIDPFCandidateSelectorDefinition.h.
References submitPVResolutionJobs::count, electronIdToken_, HI_PhotonSkim_cff::electrons, electronsToken_, edm::Event::getByToken(), isBitMap_, edm::Ref< C, T, F >::isNull(), submitPVResolutionJobs::key, mask_, match(), pf2pat::PFCandidateSelectorDefinition::selected_, and value_.
|
private |
Definition at line 121 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by select().
|
private |
Definition at line 120 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by select().
|
private |
Definition at line 122 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by ElectronIDPFCandidateSelectorDefinition(), and select().
|
private |
Definition at line 123 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by ElectronIDPFCandidateSelectorDefinition(), and select().
|
private |
Definition at line 124 of file ElectronIDPFCandidateSelectorDefinition.h.
Referenced by ElectronIDPFCandidateSelectorDefinition(), and select().