StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
sum_eemc_http.hh
1 #ifndef SUM_EEMC_HTTP
2 #define SUM_EEMC_HTTP
3 
4 #include "DSM.hh"
5 
6 inline void getEemcHTTP(const DSM& dsm, int& httpa, int& httpb, int& httpc)
7 {
8  httpa = ((dsm.channels[0] >> 15) & 0x1) | ((dsm.channels[1] >> 15) & 0x1); // HTTP - 4 o'\clock
9  httpb = ((dsm.channels[2] >> 15) & 0x1) | ((dsm.channels[3] >> 15) & 0x1); // HTTP - 6 o'clock
10  httpc = ((dsm.channels[4] >> 15) & 0x1) | ((dsm.channels[5] >> 15) & 0x1); // HTTP - 8 o'\clock
11 }
12 
13 #endif
Definition: DSM.hh:16