CMS 3D CMS Logo

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

◆ operator()()

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

Definition at line 119 of file CSCValidation.h.

119  {
120  return ((rh1.localPosition()).x() - (rh2.localPosition()).x()) < 0;
121  }

References CSCRecHit2D::localPosition(), and x.

DDAxes::x
CSCRecHit2D::localPosition
LocalPoint localPosition() const override
Definition: CSCRecHit2D.h:56