CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CkfDebugger::SimHit Class Reference

Public Member Functions

const GeomDetUnitdet () const
 
unsigned int detUnitId () const
 
float energyLoss () const
 
GlobalPoint globalPosition () const
 
LocalVector localDirection () const
 
LocalPoint localPosition () const
 
float pabs () const
 
int particleType () const
 
Geom::Phi< float > phiAtEntry () const
 
unsigned short processType () const
 
const PSimHitpsimHit () const
 
 SimHit (const PSimHit *phit, const GeomDetUnit *gdu)
 
Geom::Theta< float > thetaAtEntry () const
 
float timeOfFlight () const
 
unsigned int trackId () const
 

Private Attributes

const GeomDetUnittheDet
 
const PSimHitthePHit
 

Detailed Description

Definition at line 71 of file CkfDebugger.h.

Constructor & Destructor Documentation

◆ SimHit()

CkfDebugger::SimHit::SimHit ( const PSimHit phit,
const GeomDetUnit gdu 
)
inline

Definition at line 73 of file CkfDebugger.h.

73 : thePHit(phit), theDet(gdu) {}

Member Function Documentation

◆ det()

const GeomDetUnit* CkfDebugger::SimHit::det ( ) const
inline

Definition at line 76 of file CkfDebugger.h.

76 { return theDet; }

References theDet.

◆ detUnitId()

unsigned int CkfDebugger::SimHit::detUnitId ( ) const
inline

Definition at line 85 of file CkfDebugger.h.

85 { return thePHit->detUnitId(); }

References PSimHit::detUnitId(), and thePHit.

◆ energyLoss()

float CkfDebugger::SimHit::energyLoss ( ) const
inline

Definition at line 83 of file CkfDebugger.h.

83 { return thePHit->energyLoss(); }

References PSimHit::energyLoss(), and thePHit.

◆ globalPosition()

GlobalPoint CkfDebugger::SimHit::globalPosition ( ) const
inline

Definition at line 75 of file CkfDebugger.h.

75 { return theDet->toGlobal(thePHit->localPosition()); }

References PSimHit::localPosition(), theDet, thePHit, and GeomDet::toGlobal().

◆ localDirection()

LocalVector CkfDebugger::SimHit::localDirection ( ) const
inline

Definition at line 78 of file CkfDebugger.h.

78 { return thePHit->localDirection(); }

References PSimHit::localDirection(), and thePHit.

◆ localPosition()

LocalPoint CkfDebugger::SimHit::localPosition ( ) const
inline

Definition at line 74 of file CkfDebugger.h.

74 { return thePHit->localPosition(); }

References PSimHit::localPosition(), and thePHit.

◆ pabs()

float CkfDebugger::SimHit::pabs ( ) const
inline

Definition at line 81 of file CkfDebugger.h.

81 { return thePHit->pabs(); }

References PSimHit::pabs(), and thePHit.

◆ particleType()

int CkfDebugger::SimHit::particleType ( ) const
inline

Definition at line 84 of file CkfDebugger.h.

84 { return thePHit->particleType(); }

References PSimHit::particleType(), and thePHit.

◆ phiAtEntry()

Geom::Phi<float> CkfDebugger::SimHit::phiAtEntry ( ) const
inline

Definition at line 80 of file CkfDebugger.h.

80 { return thePHit->phiAtEntry(); }

References PSimHit::phiAtEntry(), and thePHit.

◆ processType()

unsigned short CkfDebugger::SimHit::processType ( ) const
inline

Definition at line 86 of file CkfDebugger.h.

86 { return thePHit->processType(); }

References PSimHit::processType(), and thePHit.

◆ psimHit()

const PSimHit& CkfDebugger::SimHit::psimHit ( ) const
inline

Definition at line 87 of file CkfDebugger.h.

87 { return *thePHit; }

References thePHit.

◆ thetaAtEntry()

Geom::Theta<float> CkfDebugger::SimHit::thetaAtEntry ( ) const
inline

Definition at line 79 of file CkfDebugger.h.

79 { return thePHit->thetaAtEntry(); }

References thePHit, and PSimHit::thetaAtEntry().

◆ timeOfFlight()

float CkfDebugger::SimHit::timeOfFlight ( ) const
inline

Definition at line 82 of file CkfDebugger.h.

82 { return thePHit->timeOfFlight(); }

References thePHit, and PSimHit::timeOfFlight().

◆ trackId()

unsigned int CkfDebugger::SimHit::trackId ( ) const
inline

Definition at line 77 of file CkfDebugger.h.

77 { return thePHit->trackId(); }

References thePHit, and PSimHit::trackId().

Member Data Documentation

◆ theDet

const GeomDetUnit* CkfDebugger::SimHit::theDet
private

Definition at line 91 of file CkfDebugger.h.

Referenced by det(), and globalPosition().

◆ thePHit

const PSimHit* CkfDebugger::SimHit::thePHit
private
CkfDebugger::SimHit::theDet
const GeomDetUnit * theDet
Definition: CkfDebugger.h:91
PSimHit::timeOfFlight
float timeOfFlight() const
Definition: PSimHit.h:73
PSimHit::detUnitId
unsigned int detUnitId() const
Definition: PSimHit.h:97
PSimHit::pabs
float pabs() const
fast and more accurate access to momentumAtEntry().mag()
Definition: PSimHit.h:67
PSimHit::processType
unsigned short processType() const
Definition: PSimHit.h:120
PSimHit::localPosition
Local3DPoint localPosition() const
Definition: PSimHit.h:52
CkfDebugger::SimHit::thePHit
const PSimHit * thePHit
Definition: CkfDebugger.h:90
GeomDet::toGlobal
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
Definition: GeomDet.h:49
PSimHit::localDirection
LocalVector localDirection() const
Obsolete. Same as momentumAtEntry().unit(), for backward compatibility.
Definition: PSimHit.h:58
PSimHit::phiAtEntry
Geom::Phi< float > phiAtEntry() const
fast and more accurate access to momentumAtEntry().phi()
Definition: PSimHit.h:64
PSimHit::energyLoss
float energyLoss() const
The energy deposit in the PSimHit, in ???.
Definition: PSimHit.h:79
PSimHit::particleType
int particleType() const
Definition: PSimHit.h:89
PSimHit::trackId
unsigned int trackId() const
Definition: PSimHit.h:106
PSimHit::thetaAtEntry
Geom::Theta< float > thetaAtEntry() const
fast and more accurate access to momentumAtEntry().theta()
Definition: PSimHit.h:61