#include <IsoDepositVetos.h>
Public Member Functions | |
AngleConeVeto (math::XYZVectorD dir, double angle) | |
AngleConeVeto (Direction dir, double angle) | |
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 | cosTheta_ |
math::XYZVectorD | vetoDir_ |
Definition at line 64 of file IsoDepositVetos.h.
AngleConeVeto::AngleConeVeto | ( | math::XYZVectorD | dir, |
double | angle | ||
) |
AngleConeVeto::AngleConeVeto | ( | Direction | dir, |
double | angle | ||
) |
Definition at line 56 of file IsoDepositVetos.cc.
References reco::isodeposit::Direction::eta(), reco::isodeposit::Direction::phi(), and vetoDir_.
void AngleConeVeto::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 63 of file IsoDepositVetos.cc.
References vetoDir_.
{ vetoDir_ = math::RhoEtaPhiVectorD(1, eta, phi).Unit(); }
bool AngleConeVeto::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 59 of file IsoDepositVetos.cc.
float reco::isodeposit::AngleConeVeto::cosTheta_ [private] |
Definition at line 71 of file IsoDepositVetos.h.
Referenced by veto().
Definition at line 71 of file IsoDepositVetos.h.
Referenced by AngleConeVeto(), centerOn(), and veto().