1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
1.2 |
* $Source: /home/cvsmanager/yoda/event/physics/anticounter/AnticounterEvent.h,v $ |
3 |
kusanagi |
5.0 |
* $Id: AnticounterEvent.h,v 4.5 2005/08/29 08:27:37 kusanagi Exp $ |
4 |
kusanagi |
1.1 |
* $Author: kusanagi $ |
5 |
|
|
* |
6 |
|
|
* Header file for the raw anticoincidence events |
7 |
|
|
*/ |
8 |
|
|
#ifndef ANTICOUNTER_EVENT_H |
9 |
|
|
#define ANTICOUNTER_EVENT_H |
10 |
|
|
|
11 |
kusanagi |
4.5 |
#include "../../SubPacket.h" |
12 |
kusanagi |
1.1 |
namespace pamela { |
13 |
|
|
/** |
14 |
|
|
* Namespace for all code related to the anticoincidence unit. |
15 |
|
|
*/ |
16 |
|
|
namespace anticounter { |
17 |
|
|
/** |
18 |
kusanagi |
1.2 |
* Techmodel anticounter subpacket |
19 |
kusanagi |
1.1 |
*/ |
20 |
|
|
class AnticounterEvent: public pamela::SubPacket { |
21 |
|
|
private: |
22 |
|
|
|
23 |
|
|
public: |
24 |
|
|
|
25 |
kusanagi |
2.4 |
UINT16 header[2][2]; |
26 |
|
|
UINT16 status[2]; |
27 |
|
|
UINT16 hitmap[2]; |
28 |
|
|
UINT16 regist[2][6]; |
29 |
|
|
UINT16 shift[2][16]; |
30 |
|
|
UINT16 counters[2][16]; |
31 |
|
|
UINT16 coinc[2][8]; |
32 |
|
|
UINT16 trigg[2]; |
33 |
|
|
UINT16 clock[2][2]; |
34 |
|
|
UINT16 temp[2][2]; |
35 |
|
|
UINT16 DAC[2][8]; |
36 |
|
|
UINT16 CRC[2]; |
37 |
kusanagi |
2.6 |
UINT16 CRCcheck[2]; |
38 |
kusanagi |
2.4 |
UINT8 unpackError; |
39 |
kusanagi |
2.6 |
|
40 |
kusanagi |
1.1 |
|
41 |
|
|
AnticounterEvent(void); |
42 |
|
|
~AnticounterEvent(void); |
43 |
|
|
|
44 |
kusanagi |
2.5 |
ClassDef(AnticounterEvent, 2) |
45 |
kusanagi |
1.1 |
}; |
46 |
|
|
} |
47 |
|
|
} |
48 |
|
|
#endif /* ANTICOUNTER_EVENT_H */ |