CMS 3D CMS Logo

Classes | Public Types | Public Member Functions

muonisolation::MuIsoBaseIsolator Class Reference

#include <MuIsoBaseIsolator.h>

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

List of all members.

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 (DepositContainer deposits) const =0
 Compute and return the isolation variable.
virtual Result result (DepositContainer deposits, const reco::Track &muon) const
 Compute and return the isolation variable, with vetoes and the muon.
virtual Result result (DepositContainer deposits, const reco::Candidate &muon) const
 Compute and return the isolation variable, with vetoes and the muon.
virtual ResultType resultType () const =0
virtual ~MuIsoBaseIsolator ()

Detailed Description

Definition at line 10 of file MuIsoBaseIsolator.h.


Member Typedef Documentation

Definition at line 13 of file MuIsoBaseIsolator.h.

Definition at line 14 of file MuIsoBaseIsolator.h.


Member Enumeration Documentation

Enumerator:
ISOL_INT_TYPE 
ISOL_FLOAT_TYPE 
ISOL_BOOL_TYPE 
ISOL_INVALID_TYPE 

Definition at line 25 of file MuIsoBaseIsolator.h.


Constructor & Destructor Documentation

virtual muonisolation::MuIsoBaseIsolator::~MuIsoBaseIsolator ( ) [inline, virtual]

Definition at line 49 of file MuIsoBaseIsolator.h.

{}

Member Function Documentation

virtual Result muonisolation::MuIsoBaseIsolator::result ( DepositContainer  deposits) const [pure virtual]
virtual Result muonisolation::MuIsoBaseIsolator::result ( DepositContainer  deposits,
const reco::Candidate muon 
) const [inline, virtual]

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

Definition at line 54 of file MuIsoBaseIsolator.h.

References result().

                                                                                      {
      return result(deposits);
    }
virtual Result muonisolation::MuIsoBaseIsolator::result ( DepositContainer  deposits,
const reco::Track muon 
) const [inline, virtual]

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

Reimplemented in SimpleCutsIsolator.

Definition at line 58 of file MuIsoBaseIsolator.h.

References result().

                                                                                  {
      return result(deposits);
    }
virtual ResultType muonisolation::MuIsoBaseIsolator::resultType ( ) const [pure virtual]