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_RAWCALORIMETERHIT_H 00008 #define EVENT_RAWCALORIMETERHIT_H 1 00009 00010 #include "EVENT/LCObject.h" 00011 00012 #include <vector> 00013 00014 namespace EVENT { 00015 00016 00017 class RawCalorimeterHit ; 00018 /**Vector of (pointers to) RawCalorimeterHits.*/ 00019 typedef std::vector<RawCalorimeterHit*> RawCalorimeterHitVec ; 00020 /** The generic calorimeter hit for real data (or simulation thereof). 00021 * In order to reduce the file size you can suppress a (32-bit) pointer 00022 * tag stored with every hit by setting the flag(LCIO::RCHBIT_NO_PTR)==1. <br> 00023 * <b>NB: If you apply this flag to reduce the file size 00024 * you won't be able to point/refer to the RawCalorimeterHits, e.g. from an 00025 * LCRelation object.</b> 00026 * 00027 * @author gaede 00028 * @version $Id: RawCalorimeterHit.aid,v 1.4 2006/08/03 16:53:35 gaede Exp $ 00029 */ 00030 00031 class RawCalorimeterHit : public LCObject { 00032 00033 public: 00034 /// Destructor. 00035 virtual ~RawCalorimeterHit() { /* nop */; } 00036 00037 00038 /** Useful typedef for template programming with LCIO */ 00039 typedef RawCalorimeterHit lcobject_type ; 00040 00041 /** Returns the detector specific (geometrical) cell id. 00042 */ 00043 virtual int getCellID0() const = 0; 00044 00045 /** Returns the second detector specific (geometrical) cell id. Optional, check/set 00046 * flag(LCIO::RCHBIT_ID1)==1. 00047 */ 00048 virtual int getCellID1() const = 0; 00049 00050 /** Returns the amplitude of the hit in ADC counts. 00051 */ 00052 virtual int getAmplitude() const = 0; 00053 00054 /** Returns a time stamp for the hit. Optional, check/set 00055 * flag(LCIO::RCHBIT_TIME)==1. 00056 */ 00057 virtual int getTimeStamp() const = 0; 00058 }; // class 00059 } // namespace EVENT 00060 #endif /* ifndef EVENT_RAWCALORIMETERHIT_H */
1.3.9.1