 |
Belle II Software
release-05-01-25
|
1 #include <ecl/dataobjects/ECLCalDigit.h>
3 #include <gtest/gtest.h>
23 EXPECT_EQ(myECLCalDigit.
getTime(), 0);
31 const double energy = 2.1;
32 const double time = 2.2;
33 const double timeres = 2.3;
41 EXPECT_EQ(myECLCalDigit.
getCellId(), cellId);
42 EXPECT_EQ(myECLCalDigit.
getEnergy(), energy);
43 EXPECT_EQ(myECLCalDigit.
getTime(), time);
void setTime(double Time)
Set Calibrated Time.
double getEnergy() const
Get Calibrated Energy.
Class to store calibrated ECLDigits: ECLCalDigits.
int getCellId() const
Get Cell ID.
double getTimeResolution() const
Get Calibrated Time Resolution.
TEST_F(ECLCalDigitTest, SettersAndGetters)
Test Setters and Getter.
void setTimeResolution(double TimeResolution)
Set Calibrated Time Resolution.
double getTime() const
Get Calibrated Time.
Abstract base class for different kinds of events.
void setEnergy(double Energy)
Set Calibrated Energy.
Set up a few arrays and objects in the datastore.
void setCellId(int CellId)
Set Cell ID.