--- yoda/event/physics/S4/S4Event.h 2004/12/03 22:04:33 1.2
+++ yoda/event/physics/S4/S4Event.h 2005/05/28 10:44:14 4.4
@@ -1,6 +1,6 @@
/** @file
* $Source: /home/cvsmanager/yoda/event/physics/S4/S4Event.h,v $
- * $Id: S4Event.h,v 1.1 2004/10/17 12:28:29 kusanagi Exp $
+ * $Id: S4Event.h,v 4.1 2005/05/07 08:48:57 kusanagi Exp $
* $Author: kusanagi $
*
* Header file for the raw anticoincidence events
@@ -12,23 +12,55 @@
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:
- UINT16 S4Register;
+ /**
+ * 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)
};
}
}