CMS 3D CMS Logo

L1MuDTEUX::EUX_Comp Class Reference

helper class for finding the best and second best extrapolation More...

#include <L1Trigger/DTTrackFinder/src/L1MuDTEUX.h>

List of all members.

Public Member Functions

 EUX_Comp (const L1MuDTEUX *k=0)
bool operator() (const L1MuDTEUX *first, const L1MuDTEUX *second) const

Private Attributes

const L1MuDTEUX_not


Detailed Description

helper class for finding the best and second best extrapolation

Definition at line 77 of file L1MuDTEUX.h.


Constructor & Destructor Documentation

L1MuDTEUX::EUX_Comp::EUX_Comp ( const L1MuDTEUX k = 0  )  [inline]

Definition at line 79 of file L1MuDTEUX.h.

00079 : _not(k) {}


Member Function Documentation

bool L1MuDTEUX::EUX_Comp::operator() ( const L1MuDTEUX first,
const L1MuDTEUX second 
) const [inline]

Definition at line 80 of file L1MuDTEUX.h.

References _not, L1MuDTEUX::quality(), and L1MuDTEUX::result().

00080                                                                                  {
00081           if ( !second->result() ) return false;
00082           if ( _not != 0 && *first  == *_not ) return true; 
00083           if ( _not != 0 && *second == *_not ) return false;
00084           return ( first->quality() < second->quality() );
00085         }


Member Data Documentation

const L1MuDTEUX* L1MuDTEUX::EUX_Comp::_not [private]

Definition at line 87 of file L1MuDTEUX.h.

Referenced by operator()().


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