Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:54

0001 /* \class CandFwdPtrMerger

0002  * 

0003  * Producer of merged Candidate forward pointer collection 

0004  *

0005  * \author: Lauren Hay

0006  *

0007  */
0008 #include "FWCore/Framework/interface/MakerMacros.h"
0009 #include "CommonTools/UtilAlgos/interface/UniqueMerger.h"
0010 #include "DataFormats/Candidate/interface/Candidate.h"
0011 #include "DataFormats/PatCandidates/interface/PackedCandidate.h"
0012 #include "DataFormats/PatCandidates/interface/PackedGenParticle.h"
0013 #include "DataFormats/Common/interface/FwdPtr.h"
0014 
0015 typedef UniqueMerger<std::vector<edm::FwdPtr<reco::Candidate>>> CandFwdPtrMerger;
0016 typedef UniqueMerger<std::vector<edm::FwdPtr<pat::PackedCandidate>>> PackedCandidateFwdPtrMerger;
0017 typedef UniqueMerger<std::vector<edm::FwdPtr<pat::PackedGenParticle>>> PackedGenParticleFwdPtrMerger;
0018 
0019 DEFINE_FWK_MODULE(CandFwdPtrMerger);
0020 DEFINE_FWK_MODULE(PackedCandidateFwdPtrMerger);
0021 DEFINE_FWK_MODULE(PackedGenParticleFwdPtrMerger);