Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
daqEvent.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file daqEvent.h
1 #ifndef __DAQEVENT__
2 #define __DAQEVENT__
3 
4 
5 
6 #include <EvtStructures.h>
7 #include <daq_device.h>
8 
9 // virtual base class for an "event"
10 
11 class daqEvent {
12 
13 public:
14 
15  virtual ~daqEvent(){};
16 
17  //** Constructors
18  // daqEvent(int *, const int maxlength
19  // , const int irun, const int itype, const int eseq);
20 
21  virtual int prepare_next() = 0;
22  virtual int prepare_next( const int, const int) = 0;
23  virtual void set_event_type(const int);
24 
25  // subevent adding
26  virtual int addSubevent(const int etype, daq_device *) =0;
27 
28 protected:
29 
31 int current;
34 int left;
35 
36 };
37 
38 #endif