CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
CSCValidation::ltrh Struct Reference

#include <CSCValidation.h>

Public Member Functions

bool operator() (const CSCRecHit2D &rh1, const CSCRecHit2D &rh2) const
 

Detailed Description

Definition at line 132 of file CSCValidation.h.

Member Function Documentation

bool CSCValidation::ltrh::operator() ( const CSCRecHit2D rh1,
const CSCRecHit2D rh2 
) const
inline

Definition at line 134 of file CSCValidation.h.

References CSCRecHit2D::localPosition(), and x.

135  {
136  return ((rh1.localPosition()).x()-(rh2.localPosition()).x()) < 0;
137  }
LocalPoint localPosition() const
Definition: CSCRecHit2D.h:50