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 25 of file MuIsoBaseIsolator.h.

Definition at line 15 of file MuIsoBaseIsolator.h.

Definition at line 16 of file MuIsoBaseIsolator.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

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

Definition at line 51 of file MuIsoBaseIsolator.h.

References CandIsolatorFromDeposits_cfi::deposits, and result().

51 {}

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 56 of file MuIsoBaseIsolator.h.

References result().

56  {
57  return result(deposits);
58  }
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 60 of file MuIsoBaseIsolator.h.

References result(), and resultType().

60  {
61  return result(deposits);
62  }
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