#include <PhysicsTools/IsolationUtils/interface/CalIsolationAlgoNoExp.h>
Public Types | |
typedef double | value_type |
Public Member Functions | |
CalIsolationAlgoNoExp (double dRMin, double dRMax) | |
CalIsolationAlgoNoExp () | |
double | operator() (const T1 &, const C2 &) const |
~CalIsolationAlgoNoExp () | |
Private Attributes | |
double | dRMax_ |
double | dRMin_ |
Definition at line 10 of file CalIsolationAlgoNoExp.h.
typedef double CalIsolationAlgoNoExp< T1, C2 >::value_type |
Definition at line 12 of file CalIsolationAlgoNoExp.h.
CalIsolationAlgoNoExp< T1, C2 >::CalIsolationAlgoNoExp | ( | ) |
CalIsolationAlgoNoExp< T1, C2 >::CalIsolationAlgoNoExp | ( | double | dRMin, | |
double | dRMax | |||
) | [inline] |
CalIsolationAlgoNoExp< T1, C2 >::~CalIsolationAlgoNoExp | ( | ) | [inline] |
double CalIsolationAlgoNoExp< T1, C2 >::operator() | ( | const T1 & | cand, | |
const C2 & | elements | |||
) | const [inline] |
Definition at line 23 of file CalIsolationAlgoNoExp.h.
References deltaR(), and CalIsolationAlgoNoExp< T1, C2 >::dRMin_.
00023 { 00024 double etSum = 0; 00025 for( typename C2::const_iterator elem = elements.begin(); 00026 elem != elements.end(); ++elem ) { 00027 double dR = deltaR( elem->eta(), elem->phi(), 00028 cand.eta(), cand.phi() ); 00029 if ( dR < dRMax_ && dR > dRMin_ ) { 00030 etSum += elem->et(); 00031 } 00032 } 00033 return etSum; 00034 }
double CalIsolationAlgoNoExp< T1, C2 >::dRMax_ [private] |
Definition at line 19 of file CalIsolationAlgoNoExp.h.
double CalIsolationAlgoNoExp< T1, C2 >::dRMin_ [private] |
Definition at line 19 of file CalIsolationAlgoNoExp.h.
Referenced by CalIsolationAlgoNoExp< T1, C2 >::operator()().