CMS 3D CMS Logo

Functions
TotemRPUVPattern.cc File Reference
#include "DataFormats/CTPPSReco/interface/TotemRPUVPattern.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<()

bool operator< ( const TotemRPUVPattern l,
const TotemRPUVPattern r 
)

Definition at line 12 of file TotemRPUVPattern.cc.

13  {
14  if (l.projection_ < r.projection_)
15  return true;
16  if (l.projection_ > r.projection_)
17  return false;
18 
19  if (l.a_ < r.a_)
20  return true;
21  if (l.a_ > r.a_)
22  return false;
23 
24  if (l.b_ < r.b_)
25  return true;
26  if (l.b_ > r.b_)
27  return false;
28 
29  if (l.w_ < r.w_)
30  return true;
31  if (l.w_ > r.w_)
32  return false;
33 
34  if (l.fittable_ < r.fittable_)
35  return true;
36  if (l.fittable_ > r.fittable_)
37  return false;
38 
39  return false;

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

cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
alignCSCRings.r
r
Definition: alignCSCRings.py:93