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 *=0) const =0
 Compute and return the isolation variable. More...
 
virtual Result result (const DepositContainer &deposits, const reco::Candidate &muon, const edm::Event *=0) 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 *=0) 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.

References CandIsolatorFromDeposits_cfi::deposits, and result().

44 {}

Member Function Documentation

virtual Result muonisolation::MuIsoBaseIsolator::result ( const DepositContainer deposits,
const edm::Event = 0 
) const
pure virtual
virtual Result muonisolation::MuIsoBaseIsolator::result ( const DepositContainer deposits,
const reco::Candidate muon,
const edm::Event = 0 
) 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 *=0) const =0
Compute and return the isolation variable.
virtual Result muonisolation::MuIsoBaseIsolator::result ( const DepositContainer deposits,
const reco::Track muon,
const edm::Event = 0 
) 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(), and resultType().

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