CommonTools
CandAlgos
plugins
CandPtrMerger.cc
Go to the documentation of this file.
1
/* \class CandPtrMerger
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/Ptr.h
"
14
15
typedef
UniqueMerger<std::vector<edm::Ptr<reco::Candidate>
>>
CandPtrMerger
;
16
typedef
UniqueMerger<std::vector<edm::Ptr<pat::PackedCandidate>
>>
PackedCandidatePtrMerger
;
17
typedef
UniqueMerger<std::vector<edm::Ptr<pat::PackedGenParticle>
>>
PackedGenParticlePtrMerger
;
18
19
DEFINE_FWK_MODULE
(
CandPtrMerger
);
20
DEFINE_FWK_MODULE
(
PackedCandidatePtrMerger
);
21
DEFINE_FWK_MODULE
(
PackedGenParticlePtrMerger
);
PackedGenParticle.h
PackedCandidatePtrMerger
UniqueMerger< std::vector< edm::Ptr< pat::PackedCandidate > > > PackedCandidatePtrMerger
Definition:
CandPtrMerger.cc:16
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
PackedGenParticlePtrMerger
UniqueMerger< std::vector< edm::Ptr< pat::PackedGenParticle > > > PackedGenParticlePtrMerger
Definition:
CandPtrMerger.cc:17
PackedCandidate.h
Ptr.h
UniqueMerger
Definition:
UniqueMerger.h:35
CandPtrMerger
UniqueMerger< std::vector< edm::Ptr< reco::Candidate > > > CandPtrMerger
Definition:
CandPtrMerger.cc:15
Candidate.h
UniqueMerger.h
Generated for CMSSW Reference Manual by
1.8.16