11#ifndef CbmTrdRawMessageSpadic_H
12#define CbmTrdRawMessageSpadic_H
14#include <boost/serialization/access.hpp>
15#include <boost/serialization/vector.hpp>
91 CbmTrdRawMessageSpadic(std::uint8_t channelId, std::uint8_t elinkId, std::uint8_t crobId, std::uint16_t criId,
92 std::uint8_t hitType, std::uint8_t nrSamples,
bool multiHi, std::uint64_t fullTime,
93 std::vector<std::int16_t> samples);
140 template<
class Archive>
Base class for storing raw information which comes from the Spadic v2.2 trough flib or from a tsa fil...
std::uint64_t GetFullTime() const
void SetTime(double setvalue)
static const char * GetBranchName()
const std::vector< std::int16_t > * GetSamples() const
void IncNrSamples()
increase the number of samples stored in this raw message by one
std::uint8_t GetChannelId() const
void SetSample(std::int16_t value, std::uint8_t pos)
std::uint8_t GetNrSamples() const
std::uint8_t GetCrobId() const
std::vector< std::int16_t > fSamples
std::uint8_t GetHitType() const
std::uint8_t GetElinkId() const
std::uint16_t GetCriId() const
virtual ~CbmTrdRawMessageSpadic()
void serialize(Archive &ar, const unsigned int)
Boost serialization function.
friend class boost::serialization::access
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.