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
Analysis-level particle class.
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:43
CompositeCandidate * clone() const override
required reimplementation of the Candidate&#39;s clone method
edm::RefVector< CompositeCandidateCollection > CompositeCandidateRefVector