--- yoda/event/Calib2_Ac2Event.h 2004/12/20 14:15:08 2.2 +++ yoda/event/Calib2_Ac2Event.h 2005/05/07 08:48:25 4.1 @@ -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][2]; - unsigned short status[2][5]; - unsigned short temp[2][8]; - unsigned short DAC1[2][8]; - unsigned short DAC2[2][8]; - unsigned short regist[2][6]; - unsigned short time[2][8]; - unsigned short n_tr[2]; - unsigned short hitmap_tr[2][16]; - unsigned short curve1[2][4096]; - unsigned short curve2[2][4096]; - unsigned short iCRC[2]; - unsigned short tail[2]; - unsigned short CRC[2]; - 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);