CMS 3D CMS Logo

Classes | Functions
TotemRPRecHit.h File Reference

Go to the source code of this file.

Classes

class  TotemRPRecHit
 Reconstructed hit in TOTEM RP. More...
 

Functions

bool operator< (const TotemRPRecHit &l, const TotemRPRecHit &r)
 

Function Documentation

◆ operator<()

bool operator< ( const TotemRPRecHit l,
const TotemRPRecHit r 
)
inline

Definition at line 38 of file TotemRPRecHit.h.

References MainPageGenerator::l, and alignCSCRings::r.

38  {
39  if (l.position() < r.position())
40  return true;
41  if (l.position() > r.position())
42  return false;
43 
44  if (l.sigma() < r.sigma())
45  return true;
46 
47  return false;
48 }