CMS 3D CMS Logo

DeltaPhiMinPairSelector Struct Reference

#include <PhysicsTools/Utilities/interface/DeltaPhiMinPairSelector.h>

List of all members.

Public Member Functions

 DeltaPhiMinPairSelector (double deltaPhiMin)
template<typename T1, typename T2>
bool operator() (const T1 &t1, const T2 &t2) const

Private Attributes

double deltaPhiMin_


Detailed Description

Definition at line 11 of file DeltaPhiMinPairSelector.h.


Constructor & Destructor Documentation

DeltaPhiMinPairSelector::DeltaPhiMinPairSelector ( double  deltaPhiMin  )  [inline]

Definition at line 12 of file DeltaPhiMinPairSelector.h.

00012                                                 : 
00013     deltaPhiMin_( deltaPhiMin ) { }


Member Function Documentation

template<typename T1, typename T2>
bool DeltaPhiMinPairSelector::operator() ( const T1 &  t1,
const T2 &  t2 
) const [inline]

Definition at line 15 of file DeltaPhiMinPairSelector.h.

References deltaPhi(), and deltaPhiMin_.

00015                                                         { 
00016     return deltaPhi( t1.phi(), t2.phi() ) > deltaPhiMin_;
00017   }


Member Data Documentation

double DeltaPhiMinPairSelector::deltaPhiMin_ [private]

Definition at line 20 of file DeltaPhiMinPairSelector.h.

Referenced by operator()().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:18:23 2009 for CMSSW by  doxygen 1.5.4