65 unsigned PassedCuts = 0;
68 if ( std::abs( roi->
eta() ) > 2.6 ) {
69 ATH_MSG_DEBUG(
"REJECT The electron had eta coordinates beyond the EM fiducial volume : " << roi->
eta() <<
"; stop the chain now" );
76 double etaRef = roi->
eta();
77 double phiRef = roi->
phi();
80 if ( std::abs( phiRef ) >
M_PI ) phiRef -= 2*
M_PI;
83 ATH_MSG_DEBUG(
"Electron : et " << el->pt() <<
" eta = " << el->eta() <<
" phi = " << el->phi());
85 auto pClus = el->caloCluster();
92 float absEta = std::abs( pClus->eta() );
101 float dEta = pClus->eta() - etaRef;
103 float dPhi = std::abs( pClus->phi() - phiRef );
104 dPhi = ( dPhi <
M_PI ? dPhi : 2*
M_PI - dPhi );
105 float ET = pClus->et();
110 ATH_MSG_DEBUG(
"Electron : " << absEta <<
" outside eta range ");
114 PassedCuts = PassedCuts + 1;
118 ATH_MSG_DEBUG(
"Electron : eta=" << pClus->eta() <<
" roi eta=" << etaRef <<
" DeltaEta=" << dEta
125 PassedCuts = PassedCuts + 1;
134 PassedCuts = PassedCuts + 1;
139 if ( cutIndex == -1 ) {
145 PassedCuts = PassedCuts + 1;
149 if ( ET <
m_eTthr[cutIndex] ) {
153 PassedCuts = PassedCuts + 1;
161 float trk_d0 = std::abs(el->trackParticle()->d0());
163 if ( trk_d0 <
m_d0 ) {
167 PassedCuts = PassedCuts + 1;
176 float Rhad1(0), Rhad(0), Reta(0), Rphi(0), e277(0), weta2c(0),
177 Eratio(0), DeltaE(0), f1(0), weta1c(0), wtot(0), fracm(0);
178 float ptcone20(999), ptcone30(999), ptcone40(999), etcone20(999), etcone30(999), etcone40(999), topoetcone20(999), topoetcone30(999), topoetcone40(999), relptcone20(999);
258 relptcone20 = ptcone20/el->pt();