1 #ifndef __L2gammaResult2006_h__
2 #define __L2gammaResult2006_h__
4 #define LEVEL2_GAMMA_RESULT_NBYTES 8
5 #define LEVEL2_GAMMA_RESULT_VERSION 2
13 unsigned char result_version;
15 unsigned char threshold;
16 unsigned char elapsed;
18 unsigned char trigger;
21 unsigned char pttowerx2;
22 unsigned char ptclusterx2;
29 inline void print_L2gammaResult(
const L2gammaResult &result )
31 printf(
"----------------------------------------------------------------\n");
32 printf(
"L2gammaResult version %d\n",
33 result.result_version);
34 printf(
"bemc trig=%d / eemc trig=%d\n\n",
37 printf(
"ht1 tested=%d / ht2 tested=%d\n",
39 result.threshold&0x4);
40 printf(
"cl1 tested=%d / cl2 tested=%d\n",
42 result.threshold&0x8);
43 printf(
"ht met=%d cl met=%d trig met=%d\n",
47 printf(
"phibin=%d etabin=%d\n",
50 printf(
"cpu time [kTicks]=%d\n",