CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
Match Class Reference

#include <Match.h>

Public Member Functions

 Match ()
 
double operator() (const reco::Candidate &ref, const reco::Candidate &rec)
 
 ~Match ()
 

Detailed Description

Definition at line 7 of file Match.h.

Constructor & Destructor Documentation

Match::Match ( void  )
inline

Definition at line 11 of file Match.h.

11 {};
Match::~Match ( )
inline

Definition at line 12 of file Match.h.

12 {};

Member Function Documentation

double Match::operator() ( const reco::Candidate ref,
const reco::Candidate rec 
)
inline

Definition at line 13 of file Match.h.

References reco::deltaR(), reco::Candidate::eta(), and reco::Candidate::phi().

14  { return reco::deltaR(ref.eta(), ref.phi(), rec.eta(), rec.phi()); };
double deltaR(double eta1, double phi1, double eta2, double phi2)
Definition: deltaR.h:19
virtual double phi() const =0
momentum azimuthal angle
virtual double eta() const =0
momentum pseudorapidity