CMS 3D CMS Logo

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

References TotemRPCluster::stripBegin(), and TotemRPCluster::stripEnd().

39  {
40  if (l.stripBegin() < r.stripBegin())
41  return true;
42  if (l.stripBegin() > r.stripBegin())
43  return false;
44 
45  if (l.stripEnd() < r.stripEnd())
46  return true;
47 
48  return false;
49 }
uint16_t stripBegin() const
uint16_t stripEnd() const