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
Fun4AllRunNodeInputManager.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Fun4AllRunNodeInputManager.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FUN4ALL_FUN4ALLRUNNODEINPUTMANAGER_H
4
#define FUN4ALL_FUN4ALLRUNNODEINPUTMANAGER_H
5
6
#include "
Fun4AllDstInputManager.h
"
7
8
#include "
Fun4AllReturnCodes.h
"
9
10
#include <string>
// for string
11
12
class
PHNodeIOManager
;
13
class
SyncObject
;
14
15
class
Fun4AllRunNodeInputManager
:
public
Fun4AllDstInputManager
16
{
17
public
:
18
Fun4AllRunNodeInputManager
(
const
std::string
&
name
=
"DUMMY"
,
const
std::string
& nodename =
"DST"
,
const
std::string
& topnodename =
"TOP"
);
19
20
~Fun4AllRunNodeInputManager
()
override
{}
21
22
int
fileopen
(
const
std::string
& filenam)
override
;
23
int
run
(
const
int
/*nevents*/
)
override
;
24
25
// Effectivly turn off the synchronization checking
26
//
27
int
SyncIt
(
const
SyncObject
*
/*mastersync*/
)
override
{
return
Fun4AllReturnCodes::SYNC_OK
; }
28
int
GetSyncObject
(
SyncObject
**
/*mastersync*/
)
override
{
return
Fun4AllReturnCodes::SYNC_NOOBJECT
; }
29
int
NoSyncPushBackEvents
(
const
int
nevt)
override
{
return
PushBackEvents
(nevt); }
30
/* // no sync object we don't need to enable the sync variables */
31
int
setSyncBranches
(
PHNodeIOManager
*
/*IManager*/
)
override
{
return
0; }
32
int
PushBackEvents
(
const
int
/*i*/
)
override
{
return
0; }
33
int
SkipForThisManager
(
const
int
nevents
)
override
{
return
PushBackEvents
(nevents); }
34
int
HasSyncObject
()
const override
{
return
0; }
35
};
36
37
#endif // FUN4ALL_FUN4ALLRUNNODEINPUTMANAGER_H
coresoftware
blob
master
offline
framework
fun4all
Fun4AllRunNodeInputManager.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration