Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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
30
int
*
event_base
;
31
int
current
;
32
evtdata_ptr
evthdr
;
33
int
max_length
;
34
int
left
;
35
36
};
37
38
#endif
rcdaq
blob
master
daqEvent.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:47
using
1.8.2 with
sPHENIX GitHub integration