Class Reference for E1039 Core & Analysis Software
Home page
Related Pages
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Fun4AllEVIOInputManager.h
Go to the documentation of this file.
1
#ifndef Fun4AllEVIOInputManager_H_
2
#define Fun4AllEVIOInputManager_H_
3
4
#include <
fun4all/Fun4AllInputManager.h
>
5
6
#include <string>
7
#include <map>
8
9
class
PHCompositeNode
;
10
class
SyncObject
;
11
class
MainDaqParser
;
12
13
class
Fun4AllEVIOInputManager
:
public
Fun4AllInputManager
14
{
15
public
:
16
Fun4AllEVIOInputManager
(
const
std::string &name =
"DUMMY"
,
const
std::string &topnodename =
"TOP"
);
17
virtual
~Fun4AllEVIOInputManager
();
18
int
fileopen
(
const
std::string &filenam);
19
int
fileclose
();
20
int
run
(
const
int
nevents
= 0);
21
int
isOpen
() {
return
isopen
;}
22
23
void
Print
(
const
std::string &what =
"ALL"
)
const
;
24
int
ResetEvent
();
25
int
PushBackEvents
(
const
int
i);
26
int
GetSyncObject
(
SyncObject
**mastersync);
27
int
SyncIt
(
const
SyncObject
*mastersync);
28
29
void
SetOnline
(
const
bool
is_online);
30
void
EventSamplingFactor
(
const
int
factor);
31
void
DirParam
(
const
std::string dir);
32
void
PretendSpillInterval
(
const
int
sec);
33
34
protected
:
35
int
OpenNextFile
();
36
int
segment
;
37
int
isopen
;
38
int
events_total
;
39
int
events_thisfile
;
40
std::string
topNodeName
;
41
PHCompositeNode
*
topNode
;
42
SyncObject
*
syncobject
;
43
MainDaqParser
*
parser
;
44
};
45
46
#endif
/* __Fun4AllEVIOInputManager_H_ */
Fun4AllEVIOInputManager::Fun4AllEVIOInputManager
Fun4AllEVIOInputManager(const std::string &name="DUMMY", const std::string &topnodename="TOP")
Definition:
Fun4AllEVIOInputManager.cc:40
Fun4AllInputManager
Definition:
Fun4AllInputManager.h:16
Fun4AllEVIOInputManager
Definition:
Fun4AllEVIOInputManager.h:13
Fun4AllEVIOInputManager::SetOnline
void SetOnline(const bool is_online)
Definition:
Fun4AllEVIOInputManager.cc:547
Fun4AllEVIOInputManager::topNode
PHCompositeNode * topNode
Definition:
Fun4AllEVIOInputManager.h:41
MainDaqParser
Definition:
MainDaqParser.h:8
Fun4AllEVIOInputManager::PretendSpillInterval
void PretendSpillInterval(const int sec)
Definition:
Fun4AllEVIOInputManager.cc:563
Fun4AllEVIOInputManager::PushBackEvents
int PushBackEvents(const int i)
Definition:
Fun4AllEVIOInputManager.cc:449
Fun4AllEVIOInputManager::Print
void Print(const std::string &what="ALL") const
Definition:
Fun4AllEVIOInputManager.cc:406
Fun4AllEVIOInputManager::parser
MainDaqParser * parser
Definition:
Fun4AllEVIOInputManager.h:43
Fun4AllEVIOInputManager::fileopen
int fileopen(const std::string &filenam)
Definition:
Fun4AllEVIOInputManager.cc:108
Fun4AllEVIOInputManager::fileclose
int fileclose()
Definition:
Fun4AllEVIOInputManager.cc:374
SyncObject
Definition:
SyncObject.h:9
Fun4AllEVIOInputManager::SyncIt
int SyncIt(const SyncObject *mastersync)
Definition:
Fun4AllEVIOInputManager.cc:527
Fun4AllEVIOInputManager::isopen
int isopen
Definition:
Fun4AllEVIOInputManager.h:37
Fun4AllEVIOInputManager::GetSyncObject
int GetSyncObject(SyncObject **mastersync)
Definition:
Fun4AllEVIOInputManager.cc:509
submit_bnl.nevents
tuple nevents
Definition:
submit_bnl.py:11
Fun4AllEVIOInputManager::isOpen
int isOpen()
Definition:
Fun4AllEVIOInputManager.h:21
Fun4AllEVIOInputManager::run
int run(const int nevents=0)
Definition:
Fun4AllEVIOInputManager.cc:141
PHCompositeNode
Definition:
PHCompositeNode.h:14
Fun4AllEVIOInputManager::syncobject
SyncObject * syncobject
Definition:
Fun4AllEVIOInputManager.h:42
Fun4AllEVIOInputManager::OpenNextFile
int OpenNextFile()
Definition:
Fun4AllEVIOInputManager.cc:413
Fun4AllEVIOInputManager::ResetEvent
int ResetEvent()
Definition:
Fun4AllEVIOInputManager.cc:437
Fun4AllEVIOInputManager::DirParam
void DirParam(const std::string dir)
Definition:
Fun4AllEVIOInputManager.cc:558
Fun4AllEVIOInputManager::segment
int segment
Definition:
Fun4AllEVIOInputManager.h:36
Fun4AllEVIOInputManager::events_total
int events_total
Definition:
Fun4AllEVIOInputManager.h:38
Fun4AllEVIOInputManager::events_thisfile
int events_thisfile
Definition:
Fun4AllEVIOInputManager.h:39
Fun4AllInputManager.h
Fun4AllEVIOInputManager::~Fun4AllEVIOInputManager
virtual ~Fun4AllEVIOInputManager()
Definition:
Fun4AllEVIOInputManager.cc:98
Fun4AllEVIOInputManager::EventSamplingFactor
void EventSamplingFactor(const int factor)
Definition:
Fun4AllEVIOInputManager.cc:553
Fun4AllEVIOInputManager::topNodeName
std::string topNodeName
Definition:
Fun4AllEVIOInputManager.h:40
e1039-core
online
decoder_maindaq
Fun4AllEVIOInputManager.h
Built by
Haiwang Yu
. updated:
Wed May 26 2021 21:44:02
using
1.8.5 with
SeaQuest GitHub integration