2 #include <fwk/CentralConfig.h>
4 #include <revt/REvent.h>
5 #include <revt/Header.h>
7 #include <det/Detector.h>
8 #include <rdet/RDetector.h>
12 #include <utl/TimeStamp.h>
13 #include <utl/UTCDateTime.h>
15 #include <tst/Verify.h>
17 #include <cppunit/extensions/HelperMacros.h>
42 det::Detector::GetInstance().Update(fTime);
47 REvent& rEvent = fEvent->GetREvent();
48 const rdet::RDetector& theRDetector = det::Detector::GetInstance().GetRDetector();
51 for (
const auto& station : theRDetector.StationsRange()) {
65 fIsOwnerOfEvent =
false;
85 CPPUNIT_ASSERT(Verify<Equal>(header.
GetId(), 999));
86 CPPUNIT_ASSERT(Verify<Equal>(header.
GetTime(), fTime));
92 REvent& rEvent = fEvent->GetREvent();
93 setHeaderValues(rEvent);
94 checkHeaderValues(rEvent);
Interface class to access to the Radio part of an event.
Detector description interface for RDetector-related data.
void setHeaderValues(revt::REvent &rEvent)
Header & GetHeader()
access to REvent Header
void checkHeaderValues(const revt::REvent &rEvent)
static CentralConfig * GetInstance()
Use this the first time you get an instance of central configuration.
void MakeStation(const int stationId)
make a station with specifying Id, throw if invalid stationId
TimeStamp GetTimeStamp() const