00001 00002 #ifndef _Q_TRG_INFO_HH_ 00003 #define _Q_TRG_INFO_HH_ 00004 00005 #include "QBuilderDefs.hh" 00006 00012 class QTrgInfo 00013 { 00014 public: 00015 00017 QTrgInfo(); 00018 00020 virtual ~QTrgInfo(); 00021 00022 00024 bool operator<(const QTrgInfo& other) 00025 { return (fTime < other.fTime); } 00026 00027 unsigned long GetFlags() const { return fFlags; } 00028 void SetFlags(unsigned long flags) { fFlags = flags; } 00029 00030 QEventType_t GetType() const { return fType; } 00031 void SetType(QEventType_t type) { fType = type; } 00032 00033 long long GetTime() const { return fTime; } 00034 void SetTime(long long time) { fTime = time; } 00035 00036 unsigned int GetEventNumber() const { return fEvNum; } 00037 void SetEventNumber(unsigned int evNum) { fEvNum = evNum; } 00038 00039 int GetChannel() const { return fCh; } 00040 void SetChannel(int ch) { fCh = ch; } 00041 00042 private: 00043 00048 unsigned int fEvNum; 00049 00050 int fCh; 00052 long long fTime; 00054 QEventType_t fType; 00068 unsigned long fFlags; 00069 }; 00070 00071 #endif