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