REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Loading...
Searching...
No Matches
test/src/TRestRawSignal.cxx
1
2#include <TRestRawSignal.h>
3#include <gtest/gtest.h>
4
5using namespace std;
6
7TEST(TRestRawSignal, Default) {
8 TRestRawSignal rawSignal;
9
10 EXPECT_TRUE(rawSignal.GetIntegral() == 0);
11}
It defines a Short_t array with a physical parameter that evolves in time using a fixed time bin.
Double_t GetIntegral()
It returns the integral of points found in the region defined by fRange. If fRange was not defined th...