1 #ifndef EUDAQ_INCLUDED_Monitor
2 #define EUDAQ_INCLUDED_Monitor
4 #include "eudaq/StandardEvent.hh"
5 #include "eudaq/CommandReceiver.hh"
6 #include "eudaq/FileReader.hh"
22 Monitor(
const std::string &name,
const std::string &runcontrol,
23 const unsigned lim,
const unsigned skip_,
24 const unsigned int skip_evts,
const std::string &datafile =
"");
28 virtual void OnIdle();
31 virtual void OnBadEvent(shared_ptr<Event> ) {}
32 virtual void OnStartRun(
unsigned param);
33 virtual void OnStopRun();
35 shared_ptr<DetectorEvent> LastBore()
const {
return m_lastbore; }
40 shared_ptr<FileReader> m_reader;
41 shared_ptr<DetectorEvent> m_lastbore;
44 unsigned int skip_events_with_counter;
45 unsigned int counter_for_skipping;
49 #endif // EUDAQ_INCLUDED_Monitor
Definition: CommandReceiver.hh:20
Definition: Monitor.hh:15
Definition: StandardEvent.hh:128