CommonTools
CandAlgos
plugins
CandFwdPtrMerger.cc
Go to the documentation of this file.
1
/* \class CandFwdPtrMerger
2
*
3
* Producer of merged Candidate forward pointer collection
4
*
5
* \author: Lauren Hay
6
*
7
*/
8
#include "
FWCore/Framework/interface/MakerMacros.h
"
9
#include "
CommonTools/UtilAlgos/interface/UniqueMerger.h
"
10
#include "
DataFormats/Candidate/interface/Candidate.h
"
11
#include "
DataFormats/PatCandidates/interface/PackedCandidate.h
"
12
#include "
DataFormats/PatCandidates/interface/PackedGenParticle.h
"
13
#include "
DataFormats/Common/interface/FwdPtr.h
"
14
15
typedef
UniqueMerger<std::vector<edm::FwdPtr<reco::Candidate>
>>
CandFwdPtrMerger
;
16
typedef
UniqueMerger<std::vector<edm::FwdPtr<pat::PackedCandidate>
>>
PackedCandidateFwdPtrMerger
;
17
typedef
UniqueMerger<std::vector<edm::FwdPtr<pat::PackedGenParticle>
>>
PackedGenParticleFwdPtrMerger
;
18
19
DEFINE_FWK_MODULE
(
CandFwdPtrMerger
);
20
DEFINE_FWK_MODULE
(
PackedCandidateFwdPtrMerger
);
21
DEFINE_FWK_MODULE
(
PackedGenParticleFwdPtrMerger
);
UniqueMerger
Definition:
UniqueMerger.h:35
PackedCandidate.h
PackedGenParticle.h
Candidate.h
PackedCandidateFwdPtrMerger
UniqueMerger< std::vector< edm::FwdPtr< pat::PackedCandidate > > > PackedCandidateFwdPtrMerger
Definition:
CandFwdPtrMerger.cc:16
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
PackedGenParticleFwdPtrMerger
UniqueMerger< std::vector< edm::FwdPtr< pat::PackedGenParticle > > > PackedGenParticleFwdPtrMerger
Definition:
CandFwdPtrMerger.cc:17
FwdPtr.h
CandFwdPtrMerger
UniqueMerger< std::vector< edm::FwdPtr< reco::Candidate > > > CandFwdPtrMerger
Definition:
CandFwdPtrMerger.cc:15
UniqueMerger.h
MakerMacros.h
Generated for CMSSW Reference Manual by
1.8.14