File indexing completed on 2024-04-06 12:27:30
0001 #include "FWCore/Framework/interface/MakerMacros.h"
0002 #include "CommonTools/UtilAlgos/interface/Merger.h"
0003
0004 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
0005
0006 #include "CommonTools/UtilAlgos/interface/ProductFromFwdPtrProducer.h"
0007 #include "CommonTools/ParticleFlow/interface/PFCandidateWithSrcPtrFactory.h"
0008
0009 #include "FWCore/Utilities/interface/Exception.h"
0010 #include "FWCore/Framework/interface/EventSetup.h"
0011
0012 #include "CommonTools/UtilAlgos/interface/FwdPtrProducer.h"
0013 #include "CommonTools/ParticleFlow/interface/PFCandidateFwdPtrFactory.h"
0014
0015 typedef Merger<reco::PFCandidateCollection> PFCandidateListMerger;
0016 typedef edm::ProductFromFwdPtrProducer<reco::PFCandidate, reco::PFCandidateWithSrcPtrFactory>
0017 PFCandidateProductFromFwdPtrProducer;
0018 typedef edm::FwdPtrProducer<reco::PFCandidate, reco::PFCandidateFwdPtrFactory> PFCandidateFwdPtrProducer;
0019
0020 DEFINE_FWK_MODULE(PFCandidateListMerger);
0021 DEFINE_FWK_MODULE(PFCandidateProductFromFwdPtrProducer);
0022 DEFINE_FWK_MODULE(PFCandidateFwdPtrProducer);