CGEM BOSS 6.6.5.g
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
5#include <string>
6
7class TFile;
8class TTree;
9class TJobInfo;
10
12{
13 public :
14
15 typedef const std::string WriterArgType;
16
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
#define private
int writeEvent(void *pevt, int size)
virtual ~RootFileWriter()
const std::string WriterArgType