test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
reco::isodeposit::ConeThresholdVeto Class Reference

#include <IsoDepositVetos.h>

Inheritance diagram for reco::isodeposit::ConeThresholdVeto:
reco::isodeposit::AbsVeto

Public Member Functions

virtual void centerOn (double eta, double phi)
 
 ConeThresholdVeto (Direction dir, double dr, double threshold)
 
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

float dR2_
 
float threshold_
 
Direction vetoDir_
 

Detailed Description

Definition at line 55 of file IsoDepositVetos.h.

Constructor & Destructor Documentation

reco::isodeposit::ConeThresholdVeto::ConeThresholdVeto ( Direction  dir,
double  dr,
double  threshold 
)
inline

Member Function Documentation

void ConeThresholdVeto::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 48 of file IsoDepositVetos.cc.

References vetoDir_.

bool ConeThresholdVeto::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 45 of file IsoDepositVetos.cc.

References reco::isodeposit::Direction::deltaR2(), dR2_, threshold_, and vetoDir_.

Member Data Documentation

float reco::isodeposit::ConeThresholdVeto::dR2_
private

Definition at line 61 of file IsoDepositVetos.h.

Referenced by veto().

float reco::isodeposit::ConeThresholdVeto::threshold_
private

Definition at line 61 of file IsoDepositVetos.h.

Referenced by veto().

Direction reco::isodeposit::ConeThresholdVeto::vetoDir_
private

Definition at line 61 of file IsoDepositVetos.h.

Referenced by centerOn(), and veto().