8 #include <framework/dataobjects/BinnedEventT0.h>
9 #include <gtest/gtest.h>
20 ASSERT_FALSE(t0.hasBinnedEventT0(Const::SVD));
21 ASSERT_EQ(t0.getBinnedEventT0(Const::SVD), 0);
23 t0.addBinnedEventT0(-10, Const::SVD);
24 ASSERT_TRUE(t0.hasBinnedEventT0(Const::SVD));
25 ASSERT_FALSE(t0.hasBinnedEventT0(Const::CDC));
26 ASSERT_EQ(t0.getBinnedEventT0(Const::SVD), -10);
27 ASSERT_EQ(t0.getBinnedEventT0(Const::CDC), 0);
30 ASSERT_FALSE(t0.hasBinnedEventT0(Const::SVD));
31 ASSERT_EQ(t0.getBinnedEventT0(Const::SVD), 0);
Database object for storing a binned EventT0 coming from the trigger.
TEST(TestgetDetectorRegion, TestgetDetectorRegion)
Test Constructors.
Abstract base class for different kinds of events.