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
listEventiterator.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file listEventiterator.h
1
#ifndef __LISTEVENTITERATOR_H__
2
#define __LISTEVENTITERATOR_H__
3
4
#include <cstdio>
5
6
#ifndef __CINT__
7
#include <fstream>
8
#endif
9
10
#include "
fileEventiterator.h
"
11
#include "
Event.h
"
12
13
#define FEMAXFILENAMELENGTH 256
14
20
#ifndef __CINT__
21
class
WINDOWSEXPORT
listEventiterator
:
public
Eventiterator
{
22
#else
23
class
listEventiterator
:
public
Eventiterator
{
24
#endif
25
public
:
26
27
virtual
~
listEventiterator
();
28
31
32
listEventiterator
(
const
char
*
filename
);
33
39
listEventiterator
(
const
char
*filename,
int
&
status
);
40
41
const
char
* getIdTag()
const
;
42
43
virtual
void
identify
(std::ostream&
os
= std::cout)
const
;
44
45
virtual
const
char
* getCurrentFileName()
const
;
46
51
Event
*getNextEvent();
52
53
54
private
:
55
56
Eventiterator
* getNextIterator();
57
58
char
thefilename[
FEMAXFILENAMELENGTH
];
59
char
*
listfilename
;
60
61
#ifndef __CINT__
62
std::ifstream *
liststream
;
63
#endif
64
65
Eventiterator
*
it
;
66
int
defunct
;
67
int
finished
;
68
69
};
70
71
72
73
#endif
/* __LISTEVENTITERATOR_H__ */
online_distribution
blob
master
newbasic
listEventiterator.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:27
using
1.8.2 with
sPHENIX GitHub integration