CMS 3D CMS Logo

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

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

87  {
88  if (l.z0_ < r.z0_)
89  return true;
90  if (l.z0_ > r.z0_)
91  return true;
92 
93  for (int i = 0; i < TotemRPLocalTrack::dimension; ++i) {
95  return true;
97  return true;
98  }
99 
100  return false;
101 }
static const int dimension
&lt; parameter vector size
double track_params_vector_[dimension]
track parameters: (x0, y0, tx, ty); x = x0 + tx*(z-z0) ...