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

SimTrackerHit.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // AID-GENERATED
00003 // =========================================================================
00004 // This class was generated by AID - Abstract Interface Definition          
00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 
00006 // =========================================================================
00007 #ifndef EVENT_SIMTRACKERHIT_H
00008 #define EVENT_SIMTRACKERHIT_H 1
00009 
00010 #include "EVENT/LCObject.h"
00011 #include "empty_ignore.h"
00012 
00013 namespace EVENT {
00014 
00015 class MCParticle;
00016 
00017 /** A generic simulated tracker hit. 
00018  * 
00019  * @author gaede
00020  * @version $Id: SimTrackerHit.aid,v 1.9 2006/03/24 13:25:52 gaede Exp $
00021  */
00022 
00023 class SimTrackerHit : public LCObject {
00024 
00025 public: 
00026     /// Destructor.
00027     virtual ~SimTrackerHit() { /* nop */; }
00028 
00029 
00030     /** Useful typedef for template programming with LCIO */
00031     typedef SimTrackerHit lcobject_type ;
00032 
00033     /**Returns the detector specific (geometrical) cell id.
00034      */
00035     virtual int getCellID() const = 0;
00036 
00037     /** Returns the hit  position in [mm].      
00038      */
00039     virtual const double* getPosition() const = 0;
00040 
00041     /** Returns  the dE/dx of the hit in [GeV].
00042      */         
00043     virtual float getdEdx() const = 0;
00044 
00045     /** Returns the  time of the hit in [ns]. TO DO needs definition.
00046      */
00047     virtual float getTime() const = 0;
00048 
00049     /** Returns the MC particle that caused the hit.
00050      *
00051      * @see MCParticle
00052      */
00053     virtual MCParticle * getMCParticle() const = 0;
00054 
00055     /** Returns the 3-momentum of the particle at the hits position in [GeV] - 
00056      * optional, only if bit LCIO::THBIT_MOMENTUM is set.       
00057      */ 
00058     virtual const float* getMomentum() const = 0;
00059 
00060     /** The path length of the particle in the sensitive material that resulted in this hit.
00061      *  This is only stored together with momentum, i.e. if  LCIO::THBIT_MOMENTUM is set.
00062      */
00063     virtual float getPathLength() const = 0;
00064 }; // class
00065 } // namespace EVENT
00066 #endif /* ifndef EVENT_SIMTRACKERHIT_H */

Generated on Sun Jun 3 06:32:12 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1