CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
Header Struct Reference

#include <MsgHeader.h>

Public Types

enum  Codes {
  INVALID = 0, INIT = 1, EVENT = 2, DONE = 3,
  HEADER_REQUEST = 5, EVENT_REQUEST = 6, CONS_REG_REQUEST = 7, CONS_REG_RESPONSE = 8,
  DQM_INIT = 9, DQM_EVENT = 10, DQMEVENT_REQUEST = 11, INIT_SET = 12,
  NEW_INIT_AVAILABLE = 13, ERROR_EVENT = 14, FILE_CLOSE_REQUEST = 15, SPARE1 = 16,
  SPARE2 = 17, PADDING = 255
}
 

Public Member Functions

 Header (uint32 code, uint32 size)
 

Public Attributes

uint8 code_
 
char_uint32 size_
 

Detailed Description

Definition at line 6 of file MsgHeader.h.

Member Enumeration Documentation

◆ Codes

Enumerator
INVALID 
INIT 
EVENT 
DONE 
HEADER_REQUEST 
EVENT_REQUEST 
CONS_REG_REQUEST 
CONS_REG_RESPONSE 
DQM_INIT 
DQM_EVENT 
DQMEVENT_REQUEST 
INIT_SET 
NEW_INIT_AVAILABLE 
ERROR_EVENT 
FILE_CLOSE_REQUEST 
SPARE1 
SPARE2 
PADDING 

Definition at line 13 of file MsgHeader.h.

13  {
14  INVALID = 0,
15  INIT = 1,
16  EVENT = 2,
17  DONE = 3, // EOFRECORD = 4 is no longer used
18  HEADER_REQUEST = 5,
19  EVENT_REQUEST = 6,
20  CONS_REG_REQUEST = 7,
22  DQM_INIT = 9,
23  DQM_EVENT = 10,
24  DQMEVENT_REQUEST = 11,
25  INIT_SET = 12,
26  NEW_INIT_AVAILABLE = 13,
27  ERROR_EVENT = 14,
28  FILE_CLOSE_REQUEST = 15,
29  SPARE1 = 16,
30  SPARE2 = 17,
31  PADDING = 255 //reserved for padding
32  };

Constructor & Destructor Documentation

◆ Header()

Header::Header ( uint32  code,
uint32  size 
)
inline

Definition at line 7 of file MsgHeader.h.

References fileCollector::convert(), findQualityFiles::size, and size_.

7 : code_(code) { convert(size, size_); }
size
Write out results.
def convert(infile, ofile)
uint8 code_
Definition: MsgHeader.h:9
char_uint32 size_
Definition: MsgHeader.h:10

Member Data Documentation

◆ code_

uint8 Header::code_

Definition at line 9 of file MsgHeader.h.

◆ size_

char_uint32 Header::size_

Definition at line 10 of file MsgHeader.h.

Referenced by Header().