8#include <ecl/dataobjects/ECLCalDigit.h>
10#include <gtest/gtest.h>
30 EXPECT_EQ(myECLCalDigit.
getTime(), 0);
38 const double energy = 2.1;
39 const double time = 2.2;
40 const double timeres = 2.3;
48 EXPECT_EQ(myECLCalDigit.
getCellId(), cellId);
49 EXPECT_EQ(myECLCalDigit.
getEnergy(), energy);
50 EXPECT_EQ(myECLCalDigit.
getTime(), time);
Set up a few arrays and objects in the datastore.
Class to store calibrated ECLDigits: ECLCalDigits.
int getCellId() const
Get Cell ID.
void setTimeResolution(double TimeResolution)
Set Calibrated Time Resolution.
void setEnergy(double Energy)
Set Calibrated Energy.
void setCellId(int CellId)
Set Cell ID.
double getEnergy() const
Get Calibrated Energy.
void setTime(double Time)
Set Calibrated Time.
double getTimeResolution() const
Get Calibrated Time Resolution.
double getTime() const
Get Calibrated Time.
Abstract base class for different kinds of events.