CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoEcalCandidate.cc
Go to the documentation of this file.
1 // $Id: RecoEcalCandidate.cc,v 1.1 2006/07/26 07:42:08 llista Exp $
3 
4 using namespace reco;
5 
7 
9  return new RecoEcalCandidate( * this );
10 }
11 
13  return superCluster_;
14 }
15 
16 bool RecoEcalCandidate::overlap( const Candidate & c ) const {
17  const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c );
18  return ( o != 0 &&
20  );
21 }
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:64
RecoEcalCandidate()
default constructor
virtual reco::SuperClusterRef superCluster() const
reference to a superCluster
virtual bool overlap(const Candidate &) const
check overlap with another candidate
virtual RecoEcalCandidate * clone() const
returns a clone of the candidate
reco::SuperClusterRef superCluster_
reference to a superCluster
virtual ~RecoEcalCandidate()
destructor
virtual reco::SuperClusterRef superCluster() const
reference to a SuperCluster