CMS 3D CMS Logo

CompositeCandidate.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef DataFormats_PatCandidates_CompositeCandidate_h
5 #define DataFormats_PatCandidates_CompositeCandidate_h
6 
19 
20 // Define typedefs for convenience
21 namespace pat {
23  typedef std::vector<CompositeCandidate> CompositeCandidateCollection;
26 } // namespace pat
27 
28 // Class definition
29 namespace pat {
30 
31  class CompositeCandidate : public PATObject<reco::CompositeCandidate> {
32  public:
36  CompositeCandidate(const reco::CompositeCandidate& aCompositeCandidate);
38  ~CompositeCandidate() override;
39 
41  CompositeCandidate* clone() const override { return new CompositeCandidate(*this); }
42  };
43 
44 } // namespace pat
45 
46 #endif
CompositeCandidate.h
pat::CompositeCandidate::CompositeCandidate
CompositeCandidate()
default constructor
Definition: CompositeCandidate.cc:9
pat::CompositeCandidate
Analysis-level particle class.
Definition: CompositeCandidate.h:31
pat::CompositeCandidate::~CompositeCandidate
~CompositeCandidate() override
destructor
Definition: CompositeCandidate.cc:18
pat::CompositeCandidateCollection
std::vector< CompositeCandidate > CompositeCandidateCollection
Definition: CompositeCandidate.h:22
edm::RefVector
Definition: EDProductfwd.h:27
edm::Ref
Definition: AssociativeIterator.h:58
pat::CompositeCandidate::clone
CompositeCandidate * clone() const override
required reimplementation of the Candidate's clone method
Definition: CompositeCandidate.h:41
pat::PATObject
Templated PAT object container.
Definition: PATObject.h:48
pat::CompositeCandidateRef
edm::Ref< CompositeCandidateCollection > CompositeCandidateRef
Definition: CompositeCandidate.h:24
pat::CompositeCandidateRefVector
edm::RefVector< CompositeCandidateCollection > CompositeCandidateRefVector
Definition: CompositeCandidate.h:25
pat
Definition: HeavyIon.h:7
reco::CompositeCandidate
Definition: CompositeCandidate.h:21
PATObject.h