testSEventImpl.h
Go to the documentation of this file.
1 #ifndef _tst_testSEventImpl_h_
2 #define _tst_testSEventImpl_h_
3 
4 #include <utl/TimeStamp.h>
5 
6 
7 namespace evt {
8  class Event;
9 }
10 
11 namespace sevt {
12  class SEvent;
13 }
14 
16 
24 private:
25  evt::Event* fEvent = nullptr;
26  bool fIsOwnerOfEvent = false;
27  bool fTestIO = false;
29  int fNStations = 0;
30 
31 public:
32  void setUp();
33  void setUp(evt::Event& event, const bool testIO = true);
34  void tearDown() { }
35  void setHeaderValues(sevt::SEvent& sEvent);
36  void checkHeaderValues(const sevt::SEvent& sEvent);
37  void testHeader();
38  void testSEventSimData();
39  void setEventTriggerValues(sevt::SEvent& sEvent);
40  void checkEventTriggerValues(const sevt::SEvent& sEvent);
41  void testPMTRecData();
42  void checkPMTRecDataValues(const sevt::SEvent& sEvent);
43  void setPMTRecDataValues(sevt::SEvent& sEvent);
44  void testEventTrigger();
46  void checkStationTriggerValues(const sevt::SEvent& sEvent);
48  void testPMTSimData();
49  void setPMTSimDataValues(sevt::SEvent& sEvent);
50  void checkPMTSimDataValues(const sevt::SEvent& sEvent);
51  void testPMT();
52  void setPMTValues(sevt::SEvent& sEvent);
53  void checkPMTValues(const sevt::SEvent& sEvent);
54  void testPMTCalibData();
55  void setPMTCalibDataValues(sevt::SEvent& sEvent);
56  void checkPMTCalibDataValues(const sevt::SEvent& sEvent);
57  void setStationValues(sevt::SEvent& sEvent);
58  void checkStationValues(const sevt::SEvent& sEvent);
59  void testStation();
60  void testStationSimData();
61  void testStationGPSData();
63  void checkStationGPSDataValues(const sevt::SEvent& sEvent);
65  void checkStationSimDataValues(const sevt::SEvent& sEvent);
67  void checkStationRecDataValues(const sevt::SEvent& sEvent);
68  void testStationRecData();
70  void checkStationCalibDataValues(const sevt::SEvent& sEvent);
71  void testStationCalibData();
72  void testCopyCtor();
73  void testAssignment();
74  void setAll(sevt::SEvent& sEvent);
75  void checkAll(const sevt::SEvent& sEvent);
76  void testSEventIterators();
77  void setSEventIterators(sevt::SEvent& sEvent);
78  void checkSEventIterators(const sevt::SEvent& sEvent);
79 
82 };
83 
84 
85 #endif
void checkStationCalibDataValues(const sevt::SEvent &sEvent)
void testStationGPSData()
void checkAll(const sevt::SEvent &sEvent)
void setStationCalibDataValues(sevt::SEvent &sEvent)
Interface class to access to the SD part of an event.
Definition: SEvent.h:39
void checkEventTriggerValues(const sevt::SEvent &sEvent)
void checkPMTValues(const sevt::SEvent &sEvent)
void testSEventIterators()
void checkStationTriggerValues(const sevt::SEvent &sEvent)
void testStationCalibData()
void setStationTriggerValues(sevt::SEvent &sEvent)
void checkStationValues(const sevt::SEvent &sEvent)
A TimeStamp holds GPS second and nanosecond for some event.
Definition: TimeStamp.h:110
void checkStationGPSDataValues(const sevt::SEvent &sEvent)
utl::TimeStamp fTime
void setPMTSimDataValues(sevt::SEvent &sEvent)
void testStationTriggerData()
void setHeaderValues(sevt::SEvent &sEvent)
void setEventTriggerValues(sevt::SEvent &sEvent)
void checkSEventIterators(const sevt::SEvent &sEvent)
void setStationGPSDataValues(sevt::SEvent &sEvent)
void setAll(sevt::SEvent &sEvent)
evt::Event * fEvent
void setPMTRecDataValues(sevt::SEvent &sEvent)
void testSEventSimData()
void setPMTValues(sevt::SEvent &sEvent)
void checkStationRecDataValues(const sevt::SEvent &sEvent)
void setSEventIterators(sevt::SEvent &sEvent)
void setStationValues(sevt::SEvent &sEvent)
void setStationSimDataValues(sevt::SEvent &sEvent)
void checkPMTSimDataValues(const sevt::SEvent &sEvent)
void setPMTCalibDataValues(sevt::SEvent &sEvent)
void checkHeaderValues(const sevt::SEvent &sEvent)
void checkStationSimDataValues(const sevt::SEvent &sEvent)
void setStationRecDataValues(sevt::SEvent &sEvent)
void checkPMTCalibDataValues(const sevt::SEvent &sEvent)
void checkPMTRecDataValues(const sevt::SEvent &sEvent)
void testStationSimData()

, generated on Tue Sep 26 2023.