ATLAS Offline Software
Public Member Functions | List of all members
top::IsolationBase Class Referenceabstract

A common base for implementing isolation cuts. More...

#include <IsolationTools.h>

Inheritance diagram for top::IsolationBase:
Collaboration diagram for top::IsolationBase:

Public Member Functions

 IsolationBase ()
 Create. More...
 
virtual ~IsolationBase ()
 Destroy! More...
 
virtual bool passSelection (const xAOD::IParticle &p) const =0
 For applying isolation cuts to the analysis (tight) lepton. More...
 
virtual bool passSelectionLoose (const xAOD::IParticle &p) const =0
 For applying loose isolation cuts to the loose lepton. More...
 
virtual void print (std::ostream &os) const =0
 Because people like to know what isolation cuts they're applying. More...
 

Detailed Description

A common base for implementing isolation cuts.

Probably these isolation tools should be in individual files? Time will tell.

Definition at line 16 of file IsolationTools.h.

Constructor & Destructor Documentation

◆ IsolationBase()

top::IsolationBase::IsolationBase ( )

Create.

Definition at line 17 of file IsolationTools.cxx.

17  {
18  }

◆ ~IsolationBase()

top::IsolationBase::~IsolationBase ( )
virtual

Destroy!

Definition at line 20 of file IsolationTools.cxx.

20  {
21  }

Member Function Documentation

◆ passSelection()

virtual bool top::IsolationBase::passSelection ( const xAOD::IParticle p) const
pure virtual

For applying isolation cuts to the analysis (tight) lepton.

Note that you must implement this otherwise it wont compile. Ha.

Parameters
pThe lepton
Returns
True if it passes the isolation cuts, false otherwise.

Implemented in top::StandardIsolation, top::AntiMuonIsolation, top::ApproxPTVarCone, top::RelativePTVarCone, and top::AbsoluteIsolationDC14.

◆ passSelectionLoose()

virtual bool top::IsolationBase::passSelectionLoose ( const xAOD::IParticle p) const
pure virtual

For applying loose isolation cuts to the loose lepton.

Note that you must implement this otherwise it wont compile. Ha.

Parameters
pThe lepton
Returns
True if it passes the isolation cuts, false otherwise.

Implemented in top::StandardIsolation, top::ApproxPTVarCone, top::RelativePTVarCone, top::AbsoluteIsolationDC14, and top::AntiMuonIsolation.

◆ print()

virtual void top::IsolationBase::print ( std::ostream &  os) const
pure virtual

Because people like to know what isolation cuts they're applying.

Parameters
osWhere to print things to, e.g. msg stream.

Implemented in top::StandardIsolation, top::AntiMuonIsolation, top::ApproxPTVarCone, top::RelativePTVarCone, and top::AbsoluteIsolationDC14.


The documentation for this class was generated from the following files: