CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
mkfit::HitOnTrack Struct Reference

#include <Hit.h>

Public Member Functions

 HitOnTrack ()
 
 HitOnTrack (int i, int l)
 
bool operator< (const HitOnTrack o) const
 

Public Attributes

int index: 24
 
int layer: 8
 

Detailed Description

Definition at line 244 of file Hit.h.

Constructor & Destructor Documentation

mkfit::HitOnTrack::HitOnTrack ( )
inline

Definition at line 248 of file Hit.h.

248 : index(-1), layer(-1) {}
mkfit::HitOnTrack::HitOnTrack ( int  i,
int  l 
)
inline

Definition at line 249 of file Hit.h.

Member Function Documentation

bool mkfit::HitOnTrack::operator< ( const HitOnTrack  o) const
inline

Definition at line 251 of file Hit.h.

References index, and layer.

251  {
252  if (layer != o.layer)
253  return layer < o.layer;
254  return index < o.index;
255  }

Member Data Documentation

int mkfit::HitOnTrack::index
int mkfit::HitOnTrack::layer