BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
DQARhopi.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_DQARhopi_H
2#define Physics_Analysis_DQARhopi_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7
8class ITHistSvc;
9
10class DQARhopi : public Algorithm {
11
12public:
13 DQARhopi(const std::string& name, ISvcLocator* pSvcLocator);
14 StatusCode initialize();
15 StatusCode execute();
16 StatusCode finalize();
17
18private:
19
20 int Ncut0,Ncut1,Ncut2,Ncut3,Ncut4,Ncut5,Ncut6,Ncut7,Ncut8,Ncut9,Ncut10;
21
22 // Declare r0, z0 cut for charged tracks
23 double m_vr0cut;
24 double m_vz0cut;
25 double m_cthcut;
26
27 //Declare energy, dphi, dthe cuts for fake gamma's
28 double m_energyThreshold;
29 double m_gammaAngCut;
30
31 //
32 int m_test4C;
33 int m_test5C;
34
35 //
36 int m_checkDedx;
37 int m_checkTof;
38
39 ITHistSvc* m_thsvc;
40
41 NTuple::Tuple* m_tuple4; // rhopi 4C
42 NTuple::Item<long> m_run;
43 NTuple::Item<long> m_rec;
44 NTuple::Item<long> m_nch;
45 NTuple::Item<long> m_nneu;
46 NTuple::Item<double> m_chi1;
47 NTuple::Item<double> m_mpi0;
48 NTuple::Item<double> m_prho0;
49 NTuple::Item<double> m_prhop;
50 NTuple::Item<double> m_prhom;
51 NTuple::Item<long> m_good;
52 NTuple::Item<long> m_gam;
53 NTuple::Item<long> m_pip;
54 NTuple::Item<long> m_pim;
55 NTuple::Item<double> m_2gam;
56 NTuple::Item<double> m_outpi0;
57 NTuple::Item<double> m_cosang;
58 NTuple::Item<double> m_outpip;
59 NTuple::Item<double> m_outpim;
60 NTuple::Item<double> m_enpip;
61 NTuple::Item<double> m_dcpip;
62 NTuple::Item<double> m_enpim;
63 NTuple::Item<double> m_dcpim;
64 NTuple::Item<double> m_pipf;
65 NTuple::Item<double> m_pimf;
66 NTuple::Item<double> m_pi0f;
67 NTuple::Item<long> m_nangecc;
68 NTuple::Array<double> m_dthec;
69 NTuple::Array<double> m_dphic;
70 NTuple::Array<double> m_dangc;
71 NTuple::Array<double> m_mspippim;
72
73 NTuple::Item<double> m_pmax;
74 NTuple::Item<double> m_ppx;
75 NTuple::Item<double> m_ppy;
76 NTuple::Item<double> m_ppz;
77 NTuple::Item<double> m_costhep;
78 NTuple::Item<double> m_ppxkal;
79 NTuple::Item<double> m_ppykal;
80 NTuple::Item<double> m_ppzkal;
81 NTuple::Item<double> m_mpx;
82 NTuple::Item<double> m_mpy;
83 NTuple::Item<double> m_mpz;
84 NTuple::Item<double> m_costhem;
85 NTuple::Item<double> m_mpxkal;
86 NTuple::Item<double> m_mpykal;
87 NTuple::Item<double> m_mpzkal;
88 NTuple::Item<double> m_vxpin;
89 NTuple::Item<double> m_vypin;
90 NTuple::Item<double> m_vzpin;
91 NTuple::Item<double> m_vrpin;
92 NTuple::Item<double> m_costhepin;
93 NTuple::Item<double> m_vxmin;
94 NTuple::Item<double> m_vymin;
95 NTuple::Item<double> m_vzmin;
96 NTuple::Item<double> m_vrmin;
97 NTuple::Item<double> m_costhemin;
98
99 NTuple::Item<double> m_vxp;
100 NTuple::Item<double> m_vyp;
101 NTuple::Item<double> m_vzp;
102 NTuple::Item<double> m_vrp;
103 NTuple::Item<double> m_vxm;
104 NTuple::Item<double> m_vym;
105 NTuple::Item<double> m_vzm;
106 NTuple::Item<double> m_vrm;
107
108 NTuple::Item<double> dangsg;
109 NTuple::Item<double> dthesg;
110 NTuple::Item<double> dphisg;
111 NTuple::Item<double> cosgth1;
112 NTuple::Item<double> cosgth2;
113
114 NTuple::Item<double> m_chi5;
115 NTuple::Item<double> m_kpi0;
116 NTuple::Item<double> m_kpkm;
117 NTuple::Item<double> m_kpp0;
118 NTuple::Item<double> m_kmp0;
119 NTuple::Item<double> m_pgam2pi1;
120 NTuple::Item<double> m_pgam2pi2;
121 NTuple::Item<double> cosva1;
122 NTuple::Item<double> cosva2;
123 NTuple::Item<double> m_laypi1;
124 NTuple::Item<double> m_hit1;
125 NTuple::Item<double> m_laypi2;
126 NTuple::Item<double> m_hit2;
127 NTuple::Item<double> m_anglepm;
128
129 NTuple::Item<long> m_ngch;
130 NTuple::Array<double> m_ptrk;
131 NTuple::Array<double> m_chie;
132 NTuple::Array<double> m_chimu;
133 NTuple::Array<double> m_chipi;
134 NTuple::Array<double> m_chik;
135 NTuple::Array<double> m_chip;
136 NTuple::Array<double> m_probPH;
137 NTuple::Array<double> m_normPH;
138 NTuple::Array<double> m_ghit;
139 NTuple::Array<double> m_thit;
140
141 NTuple::Array<double> m_ptot_etof;
142 NTuple::Array<double> m_cntr_etof;
143 NTuple::Array<double> m_te_etof;
144 NTuple::Array<double> m_tmu_etof;
145 NTuple::Array<double> m_tpi_etof;
146 NTuple::Array<double> m_tk_etof;
147 NTuple::Array<double> m_tp_etof;
148 NTuple::Array<double> m_ph_etof;
149 NTuple::Array<double> m_rhit_etof;
150 NTuple::Array<double> m_qual_etof;
151 NTuple::Array<double> m_ec_toff_e;
152 NTuple::Array<double> m_ec_toff_mu;
153 NTuple::Array<double> m_ec_toff_pi;
154 NTuple::Array<double> m_ec_toff_k;
155 NTuple::Array<double> m_ec_toff_p;
156 NTuple::Array<double> m_ec_tsig_e;
157 NTuple::Array<double> m_ec_tsig_mu;
158 NTuple::Array<double> m_ec_tsig_pi;
159 NTuple::Array<double> m_ec_tsig_k;
160 NTuple::Array<double> m_ec_tsig_p;
161 NTuple::Array<double> m_ec_tof;
162
163 NTuple::Array<double> m_ptot_btof1;
164 NTuple::Array<double> m_cntr_btof1;
165 NTuple::Array<double> m_te_btof1;
166 NTuple::Array<double> m_tmu_btof1;
167 NTuple::Array<double> m_tpi_btof1;
168 NTuple::Array<double> m_tk_btof1;
169 NTuple::Array<double> m_tp_btof1;
170 NTuple::Array<double> m_ph_btof1;
171 NTuple::Array<double> m_zhit_btof1;
172 NTuple::Array<double> m_qual_btof1;
173 NTuple::Array<double> m_b1_toff_e;
174 NTuple::Array<double> m_b1_toff_mu;
175 NTuple::Array<double> m_b1_toff_pi;
176 NTuple::Array<double> m_b1_toff_k;
177 NTuple::Array<double> m_b1_toff_p;
178 NTuple::Array<double> m_b1_tsig_e;
179 NTuple::Array<double> m_b1_tsig_mu;
180 NTuple::Array<double> m_b1_tsig_pi;
181 NTuple::Array<double> m_b1_tsig_k;
182 NTuple::Array<double> m_b1_tsig_p;
183 NTuple::Array<double> m_b1_tof;
184
185 NTuple::Array<double> m_dedx_pid;
186 NTuple::Array<double> m_tof1_pid;
187 NTuple::Array<double> m_tof2_pid;
188 NTuple::Array<double> m_prob_pid;
189 NTuple::Array<double> m_ptrk_pid;
190 NTuple::Array<double> m_cost_pid;
191 NTuple::Item<long> m_pnp;
192 NTuple::Item<long> m_pnm;
193
194 NTuple::Item<long> m_nggneu;
195 NTuple::Array<double> m_numHits; // Total number of hits
196 NTuple::Array<double> m_secondmoment;
197 NTuple::Array<double> m_x; // Shower coordinates and errors
198 NTuple::Array<double> m_y;
199 NTuple::Array<double> m_z;
200 NTuple::Array<double> m_cosemc; // Shower Counter angles and errors
201 NTuple::Array<double> m_phiemc;
202 NTuple::Array<double> m_energy; // Total energy observed in Emc
203 NTuple::Array<double> m_eSeed;
204 NTuple::Array<double> m_e3x3;
205 NTuple::Array<double> m_e5x5;
206 NTuple::Array<double> m_lat;
207 NTuple::Array<double> m_a20;
208 NTuple::Array<double> m_a42;
209
210};
211
212#endif
StatusCode initialize()
Definition: DQARhopi.cxx:78
StatusCode execute()
Definition: DQARhopi.cxx:305
StatusCode finalize()
Definition: DQARhopi.cxx:1274