BOSS
7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
TagWriterAlg.h
Go to the documentation of this file.
1
#ifndef Physics_Analysis_TagWriterAlg_H
2
#define Physics_Analysis_TagWriterAlg_H
3
4
#include "GaudiKernel/AlgFactory.h"
5
#include "GaudiKernel/Algorithm.h"
6
#include "GaudiKernel/NTuple.h"
7
8
class
RootInterface
;
9
10
#include "TFile.h"
11
#include "TTree.h"
12
using namespace
std
;
13
14
class
TagWriterAlg
:
public
Algorithm {
15
16
public
:
17
18
TagWriterAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
19
StatusCode
initialize
();
20
StatusCode
execute
();
21
StatusCode
finalize
();
22
StatusCode
getTagInfo
();
23
void
openOutputTagFile
(std::string
file
);
24
//bool eventFilter();
25
26
private
:
27
28
RootInterface
* m_rootInterface;
29
30
int
m_fileNum;
31
32
//TFile* m_iFile;
33
TFile* m_oFile;
34
//TTree* m_iTree;
35
TTree* m_oTree;
36
TTree* m_oFileTree;
37
38
//input tag file name
39
//vector<string> m_inputTagFile;
40
41
//output file name
42
vector<string> m_outputTagFile;
43
44
//for reading: input
45
/*int m_r_entry;
46
int m_r_runNo;
47
int m_r_eventId;
48
int m_r_totalCharged;
49
int m_r_totalNeutral;
50
int m_r_totalTrks;
51
*/
52
53
//for writing: output
54
string
m_dstFile;
55
int
m_entry;
56
int
m_runNo;
57
int
m_eventId;
58
int
m_totalCharged;
59
int
m_totalNeutral;
60
int
m_totalTrks;
61
62
string
m_dstOutput;
63
int
m_entry_in_alg;
64
//int m_filterTotalCharged;
65
};
66
67
#endif
file
char * file
Definition:
DQA_TO_DB.cxx:15
RootInterface
Definition:
RootInterface.h:19
TagWriterAlg
Definition:
TagWriterAlg.h:14
TagWriterAlg::finalize
StatusCode finalize()
Definition:
TagWriterAlg.cxx:184
TagWriterAlg::execute
StatusCode execute()
Definition:
TagWriterAlg.cxx:100
TagWriterAlg::openOutputTagFile
void openOutputTagFile(std::string file)
Definition:
TagWriterAlg.cxx:196
TagWriterAlg::initialize
StatusCode initialize()
Definition:
TagWriterAlg.cxx:47
TagWriterAlg::getTagInfo
StatusCode getTagInfo()
Definition:
TagWriterAlg.cxx:151
std
Definition:
RootEventData_rootcint.cxx:16
source
Reconstruction
TagWriterAlg
TagWriterAlg-00-00-08
TagWriterAlg
TagWriterAlg.h
Generated by
1.9.6