20 return StatusCode::SUCCESS;
31 return StatusCode::SUCCESS;
169 u_int16_t mynpconv = 0;
170 u_int16_t mynpunconv = 0;
176 for (
const auto *
const p_iter : *photons) {
179 if (! p_iter->passSelection(isGood,
m_RecoName)) {
186 Float_t myetaloc = p_iter->eta();
198 ATH_MSG_DEBUG(
"Found a photon out the acceptance region : " << regionloc);
205 myeta = p_iter->eta();
206 myphi = p_iter->phi();
207 et = myet ;
eta = myeta ;
phi = myphi ;
209 bool myis_pt_gt_2_5gev = myet > 2500. ;
210 bool myis_pt_gt_4gev = myet > 4000. ;
211 bool myis_pt_gt_20gev = myet > 20000. ;
213 is_pt_gt_2_5gev = myis_pt_gt_2_5gev ;
214 is_pt_gt_4gev = myis_pt_gt_4gev ;
215 is_pt_gt_20gev = myis_pt_gt_20gev ;
217 is_pt_gt_4gev_barrel = myis_pt_gt_4gev ;
218 is_pt_gt_4gev_endcap = myis_pt_gt_4gev ;
219 is_pt_gt_4gev_crack = myis_pt_gt_4gev ;
221 is_pt_gt_2_5gev_barrel = myis_pt_gt_2_5gev ;
222 is_pt_gt_2_5gev_endcap = myis_pt_gt_2_5gev ;
223 is_pt_gt_2_5gev_crack = myis_pt_gt_2_5gev ;
225 is_pt_gt_20gev_barrel = myis_pt_gt_20gev ;
226 is_pt_gt_20gev_endcap = myis_pt_gt_20gev ;
227 is_pt_gt_20gev_crack = myis_pt_gt_20gev ;
230 Float_t mytopoetcone40 = -999.;
234 Float_t myptcone20 = -999.;
241 Float_t myehad1 = 0.0;
242 Float_t myecore = 0.0;
250 Float_t myre233e237 = 0.0;
251 Float_t myre237e277 = 0.0;
266 mytime = aCluster->
time();
269 double ec = aCluster->
et()*cosh(aCluster->
eta());
270 if (ec!=0) myf0 = aCluster->
energyBE(0)/ec;
271 if (ec!=0) myf1 = aCluster->
energyBE(1)/ec;
272 if (ec!=0) myf2 = aCluster->
energyBE(2)/ec;
273 if (ec!=0) myf3 = aCluster->
energyBE(3)/ec;
302 is_pt_gt_2_5gevandconv = myis_pt_gt_2_5gev && !isUnconverted ;
303 is_pt_gt_2_5gevandunconv = myis_pt_gt_2_5gev && isUnconverted ;
305 is_pt_gt_4gevandconv = myis_pt_gt_4gev && !isUnconverted ;
306 is_pt_gt_4gevandunconv = myis_pt_gt_4gev && isUnconverted ;
308 is_pt_gt_20gevandconv = myis_pt_gt_20gev && !isUnconverted ;
309 is_pt_gt_20gevandunconv = myis_pt_gt_20gev && isUnconverted ;
312 lbevonphotonsconv = mylb;
313 lbevonphotonsunconv = mylb;
315 Float_t myrconv = 0.0;
318 Float_t mycontrkmatch1 = 0.0;
320 Float_t mycontrkmatch2 = 0.0;
327 et_barrel = myet ; eta_barrel = myeta ; phi_barrel = myphi ;
328 time_barrel = mytime; ehad1_barrel = myehad1; coreem_barrel = myecore;
329 f0_barrel = myf0; f1_barrel = myf1; f2_barrel = myf2; f3_barrel = myf3; re233e237_barrel = myre233e237; re237e277_barrel = myre237e277;
330 rconv_barrel = myrconv ; convtype_barrel = myconvtype ; contrkmatch1_barrel = mycontrkmatch1 ; contrkmatch2_barrel = mycontrkmatch2 ;
331 fill(
"MonitorPhoton", et_barrel,eta_barrel,phi_barrel, time_barrel, ehad1_barrel,coreem_barrel,
332 f0_barrel,f1_barrel,f2_barrel, f3_barrel,re233e237_barrel,re237e277_barrel,
333 rconv_barrel,convtype_barrel,contrkmatch1_barrel,contrkmatch2_barrel,is_pt_gt_4gev_barrel,is_pt_gt_2_5gev_barrel,is_pt_gt_20gev_barrel);
337 et_endcap = myet ; eta_endcap = myeta ; phi_endcap = myphi ;
338 time_endcap = mytime; ehad1_endcap = myehad1; coreem_endcap = myecore;
339 f0_endcap = myf0; f1_endcap = myf1; f2_endcap = myf2; f3_endcap = myf3; re233e237_endcap = myre233e237; re237e277_endcap = myre237e277;
340 rconv_endcap = myrconv ; convtype_endcap = myconvtype ; contrkmatch1_endcap = mycontrkmatch1 ; contrkmatch2_endcap = mycontrkmatch2 ;
341 fill(
"MonitorPhoton",et_endcap,eta_endcap,phi_endcap,
342 time_endcap, ehad1_endcap,coreem_endcap,
343 f0_endcap,f1_endcap,f2_endcap,f3_endcap,re233e237_endcap,re237e277_endcap,
344 rconv_endcap,convtype_endcap,contrkmatch1_endcap,contrkmatch2_endcap,is_pt_gt_4gev_endcap,is_pt_gt_2_5gev_endcap,is_pt_gt_20gev_endcap);
348 et_crack = myet ; eta_crack = myeta ; phi_crack = myphi ;
349 time_crack = mytime; ehad1_crack = myehad1; coreem_crack = myecore;
350 f0_crack = myf0; f1_crack = myf1; f2_crack = myf2; f3_crack = myf3; re233e237_crack = myre233e237; re237e277_crack = myre237e277;
351 rconv_crack = myrconv ; convtype_crack = myconvtype ; contrkmatch1_crack = mycontrkmatch1 ; contrkmatch2_crack = mycontrkmatch2 ;
352 fill(
"MonitorPhoton",et_crack,eta_crack,phi_crack,time_crack, ehad1_crack,coreem_crack,
353 f0_crack,f1_crack,f2_crack,f3_crack,re233e237_crack,re237e277_crack,
354 rconv_crack,convtype_crack,contrkmatch1_crack,contrkmatch2_crack,is_pt_gt_4gev_crack,is_pt_gt_2_5gev_crack,is_pt_gt_20gev_crack);
358 ATH_MSG_DEBUG(
"found an photon outside the |eta| > 2.47 acceptance");
363 lb = mylb; lbevonphotonsunconv = mylb ; lbevonphotonsconv = mylb; lbNCandidates = mylb;
364 fill(
"MonitorPhoton",
365 lbevonphotonsconv,lbevonphotonsunconv,
lb,lbNCandidates,
367 etconv,etaconv,phiconv,
368 etunconv,etaunconv,phiunconv,
369 is_pt_gt_4gev,is_pt_gt_20gev,is_pt_gt_2_5gev,
370 is_pt_gt_2_5gevandconv,is_pt_gt_2_5gevandunconv,
371 is_pt_gt_4gevandconv,is_pt_gt_4gevandunconv,
372 is_pt_gt_20gevandconv,is_pt_gt_20gevandunconv);
377 npunconv = mynpunconv;
379 fill(
"MonitorPhoton",
np,npconv,npunconv);
381 return StatusCode::SUCCESS;