CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions
muonisolation::MuIsoBaseIsolator Class Referenceabstract

#include <MuIsoBaseIsolator.h>

Inheritance diagram for muonisolation::MuIsoBaseIsolator:
CutsIsolatorWithCorrection muonisolation::IsolatorByDeposit muonisolation::IsolatorByDepositCount muonisolation::IsolatorByNominalEfficiency SimpleCutsIsolator

Classes

struct  DepositAndVetos
 
class  Result
 

Public Types

typedef std::vector< DepositAndVetosDepositContainer
 
enum  ResultType { ISOL_INT_TYPE = 0, ISOL_FLOAT_TYPE, ISOL_BOOL_TYPE, ISOL_INVALID_TYPE }
 
typedef reco::IsoDeposit::Veto Veto
 
typedef reco::IsoDeposit::Vetos Vetos
 

Public Member Functions

virtual Result result (const DepositContainer &deposits, const edm::Event *=nullptr) const =0
 Compute and return the isolation variable. More...
 
virtual Result result (const DepositContainer &deposits, const reco::Candidate &muon, const edm::Event *=nullptr) const
 Compute and return the isolation variable, with vetoes and the muon. More...
 
virtual Result result (const DepositContainer &deposits, const reco::Track &muon, const edm::Event *=nullptr) const
 Compute and return the isolation variable, with vetoes and the muon. More...
 
virtual ResultType resultType () const =0
 
virtual ~MuIsoBaseIsolator ()
 

Detailed Description

Definition at line 12 of file MuIsoBaseIsolator.h.

Member Typedef Documentation

◆ DepositContainer

Definition at line 23 of file MuIsoBaseIsolator.h.

◆ Veto

Definition at line 14 of file MuIsoBaseIsolator.h.

◆ Vetos

Definition at line 15 of file MuIsoBaseIsolator.h.

Member Enumeration Documentation

◆ ResultType

Enumerator
ISOL_INT_TYPE 
ISOL_FLOAT_TYPE 
ISOL_BOOL_TYPE 
ISOL_INVALID_TYPE 

Definition at line 25 of file MuIsoBaseIsolator.h.

Constructor & Destructor Documentation

◆ ~MuIsoBaseIsolator()

virtual muonisolation::MuIsoBaseIsolator::~MuIsoBaseIsolator ( )
inlinevirtual

Definition at line 44 of file MuIsoBaseIsolator.h.

44 {}

Member Function Documentation

◆ result() [1/3]

virtual Result muonisolation::MuIsoBaseIsolator::result ( const DepositContainer deposits,
const edm::Event = nullptr 
) const
pure virtual

◆ result() [2/3]

virtual Result muonisolation::MuIsoBaseIsolator::result ( const DepositContainer deposits,
const reco::Candidate muon,
const edm::Event = nullptr 
) const
inlinevirtual

Compute and return the isolation variable, with vetoes and the muon.

Definition at line 49 of file MuIsoBaseIsolator.h.

51  {
52  return result(deposits);
53  }

References CandIsolatorFromDeposits_cfi::deposits, and result().

◆ result() [3/3]

virtual Result muonisolation::MuIsoBaseIsolator::result ( const DepositContainer deposits,
const reco::Track muon,
const edm::Event = nullptr 
) const
inlinevirtual

Compute and return the isolation variable, with vetoes and the muon.

Reimplemented in SimpleCutsIsolator, and CutsIsolatorWithCorrection.

Definition at line 55 of file MuIsoBaseIsolator.h.

57  {
58  return result(deposits);
59  }

References CandIsolatorFromDeposits_cfi::deposits, and result().

◆ resultType()

virtual ResultType muonisolation::MuIsoBaseIsolator::resultType ( ) const
pure virtual
muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE
Definition: MuIsoBaseIsolator.h:25
muonisolation::MuIsoBaseIsolator::ISOL_FLOAT_TYPE
Definition: MuIsoBaseIsolator.h:25
muonisolation::MuIsoBaseIsolator::ISOL_INT_TYPE
Definition: MuIsoBaseIsolator.h:25
muonisolation::MuIsoBaseIsolator::result
virtual Result result(const DepositContainer &deposits, const edm::Event *=nullptr) const =0
Compute and return the isolation variable.
muonisolation::MuIsoBaseIsolator::ISOL_INVALID_TYPE
Definition: MuIsoBaseIsolator.h:25
CandIsolatorFromDeposits_cfi.deposits
deposits
Definition: CandIsolatorFromDeposits_cfi.py:4