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

◆ operator<()

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

Definition at line 39 of file TotemRPCluster.h.

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

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 }