Classes | Namespaces | Macros | Functions | Variables
RawEvent.h File Reference
#include "DAQDataFormats/RawEventV1.h"
#include "DAQDataFormats/RawEventHeader.h"
#include "DAQDataFormats/RawEventTail.h"
#include "DAQDataFormats/DataFormatFirst.inc"
#include "DAQDataFormats/DataFormatLast.inc"

Go to the source code of this file.

Classes

class  daqdataformats::RawEvent
 

Namespaces

 daqdataformats
 Class to hold the data from the FEBs in correct formats.
 

Macros

#define CURRENT_CLASS   RawEvent
 
#define LAST_CLASS_VERSION   1
 
#define CURRENT_FIELDS_SUB_NAMESPACE   rawevent
 

Functions

version_t daqdataformats::getTailVersion (const version_t event_version)
 Function to get the tail version from Event version. More...
 
uint32_t daqdataformats::getTailSize (const version_t event_version)
 Function to get the tail size from Event version. More...
 

Variables

static const uint32_t daqdataformats::DEFAULT_EVENT_SIZE = 262144
 

Macro Definition Documentation

#define CURRENT_CLASS   RawEvent

It is requred to

  1. include DAQDataFormats/DataFormatFirst.inc
  2. define CURRENT_CLASS
  3. define CURRENT_CLASS_VERSION for version of the class OR define LAST_CLASS_VERSION for the main structure of the class
  4. (optional) define CURRENT_FIELDS_SUB_NAMESPACE
  5. include DAQDataFormats/DataFormatLast.inc before the declaration of the DataFormat version class in the header.

Definition at line 16 of file RawEvent.h.

#define CURRENT_FIELDS_SUB_NAMESPACE   rawevent

Definition at line 18 of file RawEvent.h.

#define LAST_CLASS_VERSION   1

Definition at line 17 of file RawEvent.h.