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
Fun4AllDummyInputManager.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Fun4AllDummyInputManager.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FUN4ALL_FUN4ALLDUMMYINPUTMANAGER_H
4
#define FUN4ALL_FUN4ALLDUMMYINPUTMANAGER_H
5
6
#include "
Fun4AllInputManager.h
"
7
8
#include "
Fun4AllReturnCodes.h
"
9
10
#include <string>
// for string
11
12
class
Fun4AllSyncManager
;
13
class
SyncObject
;
14
15
class
Fun4AllDummyInputManager
:
public
Fun4AllInputManager
16
{
17
public
:
18
Fun4AllDummyInputManager
(
const
std::string
&
name
=
"DUMMY"
,
const
std::string
& nodename =
"DST"
);
19
~Fun4AllDummyInputManager
()
override
{}
20
int
fileopen
(
const
std::string
&)
override
{
return
0; }
21
int
fileclose
()
override
{
return
0; }
22
int
IsOpen
()
const override
{
return
1; }
23
int
run
(
const
int
/*nevents=0*/
)
override
;
24
int
GetSyncObject
(
SyncObject
**
/*mastersync*/
)
override
{
return
Fun4AllReturnCodes::SYNC_NOOBJECT
; }
25
int
SyncIt
(
const
SyncObject
*
/*mastersync*/
)
override
{
return
Fun4AllReturnCodes::SYNC_OK
; }
26
void
setSyncManager
(
Fun4AllSyncManager
* master)
override
;
27
int
PushBackEvents
(
const
int
nevt)
override
;
28
int
NoSyncPushBackEvents
(
const
int
nevt)
override
{
return
PushBackEvents
(nevt); }
29
int
ResetFileList
()
override
;
30
31
private
:
32
int
m_NumEvents
= 0;
33
int
m_SumEvents
= 0;
34
};
35
36
#endif
coresoftware
blob
master
offline
framework
fun4all
Fun4AllDummyInputManager.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration