8#ifndef DATASTOREPACKAGE_H
9#define DATASTOREPACKAGE_H
11#include <framework/datastore/StoreArray.h>
12#include <framework/pcore/DataStoreStreamer.h>
14#include <daq/slc/system/Mutex.h>
15#include <rawdata/dataobjects/RawPXD.h>
17#include "daq/storage/BinData.h"
28 static const unsigned int MAX_BUFFER_WORDS = 10000000;
34 c_IsTransient = BIT(19),
42 m_streamer = streamer;
43 m_buf =
new int [MAX_BUFFER_WORDS];
44 m_data.setBuffer(m_buf);
45 m_data_hlt.setBuffer(NULL);
46 m_data_pxd.setBuffer(NULL);
56 unsigned int getSerial()
const {
return m_serial; }
57 void setSerial(
unsigned int serial) { m_serial = serial; }
58 const BinData& getData()
const {
return m_data; }
59 const BinData& getHLTData()
const {
return m_data_hlt; }
60 const BinData& getPXDData()
const {
return m_data_pxd; }
63 unsigned int m_serial;
Stream/restore DataStore objects to/from EvtMessage.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.