CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
OneNonIsolatedSelector Struct Reference

Public Member Functions

double cut () const
 
double cut () const
 
 OneNonIsolatedSelector (double cut)
 
 OneNonIsolatedSelector (double cut)
 
bool operator() (double i1, double i2) const
 
bool operator() (double i1, double i2) const
 

Private Attributes

double cut_
 

Detailed Description

Definition at line 25 of file ZToMuMuIsoDepositSelector.cc.

Constructor & Destructor Documentation

◆ OneNonIsolatedSelector() [1/2]

OneNonIsolatedSelector::OneNonIsolatedSelector ( double  cut)
inline

Definition at line 26 of file ZToMuMuIsoDepositSelector.cc.

26 : cut_(cut) {}

◆ OneNonIsolatedSelector() [2/2]

OneNonIsolatedSelector::OneNonIsolatedSelector ( double  cut)
inline

Definition at line 26 of file ZToMuMuIsolationSelector.cc.

26 : cut_(cut) {}

Member Function Documentation

◆ cut() [1/2]

double OneNonIsolatedSelector::cut ( ) const
inline

Definition at line 28 of file ZToMuMuIsoDepositSelector.cc.

28 { return cut_; }

References cut_.

◆ cut() [2/2]

double OneNonIsolatedSelector::cut ( ) const
inline

Definition at line 28 of file ZToMuMuIsolationSelector.cc.

28 { return cut_; }

References cut_.

◆ operator()() [1/2]

bool OneNonIsolatedSelector::operator() ( double  i1,
double  i2 
) const
inline

Definition at line 27 of file ZToMuMuIsolationSelector.cc.

27 { return (i1 < cut_ && i2 >= cut_) || (i1 >= cut_ && i2 < cut_); }

References cut_, testProducerWithPsetDescEmpty_cfi::i1, and testProducerWithPsetDescEmpty_cfi::i2.

◆ operator()() [2/2]

bool OneNonIsolatedSelector::operator() ( double  i1,
double  i2 
) const
inline

Definition at line 27 of file ZToMuMuIsoDepositSelector.cc.

27 { return (i1 < cut_ && i2 >= cut_) || (i1 >= cut_ && i2 < cut_); }

References cut_, testProducerWithPsetDescEmpty_cfi::i1, and testProducerWithPsetDescEmpty_cfi::i2.

Member Data Documentation

◆ cut_

double OneNonIsolatedSelector::cut_
private

Definition at line 31 of file ZToMuMuIsoDepositSelector.cc.

Referenced by cut(), and operator()().

testProducerWithPsetDescEmpty_cfi.i2
i2
Definition: testProducerWithPsetDescEmpty_cfi.py:46
testProducerWithPsetDescEmpty_cfi.i1
i1
Definition: testProducerWithPsetDescEmpty_cfi.py:45
OneNonIsolatedSelector::cut
double cut() const
Definition: ZToMuMuIsoDepositSelector.cc:28
OneNonIsolatedSelector::cut_
double cut_
Definition: ZToMuMuIsoDepositSelector.cc:31