Namespaces | Macros
RawNanoSlice.cpp File Reference
#include "DAQDataFormats/RawNanoSlice.h"
#include "DAQDataFormats/DataFormatException.h"
#include "DAQDataFormats/DataFormatFirst.inc"
#include "DAQDataFormats/DataFormatLast.inc"
#include "DAQDataFormats/setFunctionPointers_template.inc"

Go to the source code of this file.

Namespaces

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

Macros

#define CURRENT_CLASS   RawNanoSlice
 
#define LAST_CLASS_VERSION   4
 
#define CURRENT_FIELDS_SUB_NAMESPACE   rawnano
 
#define STANDARD_ROUTINES
 All binding routines. More...
 

Macro Definition Documentation

#define CURRENT_CLASS   RawNanoSlice

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 13 of file RawNanoSlice.cpp.

#define CURRENT_FIELDS_SUB_NAMESPACE   rawnano

Definition at line 15 of file RawNanoSlice.cpp.

#define LAST_CLASS_VERSION   4

Definition at line 14 of file RawNanoSlice.cpp.

#define STANDARD_ROUTINES
Value:
BIND_GET_AND_SET(PulseHeight , version0, uint32_t);\
BIND_GET_AND_SET(TimeStamp , version0, uint32_t);\
BIND_GET_AND_SET(Reserved , version0, uint32_t);\
BIND_GET_AND_SET(Value1 , version1, uint32_t);\
BIND_SET (Parameters , version0, NanoSlice&);\
BIND_CUSTOM_FUNCTION(initWithData , version0, , void, const NanoSlice&); \
BIND_CUSTOM_FUNCTION(checkReservedForCafe, version0, const, bool, ); \
BIND_CUSTOM_FUNCTION(getValue , version2, const, uint32_t, const uint32_t); \
BIND_CUSTOM_FUNCTION(setValue , version2, , bool , const uint32_t, const uint32_t); \
BIND_STADARD_FUNCTION(sizeofdata); \
BIND_STADARD_FUNCTIONS;
#define BIND_GET_AND_SET(FUNC, FIRSTVERSION_NAMESPACE, OUTPUT)
Definition: Macros.h:264

All binding routines.

Definition at line 72 of file RawNanoSlice.cpp.