CMS 3D CMS Logo

Classes | Functions
TotemRPUVPattern.h File Reference
#include "DataFormats/Common/interface/DetSet.h"
#include "DataFormats/Common/interface/DetSetVector.h"
#include "DataFormats/CTPPSReco/interface/TotemRPRecHit.h"

Go to the source code of this file.

Classes

class  TotemRPUVPattern
 A linear pattern in U or V projection. The intercept b is taken at the middle of a RP: (geometry->GetRPDevice(RPId)->translation().z()) The global coordinate system is used (wrt. the beam). This is the same convention as for the 1-RP track fits. More...
 

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:204
alignCSCRings.r
r
Definition: alignCSCRings.py:93