CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::isodeposit::ThresholdVeto Class Reference

#include <IsoDepositVetos.h>

Inheritance diagram for reco::isodeposit::ThresholdVeto:
reco::isodeposit::AbsVeto

Public Member Functions

void centerOn (double eta, double phi) override
 
 ThresholdVeto (double threshold)
 
bool veto (double eta, double phi, float value) const override
 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 threshold_
 

Detailed Description

Definition at line 21 of file IsoDepositVetos.h.

Constructor & Destructor Documentation

◆ ThresholdVeto()

reco::isodeposit::ThresholdVeto::ThresholdVeto ( double  threshold)
inline

Definition at line 23 of file IsoDepositVetos.h.

Member Function Documentation

◆ centerOn()

void ThresholdVeto::centerOn ( double  eta,
double  phi 
)
overridevirtual

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 16 of file IsoDepositVetos.cc.

16 {}

◆ veto()

bool ThresholdVeto::veto ( double  eta,
double  phi,
float  value 
) const
overridevirtual

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 15 of file IsoDepositVetos.cc.

15 { return (value <= threshold_); }

References threshold_.

Member Data Documentation

◆ threshold_

float reco::isodeposit::ThresholdVeto::threshold_
private

Definition at line 28 of file IsoDepositVetos.h.

Referenced by veto().

value
Definition: value.py:1
reco::isodeposit::ThresholdVeto::threshold_
float threshold_
Definition: IsoDepositVetos.h:28
remoteMonitoring_LED_IterMethod_cfg.threshold
threshold
Definition: remoteMonitoring_LED_IterMethod_cfg.py:430