Public Member Functions | |
virtual void | centerOn (double eta, double phi) |
SwitchingEcalVeto (AbsVeto *veto, bool isBarrel) | |
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 | |
bool | barrel_ |
std::auto_ptr< AbsVeto > | veto_ |
Definition at line 10 of file IsoDepositVetoFactory.cc.
reco::isodeposit::SwitchingEcalVeto::SwitchingEcalVeto | ( | AbsVeto * | veto, |
bool | isBarrel | ||
) | [inline] |
Definition at line 13 of file IsoDepositVetoFactory.cc.
virtual void reco::isodeposit::SwitchingEcalVeto::centerOn | ( | double | eta, |
double | phi | ||
) | [inline, 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 18 of file IsoDepositVetoFactory.cc.
References veto_.
virtual bool reco::isodeposit::SwitchingEcalVeto::veto | ( | double | eta, |
double | phi, | ||
float | value | ||
) | const [inline, virtual] |
bool reco::isodeposit::SwitchingEcalVeto::barrel_ [private] |
Definition at line 23 of file IsoDepositVetoFactory.cc.
Referenced by veto().
std::auto_ptr<AbsVeto> reco::isodeposit::SwitchingEcalVeto::veto_ [private] |
Definition at line 22 of file IsoDepositVetoFactory.cc.
Referenced by centerOn(), and veto().