113 ATH_MSG_DEBUG(
"electronMonTool::bookHistogramsForOneElectron()");
121 bookTH2F(myHist.
m_hEtaPhi4GeV, *
m_electronGroup,
"electronEtaPhiPtgt4GeV",
"Electron #eta,#phi map (candidates with Pt>4GeV)", 64, -3.2, 3.2, 64, -3.2, 3.2, myHist.
m_nameOfEgammaType);
129 bookTH2F(myHist.
m_hEtaPhi, *
m_electronGroup,
"electronEtaPhiPtgt2.5GeV",
"Electron #eta,#phi map (candidates with Pt>2.5GeV)", 64, -3.2, 3.2, 64, -3.2, 3.2, myHist.
m_nameOfEgammaType);
130 bookTH2F(myHist.
m_hEtaPhi20GeV, *
m_electronGroup,
"electronEtaPhiPtgt20GeV",
"Electron #eta,#phi map (candidates with Pt>20GeV)", 64, -3.2, 3.2, 64, -3.2, 3.2, myHist.
m_nameOfEgammaType);
166 return StatusCode::SUCCESS;
196 float et = (*e_iter)->pt();
197 float eta = (*e_iter)->eta();
198 float phi = (*e_iter)->phi();
203 if (
et<2500)
return StatusCode::SUCCESS;
225 float deltaEta1 = -999.0;
229 float deltaPhi2 = -999.0;
250 ATH_MSG_DEBUG(
"isolation topocone40=" << topoetcone40 <<
" ptcone20=" << ptcone20 );
275 float Re233e237 = 0.0;
277 Re233e237 = e233 / e237;
280 float Re237e277 = 0.0;
282 if(e277!=0) Re237e277 = e237 / e277;
291 unsigned char numberOfInnermostPixelLayerHits=-1;
292 unsigned char numberOfPixelHits=-1;
293 unsigned char numberOfSCTHits=-1;
294 unsigned char numberOfTRTHits=-1;
298 trackp = t->pt()*cosh(t->eta());
312 }
else ATH_MSG_DEBUG(
"Error attempting to retrieve associated track");
318 float time= aCluster->
time();
323 if(trackp !=0) ep = aCluster->
e()/trackp;
325 double ec = aCluster->
et()*cosh(aCluster->
eta());
327 if (ec!=0) f0 = aCluster->
energyBE(0)/ec;
330 if (ec!=0) f1 = aCluster->
energyBE(1)/ec;
333 if(ec!=0) f2 = aCluster->
energyBE(2)/ec;
336 if (ec!=0) f3 = aCluster->
energyBE(3)/ec;
341 return StatusCode::SUCCESS;
347 if (!
hasGoodTrigger(
"single electron"))
return StatusCode::SUCCESS;
349 const EventContext& ctx = Gaudi::Hive::currentContext();
354 return StatusCode::SUCCESS;
386 if( ! electron_container->hasStore() ) {
388 return StatusCode::FAILURE;
395 ATH_MSG_DEBUG(
"Number of electrons: " << electron_container->size());
409 for (; e_iter!=e_end; ++e_iter){
410 if(!(*e_iter))
continue;
416 if ((*e_iter)->pt()<= 7000. && std::abs((*e_iter)->eta()) >= 2.47 )
continue;
421 if((*e_iter)->passSelection(isGood,
"Medium")) {
425 }
else ATH_MSG_WARNING(
"Electron selection menu Medium is not defined" );
428 if((*e_iter)->passSelection(isGood,
"LHLoose")) {
435 if((*e_iter)->passSelection(isGood,
"LHMedium")) {
439 }
else ATH_MSG_WARNING(
"Electron selection LHMedium is not defined" );
442 if((*e_iter)->passSelection(isGood,
"Tight")) {
446 }
else ATH_MSG_WARNING(
"Electron selection menu Tight is not defined" );
449 if((*e_iter)->passSelection(isGood,
"LHTight")) {
453 }
else ATH_MSG_WARNING(
"Electron selection menu LHTight is not defined" );
472 return StatusCode::SUCCESS;