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
oncsEventiterator.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file oncsEventiterator.h
1
// -*- c++ -*-
2
#ifndef __ONCSEVENTITERATOR_H__
3
#define __ONCSEVENTITERATOR_H__
4
5
#include "
Eventiterator.h
"
6
#include "
oncsBuffer.h
"
7
8
#ifndef __CINT__
9
class
WINDOWSEXPORT
oncsEventiterator
:
public
Eventiterator
{
10
#else
11
class
oncsEventiterator
:
public
Eventiterator
{
12
#endif
13
public
:
14
15
virtual
~
oncsEventiterator
();
16
oncsEventiterator
(
const
char
*
filename
);
17
oncsEventiterator
(
const
char
*filename,
int
&
status
);
18
19
const
char
* getIdTag()
const
;
20
virtual
void
identify
(std::ostream&
os
= std::cout)
const
;
21
22
23
Event
*getNextEvent();
24
25
private
:
26
int
read_next_buffer();
27
28
char
*
thefilename
;
29
int
fd
;
30
unsigned
int
initialbuffer[
BUFFERSIZE
];
31
int
*
bp
;
32
int
allocatedsize
;
33
34
int
current_index
;
35
int
last_read_status
;
36
int
buffer_size
;
37
oncsBuffer
*
bptr
;
38
39
};
40
41
#endif
/* __ONCSEVENTITERATOR_H__ */
42
online_distribution
blob
master
newbasic
oncsEventiterator.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:27
using
1.8.2 with
sPHENIX GitHub integration