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 
21 // Define typedefs for convenience
22 namespace pat {
24  typedef std::vector<CompositeCandidate> CompositeCandidateCollection;
27 }
28 
29 
30 // Class definition
31 namespace pat {
32 
33 
34  class CompositeCandidate : public PATObject<reco::CompositeCandidate> {
35 
36  public:
37 
41  CompositeCandidate(const reco::CompositeCandidate & aCompositeCandidate);
43  ~CompositeCandidate() override;
44 
46  CompositeCandidate * clone() const override { return new CompositeCandidate(*this); }
47 
48  };
49 
50 
51 }
52 
53 #endif
Analysis-level particle class.
CompositeCandidate * clone() const override
required reimplementation of the Candidate&#39;s clone method
Definition: HeavyIon.h:7
CompositeCandidate()
default constructor
~CompositeCandidate() override
destructor
std::vector< CompositeCandidate > CompositeCandidateCollection
edm::Ref< CompositeCandidateCollection > CompositeCandidateRef
Templated PAT object container.
Definition: PATObject.h:49
edm::RefVector< CompositeCandidateCollection > CompositeCandidateRefVector