8#include <svd/dataobjects/SVDModeByte.h>
9#include <gtest/gtest.h>
33 EXPECT_EQ(s_def, s_en);
34 EXPECT_EQ(s_en, s_num);
36 EXPECT_EQ(uint8_t(151), s0.
getID());
37 EXPECT_EQ((
string)s0,
"0-suppr/global/6 samples/???");
40 EXPECT_EQ((
string)s0,
"0-suppr/global/6 samples/3");
42 EXPECT_EQ((
string)s0,
"0-suppr/global/3 samples/3");
50 EXPECT_EQ(s.getTriggerBin(), 3);
Class to store SVD mode information.
void setTriggerBin(baseType triggerBin)
Set the triggerBin id.
baseType getID() const
Get the unique id.
void setDAQMode(baseType daqMode)
Set the daqMode id.
baseType getTriggerBin() const
Get the triggerBin id.
baseType getDAQMode() const
Get the daqMode id.
constexpr uint8_t daq_3samples
three samples per strip
constexpr uint8_t daq_6samples
six samples per strip
constexpr uint8_t global_run
global run
constexpr uint8_t local_run
local run - should never happen
constexpr uint8_t zero_suppressed
constexpr uint8_t zero_suppressed_timefit
Abstract base class for different kinds of events.