BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RootFile/RootFile/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:
Event/RootEventData/RootEventData-00-03-80/RootEventData/RootEventData_rootcint.cxx:11
RootFileWriter
Definition:
DistBoss/RootFile/RootFile-00-00-05/RootFile/RootFileWriter.h:12
RootFileWriter::close
int close()
RootFileWriter::stat
int stat()
RootFileWriter::~RootFileWriter
virtual ~RootFileWriter()
RootFileWriter::writeEvent
int writeEvent(void *pevt, int size)
RootFileWriter::WriterArgType
const std::string WriterArgType
Definition:
InstallArea/include/RootFile/RootFile/RootFileWriter.h:15
RootFileWriter::RootFileWriter
RootFileWriter(WriterArgType &fname)
TBossFullEvent
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TBossFullEvent.h:15
TJobInfo
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TJobInfo.h:9
source
InstallArea
include
RootFile
RootFile
RootFileWriter.h
Generated by
1.9.6