BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
DQA/DQAJpsi2PPbarAlg/DQAJpsi2PPbarAlg-00-00-04/DQAJpsi2PPbarAlg/DQAJpsi2PPbarAlg.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_DQAJpsi2PPbarAlg_H
2#define Physics_Analysis_DQAJpsi2PPbarAlg_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7
8class ITHistSvc;
9/**********************************************************************/
10/** <project name> -
11 ** <description> Head file for event selection program
12 **
13 ** \file
14 **
15 ** \author Ji Xiaobin
16 **
17 ** \version $Id: DQAJpsi2PPbarAlg.h,v 1.2 2009/07/17 03:01:22 lixl Exp $
18 **
19 **
20*************************************************************************/
21
22
23class DQAJpsi2PPbarAlg : public Algorithm {
24
25public:
26 DQAJpsi2PPbarAlg(const std::string& name, ISvcLocator* pSvcLocator);
27 StatusCode initialize();
28 StatusCode execute();
29 StatusCode finalize();
30
31private:
32
33 // Declare r0, z0 cut for charged tracks
34 double m_vr0cut;
35 double m_vz0cut;
36 double m_vr1cut;
37 double m_vz1cut;
38 double m_cthcut;
39
40 bool m_useKalTrk;
41
42 //Declare energy, dphi, dthe cuts for fake gamma's
43 double m_energyThreshold;
44 double m_gammaPhiCut;
45 double m_gammaThetaCut;
46 double m_gammaAngCut ;
47
48 //
49 int m_test4C;
50 int m_test5C;
51
52 //
53 int m_checkDedx;
54 int m_checkTof;
55
56 ITHistSvc* m_thsvc;
57
58 // define Ntuples here
59
60 NTuple::Tuple* m_tuple; // charged track vertex
61
62 NTuple::Item<long> m_runNo ;
63 NTuple::Item<long> m_event;
64 NTuple::Item<long> m_nchrg;
65 NTuple::Item<long> m_nneu ;
66 NTuple::Item<long> m_ngch ;
67
68 NTuple::Array<long> m_charge ;
69 NTuple::Array<double> m_vx0 ;
70 NTuple::Array<double> m_vy0 ;
71 NTuple::Array<double> m_vz0 ;
72 NTuple::Array<double> m_vr0 ;
73
74 NTuple::Array<double> m_vx ;
75 NTuple::Array<double> m_vy ;
76 NTuple::Array<double> m_vz ;
77 NTuple::Array<double> m_vr ;
78
79 NTuple::Array<double> m_px ;
80 NTuple::Array<double> m_py ;
81 NTuple::Array<double> m_pz ;
82 NTuple::Array<double> m_p ;
83 NTuple::Array<double> m_cos ;
84
85 NTuple::Array<double> m_bst_px ;
86 NTuple::Array<double> m_bst_py ;
87 NTuple::Array<double> m_bst_pz ;
88 NTuple::Array<double> m_bst_p ;
89 NTuple::Array<double> m_bst_cos ;
90
91 NTuple::Array<double> m_vtx_px ;
92 NTuple::Array<double> m_vtx_py ;
93 NTuple::Array<double> m_vtx_pz ;
94 NTuple::Array<double> m_vtx_p ;
95 NTuple::Array<double> m_vtx_cos ;
96
97 NTuple::Array<double> m_probPH;
98 NTuple::Array<double> m_normPH;
99 NTuple::Array<double> m_chie ;
100 NTuple::Array<double> m_chimu ;
101 NTuple::Array<double> m_chipi ;
102 NTuple::Array<double> m_chik ;
103 NTuple::Array<double> m_chip ;
104 NTuple::Array<double> m_ghit ;
105 NTuple::Array<double> m_thit ;
106
107 NTuple::Array<double> m_e_emc ;
108
109 NTuple::Array<double> m_tof_b1;
110 NTuple::Array<double> m_beta_b1;
111 NTuple::Array<double> m_tof_b2;
112 NTuple::Array<double> m_beta_b2;
113 NTuple::Array<double> m_tof_e;
114 NTuple::Array<double> m_beta_e;
115
116 NTuple::Array<double> m_cntr_etof ;
117 NTuple::Array<double> m_ptot_etof ;
118 NTuple::Array<double> m_ph_etof ;
119 NTuple::Array<double> m_rhit_etof ;
120 NTuple::Array<double> m_qual_etof ;
121 NTuple::Array<double> m_tof_etof ;
122 NTuple::Array<double> m_te_etof ;
123 NTuple::Array<double> m_tmu_etof ;
124 NTuple::Array<double> m_tpi_etof ;
125 NTuple::Array<double> m_tk_etof ;
126 NTuple::Array<double> m_tp_etof ;
127
128 NTuple::Array<double> m_cntr_btof1 ;
129 NTuple::Array<double> m_ptot_btof1 ;
130 NTuple::Array<double> m_ph_btof1 ;
131 NTuple::Array<double> m_zhit_btof1 ;
132 NTuple::Array<double> m_qual_btof1 ;
133 NTuple::Array<double> m_tof_btof1 ;
134 NTuple::Array<double> m_te_btof1 ;
135 NTuple::Array<double> m_tmu_btof1 ;
136 NTuple::Array<double> m_tpi_btof1 ;
137 NTuple::Array<double> m_tk_btof1 ;
138 NTuple::Array<double> m_tp_btof1 ;
139
140 NTuple::Array<double> m_cntr_btof2 ;
141 NTuple::Array<double> m_ptot_btof2 ;
142 NTuple::Array<double> m_ph_btof2 ;
143 NTuple::Array<double> m_zhit_btof2 ;
144 NTuple::Array<double> m_qual_btof2 ;
145 NTuple::Array<double> m_tof_btof2 ;
146 NTuple::Array<double> m_te_btof2 ;
147 NTuple::Array<double> m_tmu_btof2 ;
148 NTuple::Array<double> m_tpi_btof2 ;
149 NTuple::Array<double> m_tk_btof2 ;
150 NTuple::Array<double> m_tp_btof2 ;
151
152 NTuple::Array<double> m_ptrk_pid ;
153 NTuple::Array<double> m_cost_pid ;
154 NTuple::Array<double> m_dedx_pid ;
155 NTuple::Array<double> m_tof1_pid ;
156 NTuple::Array<double> m_tof2_pid ;
157 NTuple::Array<double> m_prob_pi ;
158 NTuple::Array<double> m_prob_k ;
159 NTuple::Array<double> m_prob_p ;
160
161 NTuple::Item<long> m_np ;
162 NTuple::Item<long> m_npb;
163
164 NTuple::Item<double> m_m2p ;
165 NTuple::Item<double> m_angle ;
166 NTuple::Item<double> m_deltatof ;
167
168 NTuple::Item<double> m_vtx_m2p ;
169 NTuple::Item<double> m_vtx_angle ;
170
171 NTuple::Item<double> m_chi2_4c ;
172 NTuple::Item<double> m_m2p_4c ;
173 NTuple::Item<double> m_angle_4c ;
174
175
176};
177
178#endif
StatusCode initialize()