1#ifndef Physics_Analysis_DQAJpsi2PPbarAlg_H
2#define Physics_Analysis_DQAJpsi2PPbarAlg_H
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
43 double m_energyThreshold;
45 double m_gammaThetaCut;
46 double m_gammaAngCut ;
60 NTuple::Tuple* m_tuple;
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 ;
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 ;
74 NTuple::Array<double> m_vx ;
75 NTuple::Array<double> m_vy ;
76 NTuple::Array<double> m_vz ;
77 NTuple::Array<double> m_vr ;
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 ;
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 ;
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 ;
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 ;
107 NTuple::Array<double> m_e_emc ;
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;
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 ;
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 ;
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 ;
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 ;
161 NTuple::Item<long> m_np ;
162 NTuple::Item<long> m_npb;
164 NTuple::Item<double> m_m2p ;
165 NTuple::Item<double> m_angle ;
166 NTuple::Item<double> m_deltatof ;
168 NTuple::Item<double> m_vtx_m2p ;
169 NTuple::Item<double> m_vtx_angle ;
171 NTuple::Item<double> m_chi2_4c ;
172 NTuple::Item<double> m_m2p_4c ;
173 NTuple::Item<double> m_angle_4c ;