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_TRACKERHIT_H 00008 #define EVENT_TRACKERHIT_H 1 00009 00010 #include "EVENT/LCObject.h" 00011 #include "LCIOSTLTypes.h" 00012 #include "empty_ignore.h" 00013 00014 namespace EVENT { 00015 00016 00017 class TrackerHit ; 00018 /**Vector of (pointers to) TrackerHits.*/ 00019 typedef std::vector<TrackerHit*> TrackerHitVec ; 00020 /** A generic tracker hit to be used by pattern recognition. 00021 * 00022 * @author gaede 00023 * @version $Id: TrackerHit.aid,v 1.11 2006/10/11 13:27:29 gaede Exp $ 00024 */ 00025 00026 class TrackerHit : public LCObject { 00027 00028 public: 00029 /// Destructor. 00030 virtual ~TrackerHit() { /* nop */; } 00031 00032 00033 /** Useful typedef for template programming with LCIO */ 00034 typedef TrackerHit lcobject_type ; 00035 00036 /** The hit position in [mm]. 00037 */ 00038 virtual const double* getPosition() const = 0; 00039 00040 /** Covariance of the position (x,y,z), stored as lower triangle matrix. i.e. 00041 * cov(x,x) , cov(y,x) , cov(y,y) , cov(z,x) , cov(z,y) , cov(z,z). 00042 */ 00043 virtual const FloatVec & getCovMatrix() const = 0; 00044 00045 /** The dE/dx of the hit in [GeV]. 00046 */ 00047 virtual float getdEdx() const = 0; 00048 00049 /** The time of the hit in [ns]. 00050 */ 00051 virtual float getTime() const = 0; 00052 00053 // /**Type of raw data hit, either one of<br> 00054 // * LCIO::TPCHIT<br> 00055 // * LCIO::SIMTRACKERHIT<br> 00056 // */ 00057 // public const String& getType() const ; 00058 /** Type of hit. Mapping of integer types to type names 00059 * through collection parameters "TrackerHitTypeNames" 00060 * and "TrackerHitTypeValues". 00061 */ 00062 virtual int getType() const = 0; 00063 00064 /** The raw data hits. 00065 * Check getType() to get actual data type. 00066 */ 00067 virtual const LCObjectVec & getRawHits() const = 0; 00068 00069 // public void setPosition( double3V pos) ; 00070 // public void setCovMatrix( const FloatVec& cov) ; 00071 // public void setdEdx( float dEdx ) ; 00072 // public void setTime( float time ) ; 00073 // public void setTPCHit( TPCHit* hit ) ; 00074 }; // class 00075 } // namespace EVENT 00076 #endif /* ifndef EVENT_TRACKERHIT_H */
1.3.9.1