FlatDAQData.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \brief FlatDAQData class contains data for each event
3 /// as it is presented in a raw DAQ data file.
4 /// Use DAQDataFormats::RawEvent to interpret it.
5 /// \author denis@fnal.gov
6 /// \date
7 ////////////////////////////////////////////////////////////////////////
8 
9 #ifndef FLATDAQDATA_H
10 #define FLATDAQDATA_H
11 
12 #include <vector>
13 
14 namespace rawdata {
15 
16  class FlatDAQData {
17  public:
18  FlatDAQData() {} // Default constructor
20 
21  void* getRawBufferPointer() const {return (void*) &(fRawBuffer[0]);}
22 
23  std::vector<char> fRawBuffer; ///< Flat event data
24 
25  };// end of Class FlatDAQData
26 }//end of namespace daq2raw
27 
28 #endif // FLATDAQDATA_H
29 
Definition of connection map class.
Definition: CMap.h:19
void * getRawBufferPointer() const
Definition: FlatDAQData.h:21
std::vector< char > fRawBuffer
Flat event data.
Definition: FlatDAQData.h:23