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