BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
DQA_Dedx.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_DQA_Dedx_H
2#define Physics_Analysis_DQA_Dedx_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7
8class ITHistSvc;
9
10/**********************************************************************/
11/** <project name> -
12 ** <description> Head file for histogram(tuple) filling algorithm
13 **
14 ** \file
15 **
16 ** \author Cao Xuexiang , Chunlei Liu
17 **
18 ** \version $Id: DQA_Dedx.h,v 1.4 2018/01/18 06:03:45 jixb Exp $
19 **
20 **
21*************************************************************************/
22
23class DQA_Dedx : public Algorithm {
24
25public:
26 DQA_Dedx(const std::string& name, ISvcLocator* pSvcLocator);
27 StatusCode initialize();
28 StatusCode execute();
29 StatusCode finalize();
30
31private:
32
33 ITHistSvc* m_thsvc;
34
35 NTuple::Tuple* m_bb_tuple;
36 NTuple::Item<double> m_bb_runNo;
37 NTuple::Item<double> m_bb_event;
38 NTuple::Item<double> m_bb_p;
39 NTuple::Item<double> m_bb_costh;
40 NTuple::Item<double> m_bb_t0;
41 NTuple::Item<double> m_bb_chiE;
42 NTuple::Item<double> m_bb_chiMu;
43 NTuple::Item<double> m_bb_chiPi;
44 NTuple::Item<double> m_bb_chiK;
45 NTuple::Item<double> m_bb_chiP;
46 NTuple::Item<double> m_bb_nhit;
47 NTuple::Item<double> m_bb_ndedxhit;
48 NTuple::Item<double> m_bb_dEdx;
49
50
51
52 NTuple::Tuple* m_du_tuple;
53 NTuple::Item<double> m_du_runNo;
54 NTuple::Item<double> m_du_event;
55 NTuple::Item<double> m_du_p;
56 NTuple::Item<double> m_du_costh;
57 NTuple::Item<double> m_du_t0;
58 NTuple::Item<double> m_du_chiE;
59 NTuple::Item<double> m_du_chiMu;
60 NTuple::Item<double> m_du_chiPi;
61 NTuple::Item<double> m_du_chiK;
62 NTuple::Item<double> m_du_chiP;
63 NTuple::Item<double> m_du_nhit;
64 NTuple::Item<double> m_du_ndedxhit;
65 NTuple::Item<double> m_du_dEdx;
66
67
68
69 bool m_getntuple;
70 bool m_dstfile; // if the input is dst file, m_dstfile should be set to true.
71
72};
73
74
75#endif
StatusCode initialize()
Definition: DQA_Dedx.cxx:50
StatusCode execute()
Definition: DQA_Dedx.cxx:193
StatusCode finalize()
Definition: DQA_Dedx.cxx:516