1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
1.2 |
* $Source: /home/cvsmanager/yoda/event/physics/anticounter/AnticounterEvent.h,v $ |
3 |
kusanagi |
2.0 |
* $Id: AnticounterEvent.h,v 1.2 2004/08/19 15:24: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 <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 |
kusanagi |
1.2 |
* Techmodel anticounter subpacket |
24 |
kusanagi |
1.1 |
*/ |
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 */ |