CGEM BOSS
6.6.5.i
BESIII Offline Software System
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
};
46
47
#endif
private
#define private
Definition
RootEventData_rootcint.cxx:11
TBossFullEvent.h
RootFileWriter
Definition
RootFileWriter.h:12
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
TBossFullEvent
Definition
TBossFullEvent.h:15
TJobInfo
Definition
TJobInfo.h:9
6.6.5.i
DistBoss
RootFile
RootFile-00-00-05
RootFile
RootFileWriter.h
Generated by
1.12.0