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