CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 118 of file CSCValidation.h.

Member Function Documentation

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

Definition at line 119 of file CSCValidation.h.

References CSCRecHit2D::localPosition(), and x.

119  {
120  return ((rh1.localPosition()).x() - (rh2.localPosition()).x()) < 0;
121  }
LocalPoint localPosition() const override
Definition: CSCRecHit2D.h:56