ConfigurationTailConstructor.cpp
Go to the documentation of this file.
1 /*
2  * File: ConfigurationTailConstructor.cpp
3  * Author: denis
4  *
5  * Created on September 20, 2012, 2:18 PM
6  */
8 
9 /// It is requred to
10 /// 1. include DAQDataFormats/DataFormatFirst.inc
11 /// 2. define CURRENT_CLASS
12 /// 3. define CURRENT_CLASS_VERSION for version of the class
13 /// OR define LAST_CLASS_VERSION for the main structure of the class
14 /// 4. (optional) define CURRENT_FIELDS_SUB_NAMESPACE
15 /// 5. include DAQDataFormats/DataFormatLast.inc
16 /// before the declaration of the DataFormat version class in the header.
17 #include "DAQDataFormats/DataFormatFirst.inc"
18 #define CURRENT_CLASS RawConfigurationTail
19 #define LAST_CLASS_VERSION 0
20 #define CURRENT_FIELDS_SUB_NAMESPACE rawconftail
21 #include "DAQDataFormats/DataFormatLast.inc"
22 
23 namespace daqdataformats {
25 
26 //------------------------------------------------------------------------------
29 {
30 }
31 
32 //------------------------------------------------------------------------------
34 
35 //------------------------------------------------------------------------------
38  fillDataFormat(out);
39  return out;
40 }
41 
42 //------------------------------------------------------------------------------
45 }
46 
47 //------------------------------------------------------------------------------
50  setFieldToTestValue_CRC(microblock);
51 
52  return true;
53 }
54 
55 }}// end of namespaces
static const version_t RAWCONFIGURATIONBLOCKTAIL_LATEST_VERSION
daqdataformats::RawDAQData * getEmptyDataFormat(const daqdataformats::version_t) const
method to create an empty dataformat with a given version
daqdataformats::RawDAQData * getFilledDataFormat(const daqdataformats::version_t) const
bool fillDataFormat(daqdataformats::RawDAQData *) const
method to Fill the input dataformat
#define CURRENT_FIELDS_SUB_NAMESPACE
int32_t version_t
Definition: RawDAQData.h:72
Class to hold the data from the FEBs in correct formats.