CMS 3D CMS Logo

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

Public Member Functions

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

Private Attributes

double cut_
 

Detailed Description

Definition at line 34 of file ZToMuMuIsoDepositSelector.cc.

Constructor & Destructor Documentation

◆ TwoNonIsolatedSelector() [1/2]

TwoNonIsolatedSelector::TwoNonIsolatedSelector ( double  cut)
inline

Definition at line 35 of file ZToMuMuIsoDepositSelector.cc.

35 : cut_(cut) {}

◆ TwoNonIsolatedSelector() [2/2]

TwoNonIsolatedSelector::TwoNonIsolatedSelector ( double  cut)
inline

Definition at line 35 of file ZToMuMuIsolationSelector.cc.

35 : cut_(cut) {}

Member Function Documentation

◆ cut() [1/2]

double TwoNonIsolatedSelector::cut ( ) const
inline

Definition at line 37 of file ZToMuMuIsoDepositSelector.cc.

37 { return cut_; }

References cut_.

◆ cut() [2/2]

double TwoNonIsolatedSelector::cut ( ) const
inline

Definition at line 37 of file ZToMuMuIsolationSelector.cc.

37 { return cut_; }

References cut_.

◆ operator()() [1/2]

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

Definition at line 36 of file ZToMuMuIsolationSelector.cc.

36 { return i1 >= cut_ && i2 >= cut_; }

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

◆ operator()() [2/2]

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

Definition at line 36 of file ZToMuMuIsoDepositSelector.cc.

36 { return i1 >= cut_ && i2 >= cut_; }

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

Member Data Documentation

◆ cut_

double TwoNonIsolatedSelector::cut_
private

Definition at line 40 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
TwoNonIsolatedSelector::cut_
double cut_
Definition: ZToMuMuIsoDepositSelector.cc:40
TwoNonIsolatedSelector::cut
double cut() const
Definition: ZToMuMuIsoDepositSelector.cc:37