XbT2.h
Go to the documentation of this file.
1 #ifndef XBT2_H
2 #define XBT2_H
3 #include "Xb.h"
4 
5 #define NT2MAX 45000 /* >> 32000 */
6 
8 struct t2 {
9  int time; /* is unsigned at the end, but I need it signed */
10  unsigned short ID;
11  unsigned short energy;
12 };
13 
15 struct t2list {
16  unsigned int nelem;
17  const char* algo;
18  struct t2 *point;
19 };
20 
22 struct t3stat {
23  short offset; /* is really short and not unsigned */
24  unsigned short ID;
25  unsigned short window;
26 };
27 
29 struct t3 {
30  std::vector<t3stat> point;
31  unsigned int refSecond;
32  int refuSecond; /* is unsigned at the end, but I need it signed */
33  const char* algo;
34 };
35 
36 #endif
int refuSecond
Definition: XbT2.h:32
unsigned short ID
Definition: XbT2.h:24
information for one station in a t3: id, offset, window
Definition: XbT2.h:22
std::vector< t3stat > point
Definition: XbT2.h:30
struct t2 * point
Definition: XbT2.h:18
int time
Definition: XbT2.h:9
unsigned int refSecond
Definition: XbT2.h:31
a t3: algo, second, usecond and a vector of &lt;t3stat&gt;
Definition: XbT2.h:29
unsigned short ID
Definition: XbT2.h:10
unsigned short energy
Definition: XbT2.h:11
a second level trigger
Definition: XbT2.h:8
short offset
Definition: XbT2.h:23
unsigned int nelem
Definition: XbT2.h:16
const char * algo
Definition: XbT2.h:33
unsigned short window
Definition: XbT2.h:25
a list of t2
Definition: XbT2.h:15
const char * algo
Definition: XbT2.h:17

, generated on Tue Sep 26 2023.