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
oEvent.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file oEvent.h
1
#ifndef __oEVENT_BASE_H
2
#define __oEVENT_BASE_H
3
4
#include "
EvtConstants.h
"
5
#include "
phenixTypes.h
"
6
#include "
EvtStructures.h
"
7
#include "
packet.h
"
8
9
#define WINDOWSEXPORT
10
11
// virtual base class for an "event"
12
13
#ifndef __CINT__
14
class
WINDOWSEXPORT
oEvent
{
15
#else
16
class
oEvent
{
17
#endif
18
19
public
:
20
21
//** Constructors
22
oEvent
(
PHDWORD
*,
const
int
maxlength
23
,
const
int
irun,
const
int
itype,
const
int
eseq);
24
25
virtual
~oEvent
() {}
26
virtual
int
prepare_next();
27
virtual
int
prepare_next(
const
int
,
const
int
);
28
virtual
void
set_event_type(
const
int
);
29
30
// frame and packet adding
31
virtual
int
addFrame(
PHDWORD
*);
32
33
virtual
int
addPacket (
const
Packet
*
p
);
34
35
virtual
int
addUnstructPacketData(
PHDWORD
*
data
,
36
const
int
length
,
37
const
int
id
,
38
const
int
wordsize,
39
const
int
hitformat);
40
protected
:
41
42
PHDWORD
*
event_base
;
43
int
current
;
44
int
in_frame
;
45
PHDWORD
*
currentFramePtr
;
46
evtdata_ptr
evthdr
;
47
int
max_length
;
48
int
left
;
49
int
maxSizeOfThisFrame
;
50
};
51
52
#endif
online_distribution
blob
master
newbasic
oEvent.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:27
using
1.8.2 with
sPHENIX GitHub integration