CMS 3D CMS Logo

Public Member Functions

Balance Class Reference

#include <Balance.h>

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 7 of file Balance.h.


Constructor & Destructor Documentation

Balance::Balance ( ) [inline]

Definition at line 11 of file Balance.h.

{};
Balance::~Balance ( ) [inline]

Definition at line 12 of file Balance.h.

{};

Member Function Documentation

double Balance::operator() ( const reco::Candidate ref,
const reco::Candidate rec 
) [inline]

Definition at line 13 of file Balance.h.

References reco::deltaPhi(), reco::Candidate::phi(), and Pi.

  { return fabs( fabs(reco::deltaPhi(ref.phi(), rec.phi()))-TMath::Pi()); };