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

Go to the documentation of this file.
00001 #ifndef EVENT_TRIG_TOFT_H
00002 #define EVENT_TRIG_TOFT_H
00003 
00004 #include <stdint.h>
00005 #include <string>
00006 #include <vector>
00007 
00008 class TrigTOFT {
00009 public:
00010   TrigTOFT(char* name);
00011   virtual ~TrigTOFT() {}
00012 
00013   void setTOFTTrigData(uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t* data);
00014 
00015   void initialize();
00016 
00017   const std::string& getName() const { return m_name; }
00018 
00019   inline unsigned int getTimeWindow() const { return m_window; }
00020 
00021   int getTofTrigCondi(int index, int win) const { return m_tofTrigCondi[index][win]; }
00022   int getBTofHitMap(int index, int win) const { return m_btofHitMap[index][win]; }
00023 
00024   int getWETofHitMap(int index, int win) const { return m_wetofHitMap[index][win]; }
00025   int getEETofHitMap(int index, int win) const { return m_eetofHitMap[index][win]; }
00026 
00027 private:
00028   std::string m_name;
00029 
00030   unsigned int m_window;
00031 
00032   int m_tofTrigCondi[6][21];
00033   int m_btofHitMap[176][21];
00034 
00035   int m_wetofHitMap[48][21];
00036   int m_eetofHitMap[48][21];
00037 };
00038 
00039 #endif  // EVENT_TRIG_TOFT_H

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