CMS 3D CMS Logo

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 258 of file Hit.h.

Constructor & Destructor Documentation

◆ HitOnTrack() [1/2]

mkfit::HitOnTrack::HitOnTrack ( )
inline

Definition at line 262 of file Hit.h.

262 : index(-1), layer(-1) {}

◆ HitOnTrack() [2/2]

mkfit::HitOnTrack::HitOnTrack ( int  i,
int  l 
)
inline

Definition at line 263 of file Hit.h.

Member Function Documentation

◆ operator<()

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

Definition at line 265 of file Hit.h.

References index, layer, and EcalTangentSkim_cfg::o.

265  {
266  if (layer != o.layer)
267  return layer < o.layer;
268  return index < o.index;
269  }

Member Data Documentation

◆ index

int mkfit::HitOnTrack::index

◆ layer

int mkfit::HitOnTrack::layer