BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
DQAKsKpi.h
Go to the documentation of this file.
1#ifndef Physics_ControlSample_DQAKsKpi_H
2#define Physics_ControlSample_DQAKsKpi_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 event selection program
13 **
14 ** \file
15 **
16 ** \author Ji Xiaobin
17 **
18 ** \version $Id: DQAKsKpi.h,v 1.2 2009/09/02 09:17:04 jixb Exp $
19 **
20 **
21*************************************************************************/
22
23class DQAKsKpi : public Algorithm {
24
25public:
26
27 DQAKsKpi(const std::string& name, ISvcLocator* pSvcLocator);
28 StatusCode initialize();
29 StatusCode execute();
30 StatusCode finalize();
31
32private:
33
34 double m_vr0cut;
35 double m_vz0cut;
36 double m_vr1cut;
37 double m_vz1cut;
38 double m_cthcut;
39
40 double m_energyThreshold;
41 double m_gammaAngCut;
42
43 int m_checkDedx;
44 int m_checkTof;
45
46 ITHistSvc* m_thsvc;
47
48 NTuple::Tuple* m_tuple; // kskpi 4C
49 NTuple::Item<long> m_runNo;
50 NTuple::Item<long> m_event;
51// NTuple::Item<long> m_nchrg;
52// NTuple::Item<long> m_nneu;
53 NTuple::Item<long> m_ngch;
54
55 NTuple::Array<long> m_pidcode;
56 NTuple::Array<double> m_pidprob;
57 NTuple::Array<double> m_pidchiDedx;
58 NTuple::Array<double> m_pidchiTof1;
59 NTuple::Array<double> m_pidchiTof2;
60
61 NTuple::Array<long> m_charge;
62 NTuple::Array<double> m_vx0;
63 NTuple::Array<double> m_vy0;
64 NTuple::Array<double> m_vz0;
65 NTuple::Array<double> m_vr0;
66
67 NTuple::Array<double> m_vx;
68 NTuple::Array<double> m_vy;
69 NTuple::Array<double> m_vz;
70 NTuple::Array<double> m_vr;
71
72 NTuple::Array<double> m_px;
73 NTuple::Array<double> m_py;
74 NTuple::Array<double> m_pz;
75 NTuple::Array<double> m_p;
76 NTuple::Array<double> m_cost;
77
78 NTuple::Array<double> m_probPH;
79 NTuple::Array<double> m_normPH;
80 NTuple::Array<double> m_chie;
81 NTuple::Array<double> m_chimu;
82 NTuple::Array<double> m_chipi;
83 NTuple::Array<double> m_chik;
84 NTuple::Array<double> m_chip;
85 NTuple::Array<double> m_ghit;
86 NTuple::Array<double> m_thit;
87
88 NTuple::Array<double> m_e_emc;
89
90 NTuple::Array<double> m_qual_etof;
91 NTuple::Array<double> m_tof_etof;
92 NTuple::Array<double> m_te_etof;
93 NTuple::Array<double> m_tmu_etof;
94 NTuple::Array<double> m_tpi_etof;
95 NTuple::Array<double> m_tk_etof;
96 NTuple::Array<double> m_tp_etof;
97
98 NTuple::Array<double> m_qual_btof1;
99 NTuple::Array<double> m_tof_btof1;
100 NTuple::Array<double> m_te_btof1;
101 NTuple::Array<double> m_tmu_btof1;
102 NTuple::Array<double> m_tpi_btof1;
103 NTuple::Array<double> m_tk_btof1;
104 NTuple::Array<double> m_tp_btof1;
105
106 NTuple::Array<double> m_qual_btof2;
107 NTuple::Array<double> m_tof_btof2;
108 NTuple::Array<double> m_te_btof2;
109 NTuple::Array<double> m_tmu_btof2;
110 NTuple::Array<double> m_tpi_btof2;
111 NTuple::Array<double> m_tk_btof2;
112 NTuple::Array<double> m_tp_btof2;
113
114 NTuple::Item<long> m_npip;
115 NTuple::Item<long> m_npim;
116 NTuple::Item<long> m_nkp;
117 NTuple::Item<long> m_nkm;
118 NTuple::Item<long> m_np;
119 NTuple::Item<long> m_npb;
120
121 NTuple::Item<double> m_vfits_chi;
122 NTuple::Item<double> m_vfits_vx;
123 NTuple::Item<double> m_vfits_vy;
124 NTuple::Item<double> m_vfits_vz;
125 NTuple::Item<double> m_vfits_vr;
126
127 NTuple::Item<double> m_vfitp_chi;
128 NTuple::Item<double> m_vfitp_vx;
129 NTuple::Item<double> m_vfitp_vy;
130 NTuple::Item<double> m_vfitp_vz;
131 NTuple::Item<double> m_vfitp_vr;
132
133 NTuple::Item<double> m_vfit2_chi;
134 NTuple::Item<double> m_vfit2_mks;
135 NTuple::Item<double> m_vfit2_ct;
136 NTuple::Item<double> m_vfit2_dl;
137 NTuple::Item<double> m_vfit2_dle;
138
139 NTuple::Item<double> m_chi2_fs4c;
140 NTuple::Item<double> m_mks_fs4c;
141 NTuple::Item<double> m_mkspi_fs4c;
142 NTuple::Item<double> m_mksk_fs4c;
143 NTuple::Item<double> m_mkpi_fs4c;
144
145 NTuple::Item<double> m_4c_chi2;
146 NTuple::Item<double> m_4c_mks;
147 NTuple::Item<double> m_4c_mkspi;
148 NTuple::Item<double> m_4c_mksk;
149 NTuple::Item<double> m_4c_mkpi;
150 NTuple::Item<double> m_4c_ks_px;
151 NTuple::Item<double> m_4c_ks_py;
152 NTuple::Item<double> m_4c_ks_pz;
153 NTuple::Item<double> m_4c_ks_p;
154 NTuple::Item<double> m_4c_ks_cos;
155
156};
157
158
159#endif
StatusCode finalize()
Definition: DQAKsKpi.cxx:978
StatusCode execute()
Definition: DQAKsKpi.cxx:254
StatusCode initialize()
Definition: DQAKsKpi.cxx:88