1 |
#ifndef RUNTRAILER_EVENT_H |
2 |
#define RUNTRAILER_EVENT_H |
3 |
|
4 |
#include "SubPacket.h" |
5 |
|
6 |
namespace pamela { |
7 |
/** |
8 |
* RunTrailerEvent data Wrapper. |
9 |
* The RunTrailerEvent represent a RunHeader packet generated by the PAMELA CPU software. |
10 |
* A RunTrailer packet marks the end of a Run, that is an acquisition loop. <BR> |
11 |
* It is written in the MM just after the break of the run process. |
12 |
* Run process can be stoppede due to different reasons, including dowload, alarms, |
13 |
* ordinal time out, RunTrailer is written after ``End of run'' acquistion packet. |
14 |
*/ |
15 |
class RunTrailerEvent: public pamela::SubPacket { |
16 |
private: |
17 |
|
18 |
public: |
19 |
RunTrailerEvent(void); |
20 |
|
21 |
/** |
22 |
* The total packet counter value (only physics packets) since software bootstrap. |
23 |
*/ |
24 |
UINT32 PKT_COUNTER; |
25 |
|
26 |
/** |
27 |
* The total packet counter value, for the ended run; the end of run packet excluded. |
28 |
*/ |
29 |
UINT32 PKT_ReadyCounter; |
30 |
|
31 |
/** |
32 |
* The last On-Board-Time on which has been received the LAST_TIME_SYNC_INFO. |
33 |
* This parameter is the copy of On-Board-Time received in the last Timesync MCMD. |
34 |
* If zero means TimeSync mcmd nerver come. |
35 |
*/ |
36 |
UINT32 OBT_TYME_SYNC; |
37 |
|
38 |
/** |
39 |
* The last received TimeSync. |
40 |
* This parameter is the copy of TimeSync received in the last Timesync MCMD. |
41 |
* If zero means TimeSync mcmd nerver come. |
42 |
*/ |
43 |
UINT32 LAST_TYME_SYNC_INFO; |
44 |
|
45 |
ClassDef(RunTrailerEvent, 1) |
46 |
}; |
47 |
} |
48 |
|
49 |
#endif /* RUNTRAILER_EVENT_H */ |
50 |
|