ana::IsolationBase Class Reference

A common base for implementing isolation cuts. Probably these isolation tools should be in individual files? Time will tell. More...

#include <IsolationTools.h>

Inheritance diagram for ana::IsolationBase:
ana::AbsoluteIsolationDC14 ana::ApproxPTVarCone ana::RelativePTVarCone ana::StandardIsolation

List of all members.

Public Member Functions

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

Detailed Description

A common base for implementing isolation cuts. Probably these isolation tools should be in individual files? Time will tell.


Member Function Documentation

virtual bool ana::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:
p The lepton
Returns:
True if it passes the isolation cuts, false otherwise.

Implemented in ana::AbsoluteIsolationDC14, ana::RelativePTVarCone, ana::ApproxPTVarCone, and ana::StandardIsolation.

virtual bool ana::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:
p The lepton
Returns:
True if it passes the isolation cuts, false otherwise.

Implemented in ana::AbsoluteIsolationDC14, ana::RelativePTVarCone, ana::ApproxPTVarCone, and ana::StandardIsolation.

virtual void ana::IsolationBase::print ( std::ostream &  os  )  const [pure virtual]

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

Parameters:
os Where to print things to, e.g. cout.

Implemented in ana::AbsoluteIsolationDC14, ana::RelativePTVarCone, ana::ApproxPTVarCone, and ana::StandardIsolation.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1