#include <IsoDepositVetos.h>
Public Member Functions | |
virtual void | centerOn (double eta, double phi) |
ConeVeto (const reco::IsoDeposit::Veto &veto) | |
ConeVeto (Direction dir, double dr) | |
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 | dR2_ |
Direction | vetoDir_ |
Definition at line 9 of file IsoDepositVetos.h.
reco::isodeposit::ConeVeto::ConeVeto | ( | Direction | dir, |
double | dr | ||
) | [inline] |
Definition at line 11 of file IsoDepositVetos.h.
reco::isodeposit::ConeVeto::ConeVeto | ( | const reco::IsoDeposit::Veto & | veto | ) | [inline] |
void ConeVeto::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 12 of file IsoDepositVetos.cc.
References vetoDir_.
bool ConeVeto::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 9 of file IsoDepositVetos.cc.
References reco::isodeposit::Direction::deltaR2(), dR2_, and vetoDir_.
float reco::isodeposit::ConeVeto::dR2_ [private] |
Definition at line 16 of file IsoDepositVetos.h.
Referenced by veto().
Definition at line 16 of file IsoDepositVetos.h.
Referenced by centerOn(), and veto().