CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ME0Muon.cc
Go to the documentation of this file.
1 
7 using namespace reco;
8 
10 }
11 
12 bool ME0Muon::overlap( const Candidate & c ) const {
13  const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c );
14  return ( o != 0 &&
15  ( checkOverlap( track(), o->track() ))
16  );
17 }
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:69
virtual bool overlap(const Candidate &) const
check overlap with another candidate
Definition: ME0Muon.cc:12
virtual reco::TrackRef track() const
reference to a Track
virtual TrackRef track() const
reference to a Track
Definition: ME0Muon.h:30