BOSS
8.0.0
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
TagWriterAlg
(
const
std::string& name, ISvcLocator* pSvcLocator );
18
StatusCode
initialize
();
19
StatusCode
execute
();
20
StatusCode
finalize
();
21
StatusCode
getTagInfo
();
22
void
openOutputTagFile
( std::string
file
);
23
// bool eventFilter();
24
25
private
:
26
RootInterface
* m_rootInterface;
27
28
int
m_fileNum;
29
30
// TFile* m_iFile;
31
TFile* m_oFile;
32
// TTree* m_iTree;
33
TTree* m_oTree;
34
TTree* m_oFileTree;
35
36
// input tag file name
37
// vector<string> m_inputTagFile;
38
39
// output file name
40
vector<string> m_outputTagFile;
41
42
// for reading: input
43
/*int m_r_entry;
44
int m_r_runNo;
45
int m_r_eventId;
46
int m_r_totalCharged;
47
int m_r_totalNeutral;
48
int m_r_totalTrks;
49
*/
50
51
// for writing: output
52
string
m_dstFile;
53
int
m_entry;
54
int
m_runNo;
55
int
m_eventId;
56
int
m_totalCharged;
57
int
m_totalNeutral;
58
int
m_totalTrks;
59
60
string
m_dstOutput;
61
int
m_entry_in_alg;
62
// int m_filterTotalCharged;
63
};
64
65
#endif
file
char * file
Definition
DQA_TO_DB.cxx:16
RootInterface
Definition
Event/RootCnvSvc/include/RootCnvSvc/RootInterface.h:18
TagWriterAlg::TagWriterAlg
TagWriterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TagWriterAlg.cxx:36
TagWriterAlg::finalize
StatusCode finalize()
Definition
TagWriterAlg.cxx:178
TagWriterAlg::execute
StatusCode execute()
Definition
TagWriterAlg.cxx:96
TagWriterAlg::openOutputTagFile
void openOutputTagFile(std::string file)
Definition
TagWriterAlg.cxx:189
TagWriterAlg::initialize
StatusCode initialize()
Definition
TagWriterAlg.cxx:45
TagWriterAlg::getTagInfo
StatusCode getTagInfo()
Definition
TagWriterAlg.cxx:148
std
Definition
x86_64-el9-gcc13-dbg/Event/RootEventData/RootEventDataDict.cxx:101
8.0.0
BOSS_Source
Reconstruction
TagWriterAlg
include
TagWriterAlg
TagWriterAlg.h
Generated by
1.16.1