ATLAS Offline Software
|
Select muons based on some early suggestions. More...
#include <AntiMuon.h>
Public Member Functions | |
AntiMuon (const double ptcut, AntiMuonIsolation *isolation) | |
Construct the tool to select good muons. More... | |
virtual | ~AntiMuon () |
Does nothing. More... | |
virtual bool | passSelection (const xAOD::Muon &mu) const override |
Implements the logic to select good muons. More... | |
virtual bool | passSelectionLoose (const xAOD::Muon &mu) const override |
The loose selection needed by some background estimates. More... | |
virtual void | print (std::ostream &os) const override |
Print the cuts to the ostream. More... | |
Protected Attributes | |
double | m_ptcut |
Lower pT threshold to apply to object selection. More... | |
ToolHandle< CP::IMuonSelectionTool > | m_muonSelectionTool |
Proper tool to select muons. More... | |
std::unique_ptr< top::AntiMuonIsolation > | m_isolation |
Isolation tool, can be nullptr meaning "no isolation requirement". More... | |
Select muons based on some early suggestions.
Definition at line 18 of file AntiMuon.h.
top::AntiMuon::AntiMuon | ( | const double | ptcut, |
AntiMuonIsolation * | isolation | ||
) |
Construct the tool to select good muons.
ptcut | The minimum pT cut for good muons. |
isolation | The isolation the user wants to apply. Don't want any isolation to be applied? Then leave this as a nullptr. |
Definition at line 10 of file AntiMuon.cxx.
|
inlinevirtual |
|
overridevirtual |
Implements the logic to select good muons.
mu | The muon that we want to check. |
Implements top::MuonSelectionBase.
Definition at line 17 of file AntiMuon.cxx.
|
overridevirtual |
The loose selection needed by some background estimates.
mu |
Implements top::MuonSelectionBase.
Definition at line 25 of file AntiMuon.cxx.
|
overridevirtual |
Print the cuts to the ostream.
Implements top::MuonSelectionBase.
Definition at line 31 of file AntiMuon.cxx.
|
protected |
Isolation tool, can be nullptr meaning "no isolation requirement".
Definition at line 58 of file AntiMuon.h.
|
protected |
Proper tool to select muons.
Definition at line 55 of file AntiMuon.h.
|
protected |
Lower pT threshold to apply to object selection.
Definition at line 52 of file AntiMuon.h.