test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
TkStripRecHitIter Struct Reference

#include <TkStripMeasurementDet.h>

Public Types

using detset = edmNew::DetSet< SiStripCluster >
 
using new_const_iterator = detset::const_iterator
 

Public Member Functions

void advance ()
 
SiStripRecHit2D buildHit () const
 
bool empty () const
 
bool operator!= (TkStripRecHitIter const &rh)
 
SiStripRecHit2D operator* () const
 
TkStripRecHitIteroperator++ ()
 
bool operator< (TkStripRecHitIter const &rh)
 
bool operator== (TkStripRecHitIter const &rh)
 
 TkStripRecHitIter ()
 
 TkStripRecHitIter (const TkStripMeasurementDet &imdet, const TrajectoryStateOnSurface &itsos, const MeasurementTrackerEvent &idata)
 
 TkStripRecHitIter (new_const_iterator ci, new_const_iterator ce, const TkStripMeasurementDet &imdet, const TrajectoryStateOnSurface &itsos, const MeasurementTrackerEvent &idata)
 

Public Attributes

new_const_iterator clusterE
 
new_const_iterator clusterI
 
const MeasurementTrackerEventdata =0
 
const TkStripMeasurementDetmdet = 0
 
const TrajectoryStateOnSurfacetsos =0
 

Detailed Description

Definition at line 31 of file TkStripMeasurementDet.h.

Member Typedef Documentation

Definition at line 32 of file TkStripMeasurementDet.h.

Definition at line 33 of file TkStripMeasurementDet.h.

Constructor & Destructor Documentation

TkStripRecHitIter::TkStripRecHitIter ( )
inline

Definition at line 36 of file TkStripMeasurementDet.h.

36 {}
TkStripRecHitIter::TkStripRecHitIter ( const TkStripMeasurementDet imdet,
const TrajectoryStateOnSurface itsos,
const MeasurementTrackerEvent idata 
)
inline

Definition at line 37 of file TkStripMeasurementDet.h.

39  : mdet(&imdet),tsos(&itsos),data(&idata){}
const TrajectoryStateOnSurface * tsos
const MeasurementTrackerEvent * data
const TkStripMeasurementDet * mdet
TkStripRecHitIter::TkStripRecHitIter ( new_const_iterator  ci,
new_const_iterator  ce,
const TkStripMeasurementDet imdet,
const TrajectoryStateOnSurface itsos,
const MeasurementTrackerEvent idata 
)
inline

Definition at line 41 of file TkStripMeasurementDet.h.

45  : mdet(&imdet),tsos(&itsos),data(&idata), clusterI(ci), clusterE(ce) {}
new_const_iterator clusterE
const TrajectoryStateOnSurface * tsos
const MeasurementTrackerEvent * data
const TkStripMeasurementDet * mdet
new_const_iterator clusterI

Member Function Documentation

void TkStripRecHitIter::advance ( )
inline

Definition at line 303 of file TkStripMeasurementDet.h.

References TkStripMeasurementDet::advance(), and mdet.

303  {
304  mdet->advance(*this);
305 }
void advance(TkStripRecHitIter &hi) const
const TkStripMeasurementDet * mdet
SiStripRecHit2D TkStripRecHitIter::buildHit ( ) const
inline

Definition at line 299 of file TkStripMeasurementDet.h.

References TkStripMeasurementDet::hit(), and mdet.

299  {
300  return mdet->hit(*this);
301 }
SiStripRecHit2D hit(TkStripRecHitIter const &hi) const
const TkStripMeasurementDet * mdet
bool TkStripRecHitIter::empty ( void  ) const
inline

Definition at line 60 of file TkStripMeasurementDet.h.

Referenced by TkStripMeasurementDet::advance().

60 { return clusterI==clusterE; }
new_const_iterator clusterE
new_const_iterator clusterI
bool TkStripRecHitIter::operator!= ( TkStripRecHitIter const &  rh)
inline

Definition at line 65 of file TkStripMeasurementDet.h.

References clusterI.

65  {
66  return clusterI!=rh.clusterI;
67  }
new_const_iterator clusterI
SiStripRecHit2D TkStripRecHitIter::operator* ( void  ) const
inline

Definition at line 77 of file TkStripMeasurementDet.h.

77  {
78  return buildHit();
79  }
SiStripRecHit2D buildHit() const
TkStripRecHitIter& TkStripRecHitIter::operator++ ( void  )
inline

Definition at line 72 of file TkStripMeasurementDet.h.

72  {
73  advance();
74  return *this;
75  }
bool TkStripRecHitIter::operator< ( TkStripRecHitIter const &  rh)
inline

Definition at line 68 of file TkStripMeasurementDet.h.

References clusterI.

68  {
69  return clusterI<rh.clusterI;
70  }
new_const_iterator clusterI
bool TkStripRecHitIter::operator== ( TkStripRecHitIter const &  rh)
inline

Definition at line 62 of file TkStripMeasurementDet.h.

References clusterI.

62  {
63  return clusterI==rh.clusterI;
64  }
new_const_iterator clusterI

Member Data Documentation

new_const_iterator TkStripRecHitIter::clusterE

Definition at line 53 of file TkStripMeasurementDet.h.

new_const_iterator TkStripRecHitIter::clusterI
const MeasurementTrackerEvent* TkStripRecHitIter::data =0
const TkStripMeasurementDet* TkStripRecHitIter::mdet = 0

Definition at line 48 of file TkStripMeasurementDet.h.

Referenced by advance(), and buildHit().

const TrajectoryStateOnSurface* TkStripRecHitIter::tsos =0

Definition at line 49 of file TkStripMeasurementDet.h.

Referenced by TkStripMeasurementDet::hit().