EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ospEvent.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ospEvent.h
1
#ifndef __OSPEVENT_H
2
#define __OSPEVENT_H
3
4
5
#include "
phenixTypes.h
"
6
7
#include "
oncsSubConstants.h
"
8
#include "
oncsEvtStructures.h
"
9
#include "
oncsSubevent.h
"
10
11
12
class
ospEvent
{
13
14
public
:
15
16
//** Constructors
17
ospEvent
(
PHDWORD
*,
const
int
maxlength
18
,
const
int
irun,
const
int
itype,
const
int
eseq);
19
20
virtual
~ospEvent
() {}
21
virtual
int
prepare_next
();
22
virtual
int
prepare_next
(
const
int
,
const
int
);
23
virtual
void
set_event_type
(
const
int
);
24
25
virtual
int
addPacket
(
const
Packet
*
p
);
26
27
virtual
int
addUnstructPacketData
(
PHDWORD
*
data
,
28
const
int
length
,
29
const
int
id
,
30
const
int
wordsize,
31
const
int
hitformat);
32
protected
:
33
34
PHDWORD
*
event_base
;
35
int
current
;
36
int
in_frame
;
37
int
max_length
;
38
int
left
;
39
oncsevtdata_ptr
evthdr
;
40
};
41
42
#endif
online_distribution
blob
master
newbasic
ospEvent.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:55
using
1.8.2 with
EIC GitHub integration