CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
< DepositAndVetos
DepositContainer
 
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

Definition at line 23 of file MuIsoBaseIsolator.h.

Definition at line 14 of file MuIsoBaseIsolator.h.

Definition at line 15 of file MuIsoBaseIsolator.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

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

Definition at line 44 of file MuIsoBaseIsolator.h.

44 {}

Member Function Documentation

virtual Result muonisolation::MuIsoBaseIsolator::result ( const DepositContainer deposits,
const edm::Event = nullptr 
) const
pure virtual
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 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.
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 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.
virtual ResultType muonisolation::MuIsoBaseIsolator::resultType ( ) const
pure virtual