1 #ifndef CommonTools_ParticleFlow_GenericPFCandidateSelectorDefinition 2 #define CommonTools_ParticleFlow_GenericPFCandidateSelectorDefinition 33 for( collection::const_iterator pfc = hc->begin();
34 pfc != hc->end(); ++pfc, ++
key) {
39 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_