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 78 of file CkfDebugger.h.

Constructor & Destructor Documentation

◆ SimHit()

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

Definition at line 80 of file CkfDebugger.h.

80 : thePHit(phit), theDet(gdu) {}
const PSimHit * thePHit
Definition: CkfDebugger.h:97
const GeomDetUnit * theDet
Definition: CkfDebugger.h:98

Member Function Documentation

◆ det()

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

Definition at line 83 of file CkfDebugger.h.

References theDet.

83 { return theDet; }
const GeomDetUnit * theDet
Definition: CkfDebugger.h:98

◆ detUnitId()

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

Definition at line 92 of file CkfDebugger.h.

References PSimHit::detUnitId(), and thePHit.

92 { return thePHit->detUnitId(); }
unsigned int detUnitId() const
Definition: PSimHit.h:97
const PSimHit * thePHit
Definition: CkfDebugger.h:97

◆ energyLoss()

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

Definition at line 90 of file CkfDebugger.h.

References PSimHit::energyLoss(), and thePHit.

90 { return thePHit->energyLoss(); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
float energyLoss() const
The energy deposit in the PSimHit, in ???.
Definition: PSimHit.h:79

◆ globalPosition()

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

Definition at line 82 of file CkfDebugger.h.

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

82 { return theDet->toGlobal(thePHit->localPosition()); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
const GeomDetUnit * theDet
Definition: CkfDebugger.h:98
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
Definition: GeomDet.h:49
Local3DPoint localPosition() const
Definition: PSimHit.h:52

◆ localDirection()

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

Definition at line 85 of file CkfDebugger.h.

References PSimHit::localDirection(), and thePHit.

85 { return thePHit->localDirection(); }
LocalVector localDirection() const
Obsolete. Same as momentumAtEntry().unit(), for backward compatibility.
Definition: PSimHit.h:58
const PSimHit * thePHit
Definition: CkfDebugger.h:97

◆ localPosition()

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

Definition at line 81 of file CkfDebugger.h.

References PSimHit::localPosition(), and thePHit.

81 { return thePHit->localPosition(); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
Local3DPoint localPosition() const
Definition: PSimHit.h:52

◆ pabs()

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

Definition at line 88 of file CkfDebugger.h.

References PSimHit::pabs(), and thePHit.

88 { return thePHit->pabs(); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
float pabs() const
fast and more accurate access to momentumAtEntry().mag()
Definition: PSimHit.h:67

◆ particleType()

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

Definition at line 91 of file CkfDebugger.h.

References PSimHit::particleType(), and thePHit.

91 { return thePHit->particleType(); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
int particleType() const
Definition: PSimHit.h:89

◆ phiAtEntry()

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

Definition at line 87 of file CkfDebugger.h.

References PSimHit::phiAtEntry(), and thePHit.

87 { return thePHit->phiAtEntry(); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
Geom::Phi< float > phiAtEntry() const
fast and more accurate access to momentumAtEntry().phi()
Definition: PSimHit.h:64

◆ processType()

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

Definition at line 93 of file CkfDebugger.h.

References PSimHit::processType(), and thePHit.

93 { return thePHit->processType(); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
unsigned short processType() const
Definition: PSimHit.h:120

◆ psimHit()

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

Definition at line 94 of file CkfDebugger.h.

References thePHit.

94 { return *thePHit; }
const PSimHit * thePHit
Definition: CkfDebugger.h:97

◆ thetaAtEntry()

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

Definition at line 86 of file CkfDebugger.h.

References thePHit, and PSimHit::thetaAtEntry().

86 { return thePHit->thetaAtEntry(); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
Geom::Theta< float > thetaAtEntry() const
fast and more accurate access to momentumAtEntry().theta()
Definition: PSimHit.h:61

◆ timeOfFlight()

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

Definition at line 89 of file CkfDebugger.h.

References thePHit, and PSimHit::timeOfFlight().

89 { return thePHit->timeOfFlight(); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
float timeOfFlight() const
Definition: PSimHit.h:73

◆ trackId()

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

Definition at line 84 of file CkfDebugger.h.

References thePHit, and PSimHit::trackId().

84 { return thePHit->trackId(); }
const PSimHit * thePHit
Definition: CkfDebugger.h:97
unsigned int trackId() const
Definition: PSimHit.h:106

Member Data Documentation

◆ theDet

const GeomDetUnit* CkfDebugger::SimHit::theDet
private

Definition at line 98 of file CkfDebugger.h.

Referenced by det(), and globalPosition().

◆ thePHit

const PSimHit* CkfDebugger::SimHit::thePHit
private