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

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.

References CandIsolatorFromDeposits_cfi::deposits, and result().

51  {
52  return result(deposits);
53  }
virtual Result result(const DepositContainer &deposits, const edm::Event *=nullptr) const =0
Compute and return the isolation variable.

◆ 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.

References CandIsolatorFromDeposits_cfi::deposits, and result().

57  {
58  return result(deposits);
59  }
virtual Result result(const DepositContainer &deposits, const edm::Event *=nullptr) const =0
Compute and return the isolation variable.

◆ resultType()

virtual ResultType muonisolation::MuIsoBaseIsolator::resultType ( ) const
pure virtual