Go to the documentation of this file.
7 #ifndef CbmTrdRawMessageSpadic_H
8 #define CbmTrdRawMessageSpadic_H
11 #include <RtypesCore.h>
16 #include <boost/serialization/access.hpp>
17 #include <boost/serialization/base_object.hpp>
18 #include <boost/serialization/vector.hpp>
80 std::vector<std::int16_t>
93 std::uint8_t nrSamples,
95 std::uint64_t fullTime,
96 std::vector<std::int16_t> samples);
136 template<
class Archive>
@ kUNU
Unused request. 100. .... .... .... cccc.
std::uint64_t GetFullTime() const
@ kNUL
Microslice End. 0x0000000000000000 Last Word in a Microslice is 64 zeros.
void SetSample(std::int16_t value, std::uint8_t pos)
void serialize(Archive &ar, const unsigned int)
Boost serialization function.
std::vector< std::int16_t > fSamples
Base class for storing raw information which comes from the Spadic v2.2 trough flib or from a tsa fil...
const std::vector< std::int16_t > GetSamples() const
ClassDef(CbmTrdRawMessageSpadic, 2)
@ kRDA
Raw Data. Preceded by SOM. MSB: 1... .... always 64bits, bits after last transmitted sample are fille...
@ kSOM
Start of Message. MSB: 001. .... timestamp (bits 50-35) in clockcycles. Currently (Feb 2020) only 11 ...
CbmTrdRawMessageSpadic & operator=(const CbmTrdRawMessageSpadic &)=default
std::uint8_t GetElinkId() const
@ kINF
Info Message. MSB: 0001 .... The 20 LSBs of the 64bit word contain the 20 LSBs of a raw spadic InfoTy...
@ kNeigh
Neighbor trigger.
std::uint8_t GetCrobId() const
friend class boost::serialization::access
@ kBOM
Buffer overflow count. 11nn nnnn nnnn nnnn cccc.
std::uint8_t GetNrSamples() const
@ kMSB
Message build error. 010. .... .... .... cccc.
std::uint16_t GetCriId() const
virtual ~CbmTrdRawMessageSpadic()
std::uint8_t GetHitType() const
@ kEPO
Epoch Marker. MSB: 01.. .... uTS-MSB (bits 61-32) in clockcycles.
@ kSandN
Self and neighbor trigger at the same time.
@ kMIS
Missing request. 101. .... .... .... ....
std::uint8_t GetChannelId() const
@ kBUF
Buffer full. 011b b... .... .... cccc.