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
Fun4AllEventOutputManager.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Fun4AllEventOutputManager.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FUN4ALLRAW_FUN4ALLEVENTOUTPUTMANAGER_H
4
#define FUN4ALLRAW_FUN4ALLEVENTOUTPUTMANAGER_H
5
6
#include <
fun4all/Fun4AllOutputManager.h
>
7
8
#include <string>
9
10
class
Fun4AllEventOutStream
;
11
class
PHCompositeNode
;
12
13
class
Fun4AllEventOutputManager
:
public
Fun4AllOutputManager
14
{
15
public
:
16
Fun4AllEventOutputManager
(
const
std::string
&myname =
"EVENTOUT"
,
const
std::string
&
filename
=
"eventout.prdf"
,
const
unsigned
int
nEvents
= 0,
const
unsigned
int
sizeInMB = 0,
const
int
offset
= 0,
const
int
increment = 1);
17
virtual
~Fun4AllEventOutputManager
();
18
19
int
outfileopen
(
const
std::string
&
/*fname*/
)
override
{
return
0; }
20
21
void
Print
(
const
std::string
&what =
"ALL"
)
const override
;
22
23
int
Write
(
PHCompositeNode
*startNode)
override
;
24
25
int
AddPacket
(
const
int
ipkt);
26
int
DropPacket
(
const
int
ipkt);
27
int
AddPacketRange
(
const
int
ipktmin,
const
int
ipktmax);
28
int
DropPacketRange
(
const
int
ipktmin,
const
int
ipktmax);
29
void
SetOutfileName
(
const
std::string
&
fname
);
30
void
Verbosity
(
const
int
i
)
override
;
31
32
protected
:
33
std::string
m_OutFileRule
;
34
Fun4AllEventOutStream
*
m_OutStream
{
nullptr
};
35
};
36
37
#endif
/* FUN4ALL_FUN4ALLEVENTOUTPUTMANAGER_H */
coresoftware
blob
master
offline
framework
fun4allraw
Fun4AllEventOutputManager.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration