--- yoda/event/physics/anticounter/AnticounterEvent.h 2004/07/08 12:33:57 1.1 +++ yoda/event/physics/anticounter/AnticounterEvent.h 2005/03/05 15:25:04 2.5.2.1 @@ -1,6 +1,6 @@ /** @file - * $Source: /home/cvsmanager/yoda/event/physics/anticoinc/AnticounterEvent.h,v $ - * $Id: AnticounterEvent.h,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ + * $Source: /home/cvsmanager/yoda/event/physics/anticounter/AnticounterEvent.h,v $ + * $Id: AnticounterEvent.h,v 2.5 2005/01/17 08:58:52 kusanagi Exp $ * $Author: kusanagi $ * * Header file for the raw anticoincidence events @@ -8,42 +8,39 @@ #ifndef ANTICOUNTER_EVENT_H #define ANTICOUNTER_EVENT_H -#include - -#include - #include "event/SubPacket.h" - namespace pamela { /** * Namespace for all code related to the anticoincidence unit. */ namespace anticounter { /** - * Raw anticounter subpacket + * Techmodel anticounter subpacket */ class AnticounterEvent: public pamela::SubPacket { private: public: - unsigned short header[2]; - unsigned short status; - unsigned short hitmap; - unsigned short regist[6]; - unsigned short shift[16]; - unsigned short counters[16]; - unsigned short coinc[8]; - unsigned short trigg; - unsigned short clock[2]; - unsigned short temp[2]; - unsigned short DAC[16]; - unsigned short CRC; + UINT16 header[2][2]; + UINT16 status[2]; + UINT16 hitmap[2]; + UINT16 regist[2][6]; + UINT16 shift[2][16]; + UINT16 counters[2][16]; + UINT16 coinc[2][8]; + UINT16 trigg[2]; + UINT16 clock[2][2]; + UINT16 temp[2][2]; + UINT16 DAC[2][8]; + UINT16 CRC[2]; + UINT16 CRCcheck[2]; + UINT8 unpackError; AnticounterEvent(void); ~AnticounterEvent(void); - ClassDef(AnticounterEvent, 1) + ClassDef(AnticounterEvent, 2) }; } }