--- yoda/event/physics/anticounter/AnticounterEvent.h 2004/09/21 20:50:24 2.0 +++ yoda/event/physics/anticounter/AnticounterEvent.h 2006/02/04 12:37:44 5.1 @@ -1,19 +1,14 @@ /** @file * $Source: /home/cvsmanager/yoda/event/physics/anticounter/AnticounterEvent.h,v $ - * $Id: AnticounterEvent.h,v 1.2 2004/08/19 15:24:24 kusanagi Exp $ - * $Author: kusanagi $ + * $Id: AnticounterEvent.h,v 5.0 2005/08/29 09:46:12 Maurizio Nagni Exp $ + * $Author: Maurizio Nagni $ * * Header file for the raw anticoincidence events */ #ifndef ANTICOUNTER_EVENT_H #define ANTICOUNTER_EVENT_H -#include - -#include - -#include "event/SubPacket.h" - +#include "../../SubPacket.h" namespace pamela { /** * Namespace for all code related to the anticoincidence unit. @@ -27,23 +22,26 @@ 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) }; } }