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
}
 

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 

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  };

Constructor & Destructor Documentation

◆ Header()

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

Definition at line 7 of file MsgHeader.h.

7 : code_(code) { convert(size, size_); }

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

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().

Header::DQMEVENT_REQUEST
Definition: MsgHeader.h:24
Header::DQM_EVENT
Definition: MsgHeader.h:23
Header::INVALID
Definition: MsgHeader.h:14
Header::NEW_INIT_AVAILABLE
Definition: MsgHeader.h:26
Header::DONE
Definition: MsgHeader.h:17
Header::ERROR_EVENT
Definition: MsgHeader.h:27
Header::INIT
Definition: MsgHeader.h:15
Header::SPARE1
Definition: MsgHeader.h:29
Header::EVENT
Definition: MsgHeader.h:16
Header::CONS_REG_RESPONSE
Definition: MsgHeader.h:21
fileCollector.convert
def convert(infile, ofile)
Definition: fileCollector.py:47
Header::FILE_CLOSE_REQUEST
Definition: MsgHeader.h:28
Header::CONS_REG_REQUEST
Definition: MsgHeader.h:20
Header::DQM_INIT
Definition: MsgHeader.h:22
Header::EVENT_REQUEST
Definition: MsgHeader.h:19
Header::HEADER_REQUEST
Definition: MsgHeader.h:18
Header::size_
char_uint32 size_
Definition: MsgHeader.h:10
Header::SPARE2
Definition: MsgHeader.h:30
Header::code_
uint8 code_
Definition: MsgHeader.h:9
Header::INIT_SET
Definition: MsgHeader.h:25
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443