BOSS
7.1.3
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.3
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
▼
DistBoss
►
ClientErrHandler
►
DistBossServer
►
DistBossUtil
►
NetDataReader
►
NetDataWriter
▼
RootFile
▼
RootFile-00-00-05
▼
RootFile
►
RootFileWriter.h
►
src
►
test
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
►
Generator
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
RootFileWriter.h
Go to the documentation of this file.
1
#ifndef ROOT_FILE_WRITER_H
2
#define ROOT_FILE_WRITER_H
3
4
#include "
RootEventData/TBossFullEvent.h
"
5
#include <string>
6
7
class
TFile;
8
class
TTree;
9
class
TJobInfo
;
10
11
class
RootFileWriter
12
{
13
public :
14
15
typedef
const
std::string
WriterArgType
;
16
17
RootFileWriter
(
WriterArgType
& fname);
18
virtual
~RootFileWriter
();
19
20
int
writeEvent
(
void
* pevt,
int
size);
21
int
close
();
22
23
int
stat
();
24
25
26
private
:
27
28
RootFileWriter
();
//stop default
29
30
std::string getJobOptions();
31
std::string getDecayOptions();
32
33
34
private
:
35
36
TFile* m_file;
37
TTree* m_tree;
38
TTree* m_jtree;
39
TBossFullEvent
* m_evt;
40
TJobInfo
* m_jobInfo;
41
std::string m_fname;
42
43
bool
m_firstRound;
44
int
m_stat;
45
};
11
class
RootFileWriter
{
…
};
46
47
#endif
private
#define private
Definition
McEventDict_dict.cpp:6
TBossFullEvent.h
RootFileWriter::close
int close()
Definition
RootFileWriter.cxx:92
RootFileWriter::stat
int stat()
Definition
RootFileWriter.cxx:107
RootFileWriter::writeEvent
int writeEvent(void *pevt, int size)
Definition
RootFileWriter.cxx:35
RootFileWriter::~RootFileWriter
virtual ~RootFileWriter()
Definition
RootFileWriter.cxx:22
RootFileWriter::WriterArgType
const std::string WriterArgType
Definition
RootFileWriter.h:15
RootFileWriter::RootFileWriter
RootFileWriter(WriterArgType &fname)
Definition
RootFileWriter.cxx:10
TBossFullEvent
Definition
TBossFullEvent.h:15
TJobInfo
Definition
TJobInfo.h:9
7.1.3
DistBoss
RootFile
RootFile-00-00-05
RootFile
RootFileWriter.h
Generated by
1.13.2