18 #ifndef TRGTOPWAVEFORMPLOTTERMODULE_h
19 #define TRGTOPWAVEFORMPLOTTERMODULE_h
21 #include <framework/core/Module.h>
30 #include <TMultiGraph.h>
33 #include <TPaveText.h>
45 #define NUMBER_OF_TOP_SLOTS 16
46 #define MAX_NUMBER_OF_CLOCK_CYCLES 384
48 #define MAX_TIMESTAMP_RANGE 47000
76 virtual void event()
override;
78 virtual void endRun()
override;
95 TGraph* m_timeStampsGraphMainReadout[NUMBER_OF_TOP_SLOTS];
96 TGraph* m_timeStampsGraphTriggerReadout[NUMBER_OF_TOP_SLOTS];
98 TMultiGraph* m_myMultiGraph[NUMBER_OF_TOP_SLOTS];
100 TPaveText* m_myPaveText[NUMBER_OF_TOP_SLOTS];
102 Int_t m_timeStampsMainReadout[NUMBER_OF_TOP_SLOTS][MAX_NUMBER_OF_CLOCK_CYCLES];
103 Int_t m_timeStampsTriggerReadout[NUMBER_OF_TOP_SLOTS][MAX_NUMBER_OF_CLOCK_CYCLES];
105 Int_t m_clockCyclesMainReadout[NUMBER_OF_TOP_SLOTS][MAX_NUMBER_OF_CLOCK_CYCLES];
106 Int_t m_clockCyclesTriggerReadout[NUMBER_OF_TOP_SLOTS][MAX_NUMBER_OF_CLOCK_CYCLES];
112 double m_markerSizeHits;
113 double m_markerSizeTimestamps;
115 int m_markerTypeHits;
116 int m_markerTypeTimestamps;
118 int m_firstAssumedClockCycle;
120 int m_cutPlotMinNumberTriggerReadoutHits;
122 int m_cutPlotMinNumberMainReadoutHits;
Abstract base class for different kinds of events.