CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 93 of file TotemRPLocalTrack.cc.

References TotemRPLocalTrack::dimension, mps_fire::i, TotemRPLocalTrack::track_params_vector_, and TotemRPLocalTrack::z0_.

94 {
95  if (l.z0_ < r.z0_)
96  return true;
97  if (l.z0_ > r.z0_)
98  return true;
99 
100  for (int i = 0; i < TotemRPLocalTrack::dimension; ++i)
101  {
103  return true;
105  return true;
106  }
107 
108  return false;
109 }
static const int dimension
< parameter vector size
double track_params_vector_[dimension]
track parameters: (x0, y0, tx, ty); x = x0 + tx*(z-z0) ...