--- yoda/event/Calib2_Ac2Event.h 2004/12/16 17:32:46 2.1 +++ yoda/event/Calib2_Ac2Event.h 2005/05/28 10:44:08 4.4 @@ -5,27 +5,44 @@ namespace pamela { /** - * Information events about the Calib2_Ac2. + * Calib2_Ac2Event data Wrapper. + * + * The pamela::Calib2_Ac2Event represents the Calib2_Ac2 packet generated by the PAMELA CPU software. + * Other info you consider meaningfull for the packet */ class Calib2_Ac2Event: public pamela::SubPacket { private: public: - unsigned short header[2]; - unsigned short status[5]; - unsigned short temp[8]; - unsigned short DAC1[8]; - unsigned short DAC2[8]; - unsigned short regist[6]; - unsigned short time[8]; - unsigned short n_tr; - unsigned short hitmap_tr[16]; - unsigned short curve1[4096]; - unsigned short curve2[4096]; - unsigned short iCRC; - unsigned short tail; - unsigned short CRC; - unsigned short ERROR; + + /** + * The header of ???. + * Each element represent ......etc..etc.. + */ + UINT16 header[2]; + + /** + * The status of ???. + * Each element represent ......etc..etc.. + */ + UINT16 status[5]; + + // and so on...... + UINT16 temp[8]; + UINT16 DAC1[8]; + UINT16 DAC2[8]; + UINT16 regist[6]; + UINT16 time[8]; + UINT16 n_tr; + UINT16 hitmap_tr[16]; + UINT16 curve1[4096]; + UINT16 curve2[4096]; + UINT16 iCRC; + UINT16 tail; + UINT16 CRC; + UINT16 CRCcheck; + UINT16 ERROR; + Calib2_Ac2Event(void);