////////////////////////////////////////////////////////////////////////////// // File: L1_Tcc_Monit_Data_AoTerm.hpp // Created: 07-OCT-2001 Philippe Laurens (split away from Tcc_Monit_Data.hpp) ////////////////////////////////////////////////////////////////////////////// #ifndef __L1_Tcc_Monit_Data_AoTerm__ #define __L1_Tcc_Monit_Data_AoTerm__ ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // array dimension parameters (used in definition or usage of some of the structures Below) #define kTcc_L1fw_Tot_AoTerm 256 // Total Number of And-Or Input Terms /////////////////////////////////////////////////////////////////////////////////// // And-Or Term Scalers Sub-Structure (used in definition of Monitoring Data Blocks) // This data structure is obsolete in implementation phase 6 // It is replaced by L1_Tcc_Fw_Andor_Term below /////////////////////////////////////////////////////////////////////////////////// #ifdef TCC_SUPPORT_PHASE3_MONIT_DATA struct Tcc_L1fw_Andor_Term { // And-Or Term Allocated: // Non-Zero if at least one SpTrg or Exposure Group is using the AoTerm uint8 ubAllocated ; // padding to preserve 64-bit alignment uint8 ubReserved1 ; uint8 ubReserved2 ; uint8 ubReserved3 ; // And-Or Fired Count uint64 uqAoTermFired ; } ; #endif // TCC_SUPPORT_PHASE3_MONIT_DATA /////////////////////////////////////////////////////////////////////////////////// // And-Or Term Scalers Sub-Structure (used in definition of Monitoring Data Blocks) // This is the expanded definition for Phase 6 /////////////////////////////////////////////////////////////////////////////////// struct L1_Tcc_Fw_Andor_Term { // And-Or Term Allocated: // Non-Zero if at least one SpTrg or Exposure Group is using the AoTerm uint8 ubAllocated ; // Current Fifo Depth used to hold the Andor Term // after it has been received from the L1 Trigger SubSystem // and until the L1 Fw starts processing the Beam Crossing uint8 ubFifoDepth ; // Reserved for alignment uint16 uwReserved ; // Total Number of times the Andor Term Fifo circuit // has detected a synchronization error // cf. receiving_l1_framework_input_terms.txt // in http://www.pa.msu.edu/hep/d0/ftp/l1/framework/andor_terms/ uint32 ulSynchError ; // And-Or Fired Count uint64 uqAoTermFired ; } ; ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// #endif // __L1_Tcc_Monit_Data_AoTerm__