11#ifndef CbmTrdRawMessageSpadic_H
12#define CbmTrdRawMessageSpadic_H
14#include <boost/serialization/access.hpp>
15#include <boost/serialization/vector.hpp>
91 CbmTrdRawMessageSpadic(uint8_t channelId, uint8_t elinkId, uint8_t crobId, uint16_t criId, uint8_t hitType,
92 uint8_t nrSamples,
bool multiHi, uint64_t fullTime, std::vector<int16_t> samples);
139 template<
class Archive>
void SetSample(int16_t value, uint8_t pos)
void SetTime(double setvalue)
static const char * GetBranchName()
void IncNrSamples()
increase the number of samples stored in this raw message by one
uint8_t GetNrSamples() const
uint8_t GetHitType() const
uint8_t GetCrobId() const
uint64_t GetFullTime() const
const std::vector< int16_t > * GetSamples() const
uint8_t GetElinkId() const
uint8_t GetChannelId() const
virtual ~CbmTrdRawMessageSpadic()
void serialize(Archive &ar, const unsigned int)
Boost serialization function.
std::vector< int16_t > fSamples
friend class boost::serialization::access
uint16_t GetCriId() const
CbmTrdRawMessageSpadic & operator=(const CbmTrdRawMessageSpadic &)=default
@ kUNU
Unused request. 100. .... .... .... cccc.
@ kChannelBufM
Channel buffer full and multihit from kEPO msg.
@ kChannelBuf
Channel buffer full from kEPO msg.
@ kNInfMsgs
Number of different info messages.
@ kBOM
Buffer overflow count. 11nn nnnn nnnn nnnn cccc.
@ kMIS
Missing request. 101. .... .... .... ....
@ kOrdFifoBuf
Multi-hit but ordering buffer full from kEPO msg.
@ kBUF
Buffer full. 011b b... .... .... cccc.
@ kMSB
Message build error. 010. .... .... .... cccc.
@ kNeigh
Neighbor trigger.
@ kSandN
Self and neighbor trigger at the same time.
@ kEPO
Epoch Marker or TS_MSB depending on the hitmessage version.