/[PAMELA software]/yoda/event/mcmd/McmdRecord.h
ViewVC logotype

Annotation of /yoda/event/mcmd/McmdRecord.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4.4 - (hide annotations) (download)
Sat May 28 10:44:09 2005 UTC (19 years, 6 months ago) by kusanagi
Branch: MAIN
Changes since 4.1: +1 -1 lines
File MIME type: text/plain
Main features of this release are:
- updated classes documentations;
- major changes on the calibration fortran routine for the calorimeter
- update on the TMTC thermistors
- removed old classes as CalibTrkBoth and CalibTrd

1 kusanagi 1.1 /** @file
2 kusanagi 1.2 * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $
3 kusanagi 4.4 * $Id: McmdRecord.h,v 4.1 2005/05/07 08:48:52 kusanagi Exp $
4 kusanagi 1.2 * $Author: kusanagi $
5 kusanagi 1.1 *
6     * Header file for the McmdRecord class.
7     */
8     #ifndef MCMD_RECORD_H
9     #define MCMD_RECORD_H
10    
11 kusanagi 2.1 #include "event/SubPacket.h"
12 kusanagi 1.2 #include <TArrayC.h>
13 kusanagi 1.1
14     namespace pamela {
15     /**
16     * McmdRecord data Wrapper
17 kusanagi 4.1 *
18     *
19     * PAMELA CPU software collect several pamela::McmdRecord(s) writing
20     * them on the MassMemory as a unique packet.
21 kusanagi 1.1 */
22     class McmdRecord: public TObject {
23    
24     public:
25     /**
26 kusanagi 4.1 * The On-Board-Time of the Record.
27 kusanagi 1.1 */
28     UINT32 MCMD_RECORD_OBT;
29 kusanagi 4.1
30     /**
31     * The Mcmd crc result.
32     *
33     * It specifies if the Mcmd was transmitted correctly: <br>
34     * 0 = Mcmd correctly transmitted <br>
35     * 1 = Mcmd not correctly transmitted
36     */
37 kusanagi 1.1 int Mcmd_Block_crc_ok;
38 kusanagi 4.1
39     /**
40     * The Sequential ID of the MCMD.
41     */
42 kusanagi 1.1 UINT16 SeqID;
43 kusanagi 4.1
44     /**
45     * Identify if the Mcmd is a Tagged one or not.
46     */
47 kusanagi 2.2 UINT8 Tbit;
48 kusanagi 4.1
49     /**
50     * The MCMD identifier.
51     */
52 kusanagi 2.2 UINT8 ID1;
53 kusanagi 4.1
54     /**
55     * The Mcmd length.
56     */
57 kusanagi 1.1 UINT16 McmdLength;
58 kusanagi 4.1
59     /**
60     * The On-Board-Time for start the Mcmd if it is TimeTagged.
61     */
62 kusanagi 1.1 UINT32 TimeTag;
63 kusanagi 4.1
64     /**
65     * An array of chars containing the Mcmd data area.
66     */
67 kusanagi 1.2 TArrayC *McmdData;
68 kusanagi 4.1
69     /**
70     * Modulo 256 sum of all bytes except the endID
71     */
72 kusanagi 2.2 UINT8 endID;
73 kusanagi 1.1
74    
75     McmdRecord(void);
76    
77 kusanagi 1.2 /*void setMcmdData(const BYTE val[]) {
78 kusanagi 1.1 if (McmdLength > 0){
79     McmdData = new BYTE[McmdLength];
80     memcpy(McmdData, val, McmdLength);
81     }
82 kusanagi 1.2 };*/
83 kusanagi 1.1
84     ClassDef(McmdRecord, 1)
85     };
86     }
87    
88     #endif /* MCMD_RECORD_H */
89    

  ViewVC Help
Powered by ViewVC 1.1.23