--- yoda/event/physics/anticounter/AnticounterEvent.h 2004/07/08 12:33:57 1.1 +++ yoda/event/physics/anticounter/AnticounterEvent.h 2005/05/28 10:44:10 4.4 @@ -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 4.0 2005/03/06 04:33:01 kusanagi Exp $ * $Author: kusanagi $ * * Header file for the raw anticoincidence events @@ -8,42 +8,40 @@ #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) }; } }