Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

EVENT::SimTrackerHit Class Reference

#include <SimTrackerHit.h>

Inheritance diagram for EVENT::SimTrackerHit:

EVENT::LCObject lcrtrel::LCRTRelations IMPL::SimTrackerHitImpl IOIMPL::SimTrackerHitIOImpl List of all members.

Public Types

typedef SimTrackerHit lcobject_type

Public Member Functions

virtual ~SimTrackerHit ()
 Destructor.
virtual int getCellID () const =0
virtual const double * getPosition () const =0
virtual float getdEdx () const =0
virtual float getTime () const =0
virtual MCParticlegetMCParticle () const =0
virtual const float * getMomentum () const =0
virtual float getPathLength () const =0
virtual int id () const =0
virtual LCObjectclone () const
template<class V>
V::ext_type ext ()
template<class V>
V::rel_type rel ()

Protected Member Functions

template<class V>
V::ptr & ptr ()

Detailed Description

A generic simulated tracker hit.

Author:
gaede
Version:
Id
SimTrackerHit.aid,v 1.9 2006/03/24 13:25:52 gaede Exp

Definition at line 23 of file SimTrackerHit.h.


Member Typedef Documentation

typedef SimTrackerHit EVENT::SimTrackerHit::lcobject_type
 

Useful typedef for template programming with LCIO

Definition at line 31 of file SimTrackerHit.h.


Constructor & Destructor Documentation

virtual EVENT::SimTrackerHit::~SimTrackerHit  )  [inline, virtual]
 

Destructor.

Definition at line 27 of file SimTrackerHit.h.


Member Function Documentation

virtual LCObject* EVENT::LCObject::clone  )  const [inline, virtual, inherited]
 

Deep copy of the object. C++ implementations should return the concrete type (virtual constructor). No reasonable implementation yet. Do not use this method.

Reimplemented in IMPL::SimCalorimeterHitImpl.

Definition at line 52 of file LCObject.h.

template<class V>
V::ext_type lcrtrel::LCRTRelations::ext  )  [inline, inherited]
 

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,...

Definition at line 430 of file LCRTRelations.h.

virtual int EVENT::SimTrackerHit::getCellID  )  const [pure virtual]
 

Returns the detector specific (geometrical) cell id.

Implemented in IMPL::SimTrackerHitImpl.

Referenced by UTIL::CellIDDecoder< T >::operator()(), UTIL::LCTOOLS::printSimTrackerHits(), and SIO::SIOSimTrackHitHandler::write().

virtual float EVENT::SimTrackerHit::getdEdx  )  const [pure virtual]
 

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

Implemented in IMPL::SimTrackerHitImpl.

Referenced by tpc_tracking::SimTrackerHit::get_dEdx(), UTIL::LCTOOLS::printSimTrackerHits(), and SIO::SIOSimTrackHitHandler::write().

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 tpc_tracking::SimTrackerHit::get_mc_particle(), UTIL::LCTOOLS::printSimTrackerHits(), and SIO::SIOSimTrackHitHandler::write().

virtual const float* EVENT::SimTrackerHit::getMomentum  )  const [pure virtual]
 

Returns the 3-momentum of the particle at the hits position in [GeV] - optional, only if bit LCIO::THBIT_MOMENTUM is set.

Implemented in IMPL::SimTrackerHitImpl.

Referenced by tpc_tracking::SimTrackerHit::get_momentum(), UTIL::LCTOOLS::printSimTrackerHits(), and 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 tpc_tracking::SimTrackerHit::get_path_length(), UTIL::LCTOOLS::printSimTrackerHits(), and SIO::SIOSimTrackHitHandler::write().

virtual const double* EVENT::SimTrackerHit::getPosition  )  const [pure virtual]
 

Returns the hit position in [mm].

Implemented in IMPL::SimTrackerHitImpl.

Referenced by tpc_tracking::SimTrackerHit::get_position(), tpc_tracking::SimTrackerHit::gl_draw(), UTIL::LCTOOLS::printSimTrackerHits(), and 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 tpc_tracking::SimTrackerHit::get_time(), UTIL::LCTOOLS::printSimTrackerHits(), and SIO::SIOSimTrackHitHandler::write().

virtual int EVENT::LCObject::id  )  const [pure virtual, inherited]
 

Returns an object id for internal (debugging) use in LCIO.

Implemented in tpc_tracking::CustomLCIOObject, EVENT::LCFloatVec, EVENT::LCGenericObject, EVENT::LCIntVec, EVENT::LCStrVec, IMPL::CalorimeterHitImpl, IMPL::ClusterImpl, IMPL::LCGenericObjectImpl, IMPL::LCRelationImpl, IMPL::LCRunHeaderImpl, IMPL::MCParticleImpl, IMPL::ParticleIDImpl, IMPL::RawCalorimeterHitImpl, IMPL::ReconstructedParticleImpl, IMPL::SimCalorimeterHitImpl, IMPL::SimTrackerHitImpl, IMPL::TPCHitImpl, IMPL::TrackerDataImpl, IMPL::TrackerHitImpl, IMPL::TrackerPulseImpl, IMPL::TrackerRawDataImpl, IMPL::TrackImpl, IMPL::VertexImpl, and tpc_tracking::CustomLCIOObject.

Referenced by UTIL::operator<<(), UTIL::LCTOOLS::printCalorimeterHits(), UTIL::LCTOOLS::printClusters(), UTIL::LCTOOLS::printMCParticles(), UTIL::LCTOOLS::printRawCalorimeterHits(), UTIL::LCTOOLS::printReconstructedParticles(), UTIL::LCTOOLS::printRelation(), UTIL::LCTOOLS::printSimCalorimeterHits(), UTIL::LCTOOLS::printTPCHits(), UTIL::LCTOOLS::printTrackerData(), UTIL::LCTOOLS::printTrackerHits(), UTIL::LCTOOLS::printTrackerPulse(), UTIL::LCTOOLS::printTrackerRawData(), and UTIL::LCTOOLS::printTracks().

template<class V>
V::ptr& lcrtrel::LCRTRelations::ptr  )  [inline, protected, inherited]
 

Returns the reference to the pointer to the extension/relation object

Definition at line 508 of file LCRTRelations.h.

template<class V>
V::rel_type lcrtrel::LCRTRelations::rel  )  [inline, inherited]
 

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.

Definition at line 444 of file LCRTRelations.h.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 06:32:24 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1