Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ICPFCandidateProducer.cc
Go to the documentation of this file.
2 #include "FWCore/Framework/interface/MakerMacros.h"
3 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
4 
5 #include "CommonTools/UtilAlgos/interface/SingleObjectSelector.h"
6 #include "CommonTools/UtilAlgos/interface/StringCutObjectSelector.h"
7 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
8 
9 
10 typedef SingleObjectSelector<reco::PFCandidateCollection,
11  StringCutObjectSelector<reco::PFCandidate>,
12  reco::PFCandidateRefVector> PFCandidateRefSelector;
13 
15 
18 
19 #if CMSSW_MAJOR_VERSION >= 7
20 #include "DataFormats/PatCandidates/interface/PackedCandidate.h"
21 
22 typedef ICPFCandidateProducer<pat::PackedCandidate> ICPFFromPackedProducer;
23 DEFINE_FWK_MODULE(ICPFFromPackedProducer);
24 #endif
See documentation here.
std::vector< ic::PFCandidate > PFCandidateCollection
Definition: PFCandidate.hh:129
ICPFCandidateProducer< reco::PFCandidate > ICPFProducer
DEFINE_FWK_MODULE(PFCandidateRefSelector)
SingleObjectSelector< reco::PFCandidateCollection, StringCutObjectSelector< reco::PFCandidate >, reco::PFCandidateRefVector > PFCandidateRefSelector