ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Fun4AllDstInputManager.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Fun4AllDstInputManager.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FUN4ALL_FUN4ALLDSTINPUTMANAGER_H
4
#define FUN4ALL_FUN4ALLDSTINPUTMANAGER_H
5
6
#include "
Fun4AllInputManager.h
"
7
8
#include <map>
9
#include <string>
10
11
class
PHCompositeNode
;
12
class
PHNodeIOManager
;
13
class
SyncObject
;
14
15
class
Fun4AllDstInputManager
:
public
Fun4AllInputManager
16
{
17
public
:
18
Fun4AllDstInputManager
(
const
std::string &
name
=
"DUMMY"
,
const
std::string &nodename =
"DST"
,
const
std::string &topnodename =
"TOP"
);
19
~Fun4AllDstInputManager
()
override
;
20
int
fileopen
(
const
std::string &filenam)
override
;
21
int
fileclose
()
override
;
22
int
run
(
const
int
nevents = 0)
override
;
23
int
GetSyncObject
(
SyncObject
**mastersync)
override
;
24
int
SyncIt
(
const
SyncObject
*mastersync)
override
;
25
int
BranchSelect
(
const
std::string &branch,
const
int
iflag)
override
;
26
int
setBranches
()
override
;
27
virtual
int
setSyncBranches
(
PHNodeIOManager
*
IManager
);
28
void
Print
(
const
std::string &what =
"ALL"
)
const override
;
29
int
PushBackEvents
(
const
int
i)
override
;
30
int
HasSyncObject
()
const override
;
31
32
protected
:
33
int
ReadNextEventSyncObject
();
34
void
ReadRunTTree
(
const
int
i) {
m_ReadRunTTree
= i; }
35
36
private
:
37
int
m_ReadRunTTree
= 1;
38
int
events_total
= 0;
39
int
events_thisfile
= 0;
40
int
events_skipped_during_sync
= 0;
41
int
m_HaveSyncObject
= 0;
42
std::string
fullfilename
;
43
std::string
RunNode
=
"RUN"
;
44
std::map<const std::string, int>
branchread
;
45
std::string
syncbranchname
;
46
PHCompositeNode
*
dstNode
=
nullptr
;
47
PHCompositeNode
*
runNode
=
nullptr
;
48
PHCompositeNode
*
runNodeCopy
=
nullptr
;
49
PHCompositeNode
*
runNodeSum
=
nullptr
;
50
PHNodeIOManager
*IManager =
nullptr
;
51
SyncObject
*
syncobject
=
nullptr
;
52
};
53
54
#endif
/* __FUN4ALLDSTINPUTMANAGER_H__ */
coresoftware
blob
master
offline
framework
fun4all
Fun4AllDstInputManager.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:33
using
1.8.2 with
ECCE GitHub integration