File indexing completed on 2025-08-02 08:21:01
0001 #ifndef __DAQEVENT__
0002 #define __DAQEVENT__
0003
0004
0005
0006 #include <EvtStructures.h>
0007 #include <daq_device.h>
0008
0009
0010
0011 class daqEvent {
0012
0013 public:
0014
0015 virtual ~daqEvent(){};
0016
0017
0018
0019
0020
0021 virtual int prepare_next() = 0;
0022 virtual int prepare_next( const int, const int) = 0;
0023 virtual void set_event_type(const int);
0024
0025
0026 virtual int addSubevent(const int etype, daq_device *) =0;
0027
0028 protected:
0029
0030 int *event_base;
0031 int current;
0032 evtdata_ptr evthdr;
0033 int max_length;
0034 int left;
0035
0036 };
0037
0038 #endif