9 float recHitThreshold ,
18 if (
abs(ebId.
ieta())==85 && avoidIeta85)
return 0;
22 float e1 =
recHitE(
id, recHits );
24 if ( e1 == 0 )
return 0;
25 s4 +=
recHitE(
id, recHits, 1, 0 );
26 s4 +=
recHitE(
id, recHits, -1, 0 );
27 s4 +=
recHitE(
id, recHits, 0, 1 );
28 s4 +=
recHitE(
id, recHits, 0, -1 );
33 float e1 =
recHitE(
id, recHits );
34 if ( e1 < recHitThreshold )
return 0;
37 if ( e1 == 0 )
return 0;
38 s4 +=
recHitE(
id, recHits, 1, 0 );
39 s4 +=
recHitE(
id, recHits, -1, 0 );
40 s4 +=
recHitE(
id, recHits, 0, 1 );
41 s4 +=
recHitE(
id, recHits, 0, -1 );
59 return ( nid ==
DetId(0) ? 0 :
recHitE( nid, recHits ) );
63 if (
id ==
DetId(0) ) {
67 if ( it != recHits.
end() )
return (*it).energy();
std::vector< T >::const_iterator const_iterator
EEDetId offsetBy(int nrStepsX, int nrStepsY) const
EBDetId offsetBy(int nrStepsEta, int nrStepsPhi) const
int ieta() const
get the crystal ieta
const_iterator end() const
iterator find(key_type k)