#include <IsoDepositVetos.h>
Public Member Functions | |
virtual void | centerOn (double eta, double phi) |
RectangularEtaPhiVeto (const math::XYZVectorD &dir, double etaMin, double etaMax, double phiMin, double phiMax) | |
RectangularEtaPhiVeto (Direction dir, double etaMin, double etaMax, double phiMin, double phiMax) | |
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. More... | |
Public Member Functions inherited from reco::isodeposit::AbsVeto | |
virtual | ~AbsVeto () |
Private Attributes | |
double | etaMax_ |
double | etaMin_ |
double | phiMax_ |
double | phiMin_ |
Direction | vetoDir_ |
Definition at line 84 of file IsoDepositVetos.h.
RectangularEtaPhiVeto::RectangularEtaPhiVeto | ( | const math::XYZVectorD & | dir, |
double | etaMin, | ||
double | etaMax, | ||
double | phiMin, | ||
double | phiMax | ||
) |
RectangularEtaPhiVeto::RectangularEtaPhiVeto | ( | Direction | dir, |
double | etaMin, | ||
double | etaMax, | ||
double | phiMin, | ||
double | phiMax | ||
) |
|
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 105 of file IsoDepositVetos.cc.
References vetoDir_.
|
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 92 of file IsoDepositVetos.cc.
References dPhi(), reco::isodeposit::Direction::eta(), etaMax_, etaMin_, M_PI, reco::isodeposit::Direction::phi(), phiMax_, phiMin_, and vetoDir_.
|
private |
Definition at line 92 of file IsoDepositVetos.h.
Referenced by veto().
|
private |
Definition at line 92 of file IsoDepositVetos.h.
Referenced by veto().
|
private |
Definition at line 92 of file IsoDepositVetos.h.
Referenced by veto().
|
private |
Definition at line 92 of file IsoDepositVetos.h.
Referenced by veto().
|
private |
Definition at line 91 of file IsoDepositVetos.h.
Referenced by centerOn(), and veto().