10#ifndef CBMTBDAQBUFFER_H
11#define CBMTBDAQBUFFER_H 1
15#include <RtypesCore.h>
17#include <boost/any.hpp>
41 typedef std::pair<boost::any, ECbmModuleId>
Data;
82 Double_t digi_time = digi->GetTime();
89 std::multimap<Double_t, Data>
fData;
115 fData.insert(std::make_pair(time, std::make_pair(std::move(digi), systemID)));
Singleton buffer class for CBM raw data.
Double_t GetTimeLast() const
Data GetNextData(Double_t time)
std::multimap< Double_t, Data > fData
static CbmTbDaqBuffer * Instance()
CbmTbDaqBuffer & operator=(const CbmTbDaqBuffer &)
CbmTbDaqBuffer(const CbmTbDaqBuffer &)
std::pair< boost::any, ECbmModuleId > Data
Double_t GetTimeFirst() const
void InsertData(Digi *digi)
static CbmTbDaqBuffer * fgInstance
void InsertData(boost::any digi, Double_t time, ECbmModuleId systemID)