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_TPCHIT_H 00008 #define EVENT_TPCHIT_H 1 00009 00010 #include "EVENT/LCObject.h" 00011 00012 namespace EVENT { 00013 00014 /** Deprecated. Please use TrackerRawData, TrackerData and TrackerPulse instead. 00015 * A future version of LCIO will not support writing of TPCHit collections anymore. 00016 * 00017 * @deprecated 00018 * @author gaede 00019 * @version $Id: TPCHit.aid,v 1.5 2006/03/24 13:25:52 gaede Exp $ 00020 */ 00021 00022 class TPCHit : public LCObject { 00023 00024 public: 00025 /// Destructor. 00026 virtual ~TPCHit() { /* nop */; } 00027 00028 00029 /** Useful typedef for template programming with LCIO */ 00030 typedef TPCHit lcobject_type ; 00031 00032 /** Returns the detector specific cell id. 00033 */ 00034 virtual int getCellID() const = 0; 00035 00036 /** Returns the time of the hit. 00037 */ 00038 virtual float getTime() const = 0; 00039 00040 /** Returns the integrated charge of the hit. 00041 */ 00042 virtual float getCharge() const = 0; 00043 00044 /** Returns a quality flag for the hit. 00045 */ 00046 virtual int getQuality() const = 0; 00047 00048 /** Return the number of raw data (32-bit) words stored for the hit. 00049 * Check the flag word (bit TPCBIT_RAW) of the collection if raw data is 00050 * stored at all. 00051 */ 00052 virtual int getNRawDataWords() const = 0; 00053 00054 /** Return the raw data (32-bit) word at i. 00055 * Check the flag word (bit TPCBIT_RAW) of the collection if raw data is 00056 * stored at all. 00057 */ 00058 virtual int getRawDataWord(int i) const = 0; 00059 }; // class 00060 } // namespace EVENT 00061 #endif /* ifndef EVENT_TPCHIT_H */
1.3.9.1