LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Types | Public Member Functions | List of all members
EVENT::SimTrackerHit Class Referenceabstract

A generic simulated tracker hit. More...

#include <pre-generated/EVENT/SimTrackerHit.h>

Inheritance diagram for EVENT::SimTrackerHit:
EVENT::LCObject lcrtrel::LCRTRelations IMPL::SimTrackerHitImpl IOIMPL::SimTrackerHitIOImpl

Public Types

typedef SimTrackerHit lcobject_type
 Useful typedef for template programming with LCIO.
 

Public Member Functions

virtual ~SimTrackerHit ()
 Destructor.
 
virtual int getCellID0 () const =0
 Same name as in CalorimeterHit, even though there are no 'cells' in this case.
 
virtual int getCellID1 () const =0
 Same name as in CalorimeterHit, even though there are no 'cells' in this case Optional, check/set flag(LCIO::THBIT_ID1)==1.
 
virtual int getCellID () const =0
 DEPRECATED: use ()
 
virtual const double * getPosition () const =0
 Returns the hit position in [mm].
 
virtual float getdEdx () const =0
 Returns the dE/dx of the hit in [GeV]. More...
 
virtual float getEDep () const =0
 The energy deposited on the hit [GeV].
 
virtual float getTime () const =0
 Returns the time of the hit in [ns]. More...
 
virtual MCParticlegetMCParticle () const =0
 Returns the MC particle that caused the hit. More...
 
virtual const float * getMomentum () const =0
 Returns the 3-momentum of the particle at the hits position in [GeV] - optional, only if bit LCIO::THBIT_MOMENTUM is set.
 
virtual float getPathLength () const =0
 The path length of the particle in the sensitive material that resulted in this hit. More...
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor.
 
virtual int id () const =0
 Returns an object id for internal (debugging) use in LCIO.
 
virtual LCObjectclone () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
- Public Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ext_type ext ()
 Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,...
 
template<class V >
const V::ext_type ext () const
 
template<class V >
V::rel_type rel ()
 Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation.
 

Additional Inherited Members

- Protected Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ptr & ptr () const
 Returns the reference to the pointer to the extension/relation object.
 

Detailed Description

A generic simulated tracker hit.

Author
gaede
Version
Id:
SimTrackerHit.aid,v 1.11 2010-06-17 12:28:59 engels Exp

Member Function Documentation

virtual float EVENT::SimTrackerHit::getdEdx ( ) const
pure virtual

Returns the dE/dx of the hit in [GeV].

Deprecated:
See Also
getEDep()

Implemented in IMPL::SimTrackerHitImpl.

virtual MCParticle* EVENT::SimTrackerHit::getMCParticle ( ) const
pure virtual

Returns the MC particle that caused the hit.

See Also
MCParticle

Implemented in IMPL::SimTrackerHitImpl.

Referenced by SIO::SIOSimTrackHitHandler::write().

virtual float EVENT::SimTrackerHit::getPathLength ( ) const
pure virtual

The path length of the particle in the sensitive material that resulted in this hit.

This is only stored together with momentum, i.e. if LCIO::THBIT_MOMENTUM is set.

Implemented in IMPL::SimTrackerHitImpl.

Referenced by SIO::SIOSimTrackHitHandler::write().

virtual float EVENT::SimTrackerHit::getTime ( ) const
pure virtual

Returns the time of the hit in [ns].

TO DO needs definition.

Implemented in IMPL::SimTrackerHitImpl.

Referenced by SIO::SIOSimTrackHitHandler::write().


The documentation for this class was generated from the following file: