CMS 3D CMS Logo

Classes | Functions
TotemRPCluster.h File Reference
#include <cstdint>

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 42 of file TotemRPCluster.h.

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

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