BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/PpjrhopiAlg/PpjrhopiAlg/Ppjrhopi.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_Ppjrhopi_H
2#define Physics_Analysis_Ppjrhopi_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7//#include "VertexFit/ReadBeamParFromDb.h"
8
9class Ppjrhopi : public Algorithm {
10
11public:
12 Ppjrhopi(const std::string& name, ISvcLocator* pSvcLocator);
13 StatusCode initialize();
14 StatusCode execute();
15 StatusCode finalize();
16
17private:
18
19// ReadBeamParFromDb m_reader;
20 // Declare r0, z0 cut for charged tracks
21 double m_vr0cut;
22 double m_vz0cut;
23 double m_vr1cut;
24 double m_vz1cut;
25 double m_cthcut;
26
27 //Declare energy, dphi, dthe cuts for fake gamma's
28 double m_energyThreshold;
29 double m_gammaAngCut;
30// double m_gammaPhiCut;
31// double m_gammaThetaCut;
32
33 //
34 int m_test4C;
35 int m_test5C;
36
37 //
38 int m_checkDedx;
39 int m_checkTof;
40
41 // define Ntuples here
42
43 NTuple::Tuple* m_tuple4; // rhopi 4C
44 NTuple::Item<long> m_run;
45 NTuple::Item<long> m_rec;
46 NTuple::Item<long> m_nch;
47 NTuple::Item<long> m_nneu;
48 NTuple::Item<long> m_gdgam;
49 NTuple::Item<double> m_recpp;
50 NTuple::Item<double> m_chi1;
51 NTuple::Item<double> m_mpi0;
52 NTuple::Item<double> m_mprho0;
53 NTuple::Item<double> m_mprhop;
54 NTuple::Item<double> m_mprhom;
55 NTuple::Item<double> m_mpjjj;
56 NTuple::Item<double> m_bepi0;
57 NTuple::Item<double> m_be4cjpsi;
58 NTuple::Item<double> m_mp2pi1;
59 NTuple::Item<double> m_mf2pi1g1;
60 NTuple::Item<double> m_mf2pi1g2;
61 NTuple::Item<double> m_mf2pi1pi0;
62 NTuple::Item<double> m_mt2pi2g1;
63 NTuple::Item<double> m_mt2pi2g2;
64 NTuple::Item<double> m_mp2pi3;
65 NTuple::Item<double> m_mf2pi3g1;
66 NTuple::Item<double> m_mf2pi3g2;
67 NTuple::Item<double> m_mf2pi3pi0;
68 NTuple::Item<double> m_mp2pi4;
69 NTuple::Item<double> m_mf2pi4g1;
70 NTuple::Item<double> m_mf2pi4g2;
71 NTuple::Item<double> m_mf2pi4pi0;
72 NTuple::Item<double> m_mp4pi;
73 NTuple::Item<double> m_mppptot;
74 NTuple::Item<double> m_mp4pig1;
75 NTuple::Item<double> m_mp4pig2;
76
77 NTuple::Item<double> m_mpx1;
78 NTuple::Item<double> m_mpy1;
79 NTuple::Item<double> m_mpz1;
80 NTuple::Item<double> m_mpe1;
81 NTuple::Item<double> m_mpx2;
82 NTuple::Item<double> m_mpy2;
83 NTuple::Item<double> m_mpz2;
84 NTuple::Item<double> m_mpe2;
85 NTuple::Item<double> m_mpx3;
86 NTuple::Item<double> m_mpy3;
87 NTuple::Item<double> m_mpz3;
88 NTuple::Item<double> m_mpe3;
89 NTuple::Item<double> m_mpx4;
90 NTuple::Item<double> m_mpy4;
91 NTuple::Item<double> m_mpz4;
92 NTuple::Item<double> m_mpe4;
93 NTuple::Item<double> m_mpxg1;
94 NTuple::Item<double> m_mpyg1;
95 NTuple::Item<double> m_mpzg1;
96 NTuple::Item<double> m_mpeg1;
97 NTuple::Item<double> m_mpxg2;
98 NTuple::Item<double> m_mpyg2;
99 NTuple::Item<double> m_mpzg2;
100 NTuple::Item<double> m_mpeg2;
101 NTuple::Item<double> m_chikk;
102/*
103 NTuple::Item<double> m_p1vx;
104 NTuple::Item<double> m_p1vy;
105 NTuple::Item<double> m_p1vz;
106 NTuple::Item<double> m_p1vr;
107 NTuple::Item<double> m_p1vct;
108 NTuple::Item<double> m_m1vx;
109 NTuple::Item<double> m_m1vy;
110 NTuple::Item<double> m_m1vz;
111 NTuple::Item<double> m_m1vr;
112 NTuple::Item<double> m_m1vct;
113 NTuple::Item<double> m_p2vx;
114 NTuple::Item<double> m_p2vy;
115 NTuple::Item<double> m_p2vz;
116 NTuple::Item<double> m_p2vr;
117 NTuple::Item<double> m_p2vct;
118 NTuple::Item<double> m_m2vx;
119 NTuple::Item<double> m_m2vy;
120 NTuple::Item<double> m_m2vz;
121 NTuple::Item<double> m_m2vr;
122 NTuple::Item<double> m_m2vct;
123 NTuple::Item<double> m_p1ptot;
124 NTuple::Item<double> m_emcTp1;
125 NTuple::Item<double> m_m1ptot;
126 NTuple::Item<double> m_emcTm1;
127 NTuple::Item<double> m_p2ptot;
128 NTuple::Item<double> m_emcTp2;
129 NTuple::Item<double> m_m2ptot;
130 NTuple::Item<double> m_emcTm2;
131 NTuple::Item<double> m_p1pxy;
132 NTuple::Item<double> m_m1pxy;
133 NTuple::Item<double> m_p2pxy;
134 NTuple::Item<double> m_m2pxy;
135 NTuple::Item<double> m_laypip1;
136 NTuple::Item<double> m_laypim1;
137 NTuple::Item<double> m_laypip2;
138 NTuple::Item<double> m_laypim2;
139*/
140
141 NTuple::Item<long> m_good;
142 NTuple::Item<long> m_gam;
143 NTuple::Item<long> m_pip;
144 NTuple::Item<long> m_pim;
145 NTuple::Item<long> m_pidpip;
146 NTuple::Array<double> m_ipipin;
147 NTuple::Item<long> m_pidpim;
148 NTuple::Array<double> m_ipimin;
149
150 NTuple::Item<double> m_angle;
151 NTuple::Item<double> m_cosuubr;
152 NTuple::Item<double> m_cosmupbr;
153 NTuple::Item<double> m_cosmumbr;
154 NTuple::Item<double> m_phimupbr;
155 NTuple::Item<double> m_phimumbr;
156 NTuple::Item<long> m_ngch;
157 NTuple::Array<double> m_ptrk;
158 NTuple::Array<double> m_chie;
159 NTuple::Array<double> m_chimu;
160 NTuple::Array<double> m_chipi;
161 NTuple::Array<double> m_chik;
162 NTuple::Array<double> m_chip;
163 NTuple::Array<double> m_probPH;
164 NTuple::Array<double> m_normPH;
165 NTuple::Array<double> m_ghit;
166 NTuple::Array<double> m_thit;
167
168 NTuple::Array<double> m_ptot_etof;
169 NTuple::Array<double> m_cntr_etof;
170 NTuple::Array<double> m_te_etof;
171 NTuple::Array<double> m_tmu_etof;
172 NTuple::Array<double> m_tpi_etof;
173 NTuple::Array<double> m_tk_etof;
174 NTuple::Array<double> m_tp_etof;
175 NTuple::Array<double> m_ph_etof;
176 NTuple::Array<double> m_rhit_etof;
177 NTuple::Array<double> m_qual_etof;
178 NTuple::Array<double> m_ec_toff_e;
179 NTuple::Array<double> m_ec_toff_mu;
180 NTuple::Array<double> m_ec_toff_pi;
181 NTuple::Array<double> m_ec_toff_k;
182 NTuple::Array<double> m_ec_toff_p;
183 NTuple::Array<double> m_ec_tsig_e;
184 NTuple::Array<double> m_ec_tsig_mu;
185 NTuple::Array<double> m_ec_tsig_pi;
186 NTuple::Array<double> m_ec_tsig_k;
187 NTuple::Array<double> m_ec_tsig_p;
188 NTuple::Array<double> m_ec_tof;
189
190 NTuple::Array<double> m_ptot_btof1;
191 NTuple::Array<double> m_cntr_btof1;
192 NTuple::Array<double> m_te_btof1;
193 NTuple::Array<double> m_tmu_btof1;
194 NTuple::Array<double> m_tpi_btof1;
195 NTuple::Array<double> m_tk_btof1;
196 NTuple::Array<double> m_tp_btof1;
197 NTuple::Array<double> m_ph_btof1;
198 NTuple::Array<double> m_zhit_btof1;
199 NTuple::Array<double> m_qual_btof1;
200 NTuple::Array<double> m_b1_toff_e;
201 NTuple::Array<double> m_b1_toff_mu;
202 NTuple::Array<double> m_b1_toff_pi;
203 NTuple::Array<double> m_b1_toff_k;
204 NTuple::Array<double> m_b1_toff_p;
205 NTuple::Array<double> m_b1_tsig_e;
206 NTuple::Array<double> m_b1_tsig_mu;
207 NTuple::Array<double> m_b1_tsig_pi;
208 NTuple::Array<double> m_b1_tsig_k;
209 NTuple::Array<double> m_b1_tsig_p;
210 NTuple::Array<double> m_b1_tof;
211
212 NTuple::Array<double> m_dedx_pid;
213 NTuple::Array<double> m_tof1_pid;
214 NTuple::Array<double> m_tof2_pid;
215 NTuple::Array<double> m_prob_pid;
216 NTuple::Array<double> m_ptrk_pid;
217 NTuple::Array<double> m_cost_pid;
218
219 NTuple::Item<long> m_nggneu;
220 NTuple::Array<double> m_numHits; // Total number of hits
221 NTuple::Array<double> m_secondmoment;
222 NTuple::Array<double> m_x; // Shower coordinates and errors
223 NTuple::Array<double> m_y;
224 NTuple::Array<double> m_z;
225 NTuple::Array<double> m_cosemc; // Shower Counter angles and errors
226 NTuple::Array<double> m_phiemc;
227 NTuple::Array<double> m_energy; // Total energy observed in Emc
228 NTuple::Array<double> m_eSeed;
229 NTuple::Array<double> m_e3x3;
230 NTuple::Array<double> m_e5x5;
231 NTuple::Array<double> m_lat;
232 NTuple::Array<double> m_a20;
233 NTuple::Array<double> m_a42;
234
235};
236
237#endif
StatusCode finalize()
StatusCode initialize()
Ppjrhopi(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute()