62 unsigned PassedCuts = 0;
65 if ( std::abs( roi->
eta() ) > 2.6 ) {
66 ATH_MSG_DEBUG(
"REJECT The electron had eta coordinates beyond the EM fiducial volume : " << roi->
eta() <<
"; stop the chain now" );
73 double etaRef = roi->
eta();
74 double phiRef = roi->
phi();
77 if ( std::abs( phiRef ) >
M_PI ) phiRef -= 2*
M_PI;
80 ATH_MSG_DEBUG(
"Electron : et " << el->pt() <<
" eta = " << el->eta() <<
" phi = " << el->phi());
82 auto pClus = el->caloCluster();
89 float absEta = std::abs( pClus->eta() );
98 float dEta = pClus->eta() - etaRef;
100 float dPhi = std::abs( pClus->phi() - phiRef );
101 dPhi = ( dPhi <
M_PI ? dPhi : 2*
M_PI - dPhi );
102 float ET = pClus->et();
107 ATH_MSG_DEBUG(
"Electron : " << absEta <<
" outside eta range ");
111 PassedCuts = PassedCuts + 1;
115 ATH_MSG_DEBUG(
"Electron : eta=" << pClus->eta() <<
" roi eta=" << etaRef <<
" DeltaEta=" << dEta
122 PassedCuts = PassedCuts + 1;
131 PassedCuts = PassedCuts + 1;
136 if ( cutIndex == -1 ) {
142 PassedCuts = PassedCuts + 1;
146 if ( ET <
m_eTthr[cutIndex] ) {
150 PassedCuts = PassedCuts + 1;
158 float trk_d0 = std::abs(el->trackParticle()->d0());
160 if ( trk_d0 <
m_d0 ) {
164 PassedCuts = PassedCuts + 1;
173 float Rhad1(0), Rhad(0), Reta(0), Rphi(0), e277(0), weta2c(0),
174 Eratio(0), DeltaE(0), f1(0), weta1c(0), wtot(0), fracm(0);
175 float ptcone20(999), ptcone30(999), ptcone40(999), etcone20(999), etcone30(999), etcone40(999), topoetcone20(999), topoetcone30(999), topoetcone40(999), relptcone20(999);
255 relptcone20 = ptcone20/el->pt();