1 |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/physics/anticounter/AnticounterEvent.h,v $ |
3 |
* $Id: AnticounterEvent.h,v 1.1 2004/07/08 12:33:57 kusanagi Exp $ |
4 |
* $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 <exception> |
12 |
|
13 |
#include <TObject.h> |
14 |
|
15 |
#include "event/SubPacket.h" |
16 |
|
17 |
namespace pamela { |
18 |
/** |
19 |
* Namespace for all code related to the anticoincidence unit. |
20 |
*/ |
21 |
namespace anticounter { |
22 |
/** |
23 |
* Techmodel anticounter subpacket |
24 |
*/ |
25 |
class AnticounterEvent: public pamela::SubPacket { |
26 |
private: |
27 |
|
28 |
public: |
29 |
|
30 |
unsigned short header[2]; |
31 |
unsigned short status; |
32 |
unsigned short hitmap; |
33 |
unsigned short regist[6]; |
34 |
unsigned short shift[16]; |
35 |
unsigned short counters[16]; |
36 |
unsigned short coinc[8]; |
37 |
unsigned short trigg; |
38 |
unsigned short clock[2]; |
39 |
unsigned short temp[2]; |
40 |
unsigned short DAC[16]; |
41 |
unsigned short CRC; |
42 |
|
43 |
AnticounterEvent(void); |
44 |
~AnticounterEvent(void); |
45 |
|
46 |
ClassDef(AnticounterEvent, 1) |
47 |
}; |
48 |
} |
49 |
} |
50 |
#endif /* ANTICOUNTER_EVENT_H */ |