1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
1.2 |
* $Source: /home/cvsmanager/yoda/event/physics/anticounter/AnticounterEvent.h,v $ |
3 |
kusanagi |
2.1 |
* $Id: AnticounterEvent.h,v 2.0 2004/09/21 20:50:24 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 |
|
|
#include "event/SubPacket.h" |
12 |
|
|
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.1 |
unsigned short header[2][2]; |
26 |
|
|
unsigned short status[2]; |
27 |
|
|
unsigned short hitmap[2]; |
28 |
|
|
unsigned short regist[2][6]; |
29 |
|
|
unsigned short shift[2][16]; |
30 |
|
|
unsigned short counters[2][16]; |
31 |
|
|
unsigned short coinc[2][8]; |
32 |
|
|
unsigned short trigg[2]; |
33 |
|
|
unsigned short clock[2][2]; |
34 |
|
|
unsigned short temp[2][2]; |
35 |
|
|
unsigned short DAC[2][16]; |
36 |
|
|
unsigned short CRC[2]; |
37 |
|
|
unsigned short ERROR; |
38 |
kusanagi |
1.1 |
|
39 |
|
|
AnticounterEvent(void); |
40 |
|
|
~AnticounterEvent(void); |
41 |
|
|
|
42 |
|
|
ClassDef(AnticounterEvent, 1) |
43 |
|
|
}; |
44 |
|
|
} |
45 |
|
|
} |
46 |
|
|
#endif /* ANTICOUNTER_EVENT_H */ |