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
Fun4AllPrdfInputManager.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Fun4AllPrdfInputManager.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FUN4ALLRAW_FUN4ALLPRDFINPUTMANAGER_H
4
#define FUN4ALLRAW_FUN4ALLPRDFINPUTMANAGER_H
5
6
#include <
fun4all/Fun4AllInputManager.h
>
7
8
#include <string>
9
10
class
Event
;
11
class
Eventiterator
;
12
class
PHCompositeNode
;
13
class
SyncObject
;
14
15
class
Fun4AllPrdfInputManager
:
public
Fun4AllInputManager
16
{
17
public
:
18
Fun4AllPrdfInputManager
(
const
std::string
&
name
=
"DUMMY"
,
const
std::string
&prdfnodename =
"PRDF"
,
const
std::string
&topnodename =
"TOP"
);
19
~Fun4AllPrdfInputManager
()
override
;
20
int
fileopen
(
const
std::string
&filenam)
override
;
21
22
// cppcheck-suppress virtualCallInConstructor
23
int
fileclose
()
override
;
24
int
run
(
const
int
nevents
= 0)
override
;
25
26
void
Print
(
const
std::string
&what =
"ALL"
)
const override
;
27
int
ResetEvent
()
override
;
28
int
PushBackEvents
(
const
int
i
)
override
;
29
int
GetSyncObject
(
SyncObject
**mastersync)
override
;
30
int
SyncIt
(
const
SyncObject
*mastersync)
override
;
31
int
HasSyncObject
()
const override
{
return
1; }
32
std::string
GetString
(
const
std::string
&what)
const override
;
33
34
private
:
35
int
m_Segment
= -999;
36
int
m_EventsTotal
= 0;
37
int
m_EventsThisFile
= 0;
38
PHCompositeNode
*
m_topNode
=
nullptr
;
39
Event
*
m_Event
=
nullptr
;
40
Event
*
m_SaveEvent
=
nullptr
;
41
Eventiterator
*
m_EventIterator
=
nullptr
;
42
SyncObject
*
m_SyncObject
=
nullptr
;
43
std::string
m_PrdfNodeName
;
44
};
45
46
#endif
/* FUN4ALL_FUN4ALLPRDFINPUTMANAGER_H */
coresoftware
blob
master
offline
framework
fun4allraw
Fun4AllPrdfInputManager.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration