#include <EventDependentAbsVetos.h>
|
virtual void | centerOn (double eta, double phi) |
| Set axis for matching jets. More...
|
|
| OtherJetConstituentsDeltaRVeto (Direction dir, const edm::InputTag &jets, double dRjet, const edm::InputTag &pfCandAssocMap, double dRconstituent) |
| Create a veto specifying the input collection of the jets, the candidates, and the deltaR. More...
|
|
virtual void | setEvent (const edm::Event &evt, const edm::EventSetup &es) |
| Picks up the directions of the given candidates. More...
|
|
virtual bool | veto (double eta, double phi, float value) const |
|
virtual | ~OtherJetConstituentsDeltaRVeto () |
|
virtual | ~EventDependentAbsVeto () |
|
virtual | ~AbsVeto () |
|
Definition at line 59 of file EventDependentAbsVetos.h.
reco::isodeposit::OtherJetConstituentsDeltaRVeto::OtherJetConstituentsDeltaRVeto |
( |
Direction |
dir, |
|
|
const edm::InputTag & |
jets, |
|
|
double |
dRjet, |
|
|
const edm::InputTag & |
pfCandAssocMap, |
|
|
double |
dRconstituent |
|
) |
| |
|
inline |
Create a veto specifying the input collection of the jets, the candidates, and the deltaR.
Definition at line 62 of file EventDependentAbsVetos.h.
edm::InputTag srcPFCandAssocMap_
virtual reco::isodeposit::OtherJetConstituentsDeltaRVeto::~OtherJetConstituentsDeltaRVeto |
( |
| ) |
|
|
inlinevirtual |
void reco::isodeposit::OtherJetConstituentsDeltaRVeto::centerOn |
( |
double |
eta, |
|
|
double |
phi |
|
) |
| |
|
virtual |
void reco::isodeposit::OtherJetConstituentsDeltaRVeto::initialize |
( |
| ) |
|
|
private |
Definition at line 66 of file EventDependentAbsVetos.cc.
References edm::RefVector< C, T, F >::begin(), reco::deltaR2(), edm::RefVector< C, T, F >::end(), edm::Ref< C, T, F >::isNonnull(), metsig::jet, fwrapper::jets, and edm::RefVector< C, T, F >::push_back().
79 size_t numJets = jets->size();
80 for (
size_t jetIndex = 0; jetIndex < numJets; ++jetIndex ) {
93 pfCand != pfCandsMappedToJet.
end(); ++pfCand ) {
95 items_.push_back(Direction((*pfCand)->eta(), (*pfCand)->phi()));
const_iterator end() const
Termination of iteration.
const_iterator begin() const
Initialize an iterator over the RefVector.
std::vector< Direction > items_
bool isNonnull() const
Checks for non-null.
edm::InputTag srcPFCandAssocMap_
double deltaR2(double eta1, double phi1, double eta2, double phi2)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
bool reco::isodeposit::OtherJetConstituentsDeltaRVeto::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 51 of file EventDependentAbsVetos.cc.
References reco::deltaR2(), eta(), and phi.
53 for (std::vector<Direction>::const_iterator it =
items_.begin(), ed =
items_.end(); it != ed; ++it) {
std::vector< Direction > items_
double deltaR2(double eta1, double phi1, double eta2, double phi2)
double reco::isodeposit::OtherJetConstituentsDeltaRVeto::dR2constituent_ |
|
private |
double reco::isodeposit::OtherJetConstituentsDeltaRVeto::dR2jet_ |
|
private |
const edm::Event* reco::isodeposit::OtherJetConstituentsDeltaRVeto::evt_ |
|
private |
std::vector<Direction> reco::isodeposit::OtherJetConstituentsDeltaRVeto::items_ |
|
private |
edm::InputTag reco::isodeposit::OtherJetConstituentsDeltaRVeto::srcJets_ |
|
private |
edm::InputTag reco::isodeposit::OtherJetConstituentsDeltaRVeto::srcPFCandAssocMap_ |
|
private |
Direction reco::isodeposit::OtherJetConstituentsDeltaRVeto::vetoDir_ |
|
private |