test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
TotemRPCluster.h File Reference

Go to the source code of this file.

Classes

class  TotemRPCluster
 Cluster of TOTEM RP strip hits. More...
 

Functions

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

Function Documentation

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

Definition at line 40 of file TotemRPCluster.h.

References TotemRPCluster::getStripBegin(), and TotemRPCluster::getStripEnd().

41 {
42  if (l.getStripBegin() < r.getStripBegin())
43  return true;
44  if (l.getStripBegin() > r.getStripBegin())
45  return false;
46 
47  if (l.getStripEnd() < r.getStripEnd())
48  return true;
49 
50  return false;
51 }
uint16_t getStripBegin() const
uint16_t getStripEnd() const