1 #ifndef CommonTools_ParticleFlow_GenericPFCandidateSelectorDefinition 2 #define CommonTools_ParticleFlow_GenericPFCandidateSelectorDefinition 31 for( collection::const_iterator pfc = hc->begin();
32 pfc != hc->end(); ++pfc, ++
key) {
37 selected_.back().setSourceCandidatePtr( ptrToMother );
void select(const HandleToCollection &hc, const edm::Event &e, const edm::EventSetup &s)
Selects PFCandidates basing on cuts provided with string cut parser.
GenericPFCandidateSelectorDefinition(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
Particle reconstructed by the particle flow algorithm.
StringCutObjectSelector< reco::PFCandidate > selector_