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