#include <IsoDepositVetos.h>
Public Member Functions | |
AbsThresholdVetoFromTransverse (double threshold) | |
virtual void | centerOn (double eta, double phi) |
virtual bool | veto (double eta, double phi, float value) const |
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum. | |
Private Attributes | |
float | threshold_ |
Definition at line 46 of file IsoDepositVetos.h.
reco::isodeposit::AbsThresholdVetoFromTransverse::AbsThresholdVetoFromTransverse | ( | double | threshold | ) | [inline] |
Definition at line 48 of file IsoDepositVetos.h.
: threshold_(threshold) {}
void AbsThresholdVetoFromTransverse::centerOn | ( | double | eta, |
double | phi | ||
) | [virtual] |
Relocates this veto so that the new center is at some (eta,phi). Must be implemented on the specific AbsVeto subclass: in this mother class it just throws exception
Reimplemented from reco::isodeposit::AbsVeto.
Definition at line 41 of file IsoDepositVetos.cc.
{ }
bool AbsThresholdVetoFromTransverse::veto | ( | double | eta, |
double | phi, | ||
float | value | ||
) | const [virtual] |
Return "true" if a deposit at specific (eta,phi) with that value must be vetoed in the sum.
Implements reco::isodeposit::AbsVeto.
Definition at line 38 of file IsoDepositVetos.cc.
References funct::exp(), funct::sin(), and threshold_.
{ return ( fabs(value/sin(2*atan(exp(-eta)))) <= threshold_); // convert Et to E }
float reco::isodeposit::AbsThresholdVetoFromTransverse::threshold_ [private] |
Definition at line 52 of file IsoDepositVetos.h.
Referenced by veto().