--- yoda/event/physics/S4/S4Event.h 2005/01/13 14:46:05 1.4 +++ yoda/event/physics/S4/S4Event.h 2006/02/04 12:37:44 5.1 @@ -1,39 +1,66 @@ /** @file * $Source: /home/cvsmanager/yoda/event/physics/S4/S4Event.h,v $ - * $Id: S4Event.h,v 1.3 2004/12/09 08:48:25 kusanagi Exp $ - * $Author: kusanagi $ + * $Id: S4Event.h,v 5.0 2005/08/29 09:46:12 Maurizio Nagni Exp $ + * $Author: Maurizio Nagni $ * * Header file for the raw anticoincidence events */ #ifndef S4_EVENT_H #define S4_EVENT_H -#include "event/SubPacket.h" +#include "../../SubPacket.h" namespace pamela { /** - * Namespace for all code related to the anticoincidence unit. + * Namespace for all code related to the S4 unit. */ namespace S4 { /** - * Techmodel S4 subpacket + * S4 subpacket data wrapper. */ class S4Event: public pamela::SubPacket { private: public: + /** + * The register status. + */ UINT8 S4_REG_STATUS; + + /** + * The data. + */ UINT16 S4_DATA; + + /** + * The Command number. + */ UINT8 S4_CMD_NUM; + + /** + * The response length. + */ UINT16 S4_RESP_LENGHT; + + /** + * The overall crc. + */ UINT8 S4_OVERALL_CHKCODE; + + /** + * The data validity flag. + * + * Description:
+ * 1: S4 data NOT found.
+ * 0: S4 data ok.
+ */ UINT8 unpackError; S4Event(void); ~S4Event(void); - ClassDef(S4Event, 1) + ClassDef(S4Event, 2) }; } }