File indexing completed on 2024-04-06 12:01:02
0001
0002
0003
0004
0005
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/Ptr.h"
0014
0015 typedef UniqueMerger<std::vector<edm::Ptr<reco::Candidate>>> CandPtrMerger;
0016 typedef UniqueMerger<std::vector<edm::Ptr<pat::PackedCandidate>>> PackedCandidatePtrMerger;
0017 typedef UniqueMerger<std::vector<edm::Ptr<pat::PackedGenParticle>>> PackedGenParticlePtrMerger;
0018
0019 DEFINE_FWK_MODULE(CandPtrMerger);
0020 DEFINE_FWK_MODULE(PackedCandidatePtrMerger);
0021 DEFINE_FWK_MODULE(PackedGenParticlePtrMerger);