CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
mkfit::MCHitInfo Struct Reference

#include <Hit.h>

Public Member Functions

int layer () const
 
int mcHitID () const
 
 MCHitInfo ()
 
 MCHitInfo (int track, int layer, int ithlayerhit, int mcHitID)
 
int mcTrackID () const
 

Static Public Member Functions

static void reset ()
 

Public Attributes

int ithLayerHit_
 
int layer_
 
int mcHitID_
 
int mcTrackID_
 

Detailed Description

Definition at line 104 of file Hit.h.

Constructor & Destructor Documentation

◆ MCHitInfo() [1/2]

mkfit::MCHitInfo::MCHitInfo ( )
inline

Definition at line 105 of file Hit.h.

105 {}

◆ MCHitInfo() [2/2]

mkfit::MCHitInfo::MCHitInfo ( int  track,
int  layer,
int  ithlayerhit,
int  mcHitID 
)
inline

Definition at line 106 of file Hit.h.

107  : mcTrackID_(track), layer_(layer), ithLayerHit_(ithlayerhit), mcHitID_(mcHitID) {}
int mcHitID() const
Definition: Hit.h:116
int mcTrackID_
Definition: Hit.h:109
int layer() const
Definition: Hit.h:115
int ithLayerHit_
Definition: Hit.h:111
int mcHitID_
Definition: Hit.h:112
int layer_
Definition: Hit.h:110

Member Function Documentation

◆ layer()

int mkfit::MCHitInfo::layer ( ) const
inline

Definition at line 115 of file Hit.h.

References layer_.

Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().

115 { return layer_; }
int layer_
Definition: Hit.h:110

◆ mcHitID()

int mkfit::MCHitInfo::mcHitID ( ) const
inline

Definition at line 116 of file Hit.h.

References mcHitID_.

116 { return mcHitID_; }
int mcHitID_
Definition: Hit.h:112

◆ mcTrackID()

int mkfit::MCHitInfo::mcTrackID ( ) const
inline

Definition at line 114 of file Hit.h.

References mcTrackID_.

Referenced by mkfit::MkFinder::bkFitFitTracks(), and mkfit::MkFinder::selectHitIndices().

114 { return mcTrackID_; }
int mcTrackID_
Definition: Hit.h:109

◆ reset()

void mkfit::MCHitInfo::reset ( void  )
static

Definition at line 6 of file Hit.cc.

6 {}

Member Data Documentation

◆ ithLayerHit_

int mkfit::MCHitInfo::ithLayerHit_

Definition at line 111 of file Hit.h.

◆ layer_

int mkfit::MCHitInfo::layer_

Definition at line 110 of file Hit.h.

Referenced by layer().

◆ mcHitID_

int mkfit::MCHitInfo::mcHitID_

Definition at line 112 of file Hit.h.

Referenced by mcHitID().

◆ mcTrackID_

int mkfit::MCHitInfo::mcTrackID_

Definition at line 109 of file Hit.h.

Referenced by mcTrackID().