#include <EventDependentAbsVetos.h>
Definition at line 34 of file EventDependentAbsVetos.h.
Create a veto specifying the input collection of the candidates, and the deltaR.
Definition at line 37 of file EventDependentAbsVetos.h.
virtual bool veto(double eta, double phi, float value) const
std::auto_ptr< AbsVeto > veto_
virtual reco::isodeposit::OtherCandVeto::~OtherCandVeto |
( |
| ) |
|
|
inlinevirtual |
virtual void reco::isodeposit::OtherCandVeto::centerOn |
( |
double |
eta, |
|
|
double |
phi |
|
) |
| |
|
inlinevirtual |
bool reco::isodeposit::OtherCandVeto::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 This is true if the deposit is within the stored AbsVeto of any item of the source collection
Implements reco::isodeposit::AbsVeto.
Definition at line 31 of file EventDependentAbsVetos.cc.
33 for (std::vector<Direction>::const_iterator it =
items_.begin(), ed =
items_.end(); it != ed; ++it) {
34 veto_->centerOn(it->eta(), it->phi());
std::auto_ptr< AbsVeto > veto_
std::vector< Direction > items_
std::vector<Direction> reco::isodeposit::OtherCandVeto::items_ |
|
private |
std::auto_ptr<AbsVeto> reco::isodeposit::OtherCandVeto::veto_ |
|
private |