////////////////////////////////////////////////////////////////////////////// // File: L1_Tcc_Monit_Data_CalTrig.hpp // Created: 07-OCT-2001 Philippe Laurens (split away from Tcc_Monit_Data.hpp) // // This block type is not in its final form and its definition will be changed // If you wish to access L1 Cal Trig Monitoring, first please contact Philippe // to get the latest definition // ////////////////////////////////////////////////////////////////////////////// #ifndef __L1_Tcc_Monit_Data_CalTrig__ #define __L1_Tcc_Monit_Data_CalTrig__ ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // Variable Size Definitions ////////////////////////////////////////////////////////////////////////////// #include "trigmon/L1_Tcc_Monit_Data_BasicTypes.hpp" ////////////////////////////////////////////////////////////////////////////// // What a client needs to send to request monitoring data ////////////////////////////////////////////////////////////////////////////// #include "trigmon/L1_Tcc_Monit_Data_Request.hpp" ////////////////////////////////////////////////////////////////////////////// // All Data Blocks returned by TCC start with a Simple Header ////////////////////////////////////////////////////////////////////////////// #include "trigmon/L1_Tcc_Monit_Data_Header.hpp" ////////////////////////////////////////////////////////////////////////////// // Beam Crossing Number Monitoring (Sub-)Structure ////////////////////////////////////////////////////////////////////////////// #include "trigmon/L1_Tcc_Monit_Data_BeamX.hpp" /////////////////////////////////////////////////////////////////////////////////// // Global Framework Monitoring (Sub-)Structure ////////////////////////////////////////////////////////////////////////////// #include "trigmon/L1_Tcc_Monit_Data_FwGlobal.hpp" ////////////////////////////////////////////////////////////////////////////// // array dimension parameters (used in definition of some of the structures Below) #define kTcc_L1ct_Tot_TT_Eta_Sign 2 // Total Number of Polarity // for Trigger Tower Eta Index //(i.e. Pos & Neg) #define kTcc_L1ct_Tot_TT_Eta_Magn 20 // Total Number of Magnitude // for Trigger Tower Eta Index //(i.e. 1..20) #define kTcc_L1ct_Tot_TT_Phi 32 // Total Number Trigger Tower Phi Index //(i.e. 1..32) #define kTcc_L1ct_Tot_TT_ADC_TimeSlice 8 // Total Number of Time Slices // constant to use with Trigger Tower Eta Sign parameter #define kTcc_L1ct_Tot_TT_Eta_Pos 0 // Trigger Tower Positive Eta Index #define kTcc_L1ct_Tot_TT_Eta_Neg 1 // Trigger Tower Negative Eta Index /////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////// // This is the Data Block Content Definition for Type "L1 Cal Trig Trigger Tower ADC" /////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////// // This structure describes the content of the Opaque ITC message received from TCC // A block of this type (eTcc_Block_Type_Cal_TT_ADC) can be requested on the // Monitoring Server Port #52162. struct L1_Tcc_Block_Cal_TT_ADC { L1_Tcc_Block_Header xHeader ; L1_Tcc_Fw_BeamX_Data xBeamX ; L1_Tcc_Fw_Glob_Info_Brief xGlobal ; // Min/Max Trigger Tower Indices that are currently instrumented // Note: this may change from one sample to the next. unsigned long ulTTEtaSignMin ; // Min Eta Sign (0=Pos, 1=Neg) unsigned long ulTTEtaSignMax ; // Max Eta Sign (0=Pos, 1=Neg) unsigned long ulTTEtaMagnMin ; // Min Eta Magn (1..20) unsigned long ulTTEtaMagnMax ; // Max Eta Magn (1..20) unsigned long ulTTPhiMin ; // Min Phi (1..32) unsigned long ulTTPhiMax ; // Max Phi (1..32) unsigned char a4ubADC_EM [kTcc_L1ct_Tot_TT_Eta_Sign] [kTcc_L1ct_Tot_TT_Eta_Magn] [kTcc_L1ct_Tot_TT_Phi] [kTcc_L1ct_Tot_TT_ADC_TimeSlice] ; unsigned char a4ubADC_HD [kTcc_L1ct_Tot_TT_Eta_Sign] [kTcc_L1ct_Tot_TT_Eta_Magn] [kTcc_L1ct_Tot_TT_Phi] [kTcc_L1ct_Tot_TT_ADC_TimeSlice] ; // Note: The Trigger Tower most recent ADC count for Eta Index +E and Phi Index P // is at array element [kTcc_L1ct_Tot_TT_Eta_Pos][E-1][P-1][0] // and respectively [kTcc_L1ct_Tot_TT_Eta_Neg][E-1][P-1][0] // for Eta Index -E and Phi Index P } ; ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// #endif // __L1_Tcc_Monit_Data_CalTrig__