/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigGTD.h

Go to the documentation of this file.
00001 #ifndef EVENT_TRIG_GTD_H
00002 #define EVENT_TRIG_GTD_H
00003 
00004 #include <vector>
00005 #include <stdint.h>  //uint32_t
00006 
00007 #include "GaudiKernel/ContainedObject.h"
00008 #include "GaudiKernel/ObjectVector.h"
00009 
00010 extern const CLID& CLID_TrigGTD;
00011 
00012 // Global trigger data structure
00013 class TrigGTD : virtual public ContainedObject {
00014 public:
00015   //constructor
00016   TrigGTD(const uint32_t* GTDPtr);
00017   //destructor
00018   virtual ~TrigGTD() {}
00019 
00020   virtual const CLID& clID() const { return TrigGTD::classID(); }
00021   static const CLID& classID() { return CLID_TrigGTD; }
00022 
00023   const uint32_t getId() const { return m_id; }
00024   const uint32_t getDataSize() const { return m_dataSize; }
00025   const uint32_t getTimeWindow() const { return m_timeWindow; }
00026   const uint32_t getDataType() const { return m_dataType; }
00027 
00028   const uint32_t* getDataPtr() const { return m_dataPtr; }
00029 
00030 private:
00031   uint32_t m_id;
00032   uint32_t m_dataSize;
00033   uint32_t m_timeWindow;
00034   uint32_t m_dataType;
00035 
00036   const uint32_t* m_dataPtr;
00037 };
00038 
00039 typedef ObjectVector<TrigGTD> TrigGTDCol;
00040 
00041 #endif  // EVENT_TRIG_GTD_H

Generated on Tue Nov 29 23:11:43 2016 for BOSS_7.0.2 by  doxygen 1.4.7