1 #ifndef CommonTools_ParticleFlow_GenericPFCandidateSelectorDefinition
2 #define CommonTools_ParticleFlow_GenericPFCandidateSelectorDefinition
22 selector_( cfg.getParameter< std::string >(
"cut" ) ) { }
30 for( collection::const_iterator pfc = hc->begin();
31 pfc != hc->end(); ++pfc, ++
key) {
36 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.
Particle reconstructed by the particle flow algorithm.
GenericPFCandidateSelectorDefinition(const edm::ParameterSet &cfg)
StringCutObjectSelector< reco::PFCandidate > selector_