ATLAS Offline Software
Loading...
Searching...
No Matches
CP::MuonPhaseIISelectionTool Class Reference

Dummy selection tool to make the PhaseII workflows work with the arrival of MudiCo in the Acts version. More...

#include <MuonPhaseIISelectionTool.h>

Inheritance diagram for CP::MuonPhaseIISelectionTool:
Collaboration diagram for CP::MuonPhaseIISelectionTool:

Public Member Functions

void print () const override final
 Print the state of the tool.
virtual const asg::AcceptInfo & getAcceptInfo () const override final
 Decide whether the muon in question is a "good muon" or not.
virtual asg::AcceptData accept (const xAOD::Muon &mu) const override final
 Decide whether the muon in question is a "good muon" or not.
virtual void setPassesIDCuts (xAOD::Muon &mu) const override final
 set the passes ID cuts variable of the muon
virtual void setQuality (xAOD::Muon &mu) const override final
 set the passes low pT cuts variable of the muon
virtual bool passedIDCuts (const xAOD::Muon &) const override final
 Returns true if the muon passes the standard MCP ID cuts.
virtual bool passedMuonCuts (const xAOD::Muon &) const override final
 Returns true if the muon passes a standardized loose preselection.
virtual bool passedIDCuts (const xAOD::TrackParticle &) const override final
 Returns true if the muon passes the standard MCP ID cuts.
virtual bool passedHighPtCuts (const xAOD::Muon &) const override final
 Returns true if the muon passes the standard MCP high pt cuts.
virtual bool passedLowPtEfficiencyCuts (const xAOD::Muon &) const override final
 Returns true if the muon passes the standard MCP low pt cuts.
virtual bool passedLowPtEfficiencyCuts (const xAOD::Muon &, xAOD::Muon::Quality thisMu_quality) const override final
 Returns true if the muon passes the standard MCP low pt cuts.
virtual bool passedErrorCutCB (const xAOD::Muon &) const override final
 Returns true if a CB muon passes a pt- and eta-dependent cut on the relative CB q/p error.
virtual bool isBadMuon (const xAOD::Muon &) const override final
 Returns true if a CB muon fails some loose quaility requirements designed to remove pathological tracks.
virtual xAOD::Muon::Quality getQuality (const xAOD::Muon &mu) const override final
 Returns the quality of the muon. To set the value on the muon, instead call setQuality(xAOD::Muon&) const.
virtual bool passedCaloTagQuality (const xAOD::Muon &mu) const override final
 Returns true if the muon passes additional calo-tag quality cuts.
virtual bool passedCaloScore (const xAOD::Muon &mu) const override final
 Returns true if the muon passes the CaloScore calo-tag working point.
virtual int getResolutionCategory (const xAOD::Muon &) const override final
 Returns an integer corresponding to categorization of muons with different resolutions.
virtual float getTightNNScore (const xAOD::Muon &muon) const override final
 Returns the TightNNscore of the muon, an experimental ML-based score for the identification of muons from HF hadron decays.

Private Attributes

asg::AcceptInfo m_acceptInfo {"MuonSelection"}
 Store selection information.

Detailed Description

Dummy selection tool to make the PhaseII workflows work with the arrival of MudiCo in the Acts version.

Definition at line 13 of file MuonPhaseIISelectionTool.h.

Member Function Documentation

◆ accept()

asg::AcceptData CP::MuonPhaseIISelectionTool::accept ( const xAOD::Muon & mu) const
finaloverridevirtual

Decide whether the muon in question is a "good muon" or not.

Definition at line 22 of file MuonPhaseIISelectionTool.cxx.

22 {
23 asg::AcceptData data{&m_acceptInfo};
25 return data;
26 }
#define NOT_IMPLEMENTED()
asg::AcceptInfo m_acceptInfo
Store selection information.

◆ getAcceptInfo()

const asg::AcceptInfo & CP::MuonPhaseIISelectionTool::getAcceptInfo ( ) const
finaloverridevirtual

Decide whether the muon in question is a "good muon" or not.

Definition at line 18 of file MuonPhaseIISelectionTool.cxx.

18 {
20 return m_acceptInfo;
21 }

◆ getQuality()

xAOD::Muon::Quality CP::MuonPhaseIISelectionTool::getQuality ( const xAOD::Muon & mu) const
finaloverridevirtual

Returns the quality of the muon. To set the value on the muon, instead call setQuality(xAOD::Muon&) const.

Definition at line 62 of file MuonPhaseIISelectionTool.cxx.

62 {
64 return xAOD::Muon::Quality::VeryLoose;
65 }
Muon_v1 Muon
Reference the current persistent version:
Definition Muon.h:13

◆ getResolutionCategory()

int CP::MuonPhaseIISelectionTool::getResolutionCategory ( const xAOD::Muon & ) const
finaloverridevirtual

Returns an integer corresponding to categorization of muons with different resolutions.

Definition at line 74 of file MuonPhaseIISelectionTool.cxx.

74 {
76 return 0;
77 }

◆ getTightNNScore()

float CP::MuonPhaseIISelectionTool::getTightNNScore ( const xAOD::Muon & muon) const
finaloverridevirtual

Returns the TightNNscore of the muon, an experimental ML-based score for the identification of muons from HF hadron decays.

Definition at line 78 of file MuonPhaseIISelectionTool.cxx.

78 {
80 return 0.f;
81 }

◆ isBadMuon()

bool CP::MuonPhaseIISelectionTool::isBadMuon ( const xAOD::Muon & ) const
finaloverridevirtual

Returns true if a CB muon fails some loose quaility requirements designed to remove pathological tracks.

Definition at line 58 of file MuonPhaseIISelectionTool.cxx.

58 {
60 return false;
61 }

◆ passedCaloScore()

bool CP::MuonPhaseIISelectionTool::passedCaloScore ( const xAOD::Muon & mu) const
finaloverridevirtual

Returns true if the muon passes the CaloScore calo-tag working point.

Definition at line 70 of file MuonPhaseIISelectionTool.cxx.

70 {
72 return false;
73 }

◆ passedCaloTagQuality()

bool CP::MuonPhaseIISelectionTool::passedCaloTagQuality ( const xAOD::Muon & mu) const
finaloverridevirtual

Returns true if the muon passes additional calo-tag quality cuts.

Definition at line 66 of file MuonPhaseIISelectionTool.cxx.

66 {
68 return false;
69 }

◆ passedErrorCutCB()

bool CP::MuonPhaseIISelectionTool::passedErrorCutCB ( const xAOD::Muon & ) const
finaloverridevirtual

Returns true if a CB muon passes a pt- and eta-dependent cut on the relative CB q/p error.

Definition at line 54 of file MuonPhaseIISelectionTool.cxx.

54 {
56 return false;
57 }

◆ passedHighPtCuts()

bool CP::MuonPhaseIISelectionTool::passedHighPtCuts ( const xAOD::Muon & ) const
finaloverridevirtual

Returns true if the muon passes the standard MCP high pt cuts.

To set the value on the muon, instead call setPassesHighPtCuts(xAOD::Muon&) const

Definition at line 41 of file MuonPhaseIISelectionTool.cxx.

41 {
43 return false;
44 }

◆ passedIDCuts() [1/2]

bool CP::MuonPhaseIISelectionTool::passedIDCuts ( const xAOD::Muon & ) const
finaloverridevirtual

Returns true if the muon passes the standard MCP ID cuts.

To set the value on the muon, instead call setPassesIDCuts(xAOD::Muon&) const

Definition at line 29 of file MuonPhaseIISelectionTool.cxx.

29 {
31 return false;
32 }

◆ passedIDCuts() [2/2]

virtual bool CP::MuonPhaseIISelectionTool::passedIDCuts ( const xAOD::TrackParticle & ) const
finaloverridevirtual

Returns true if the muon passes the standard MCP ID cuts.

To set the value on the muon, instead call setPassesIDCuts(xAOD::Muon&) const

◆ passedLowPtEfficiencyCuts() [1/2]

bool CP::MuonPhaseIISelectionTool::passedLowPtEfficiencyCuts ( const xAOD::Muon & ) const
finaloverridevirtual

Returns true if the muon passes the standard MCP low pt cuts.

To set the value on the muon, instead call setPassesHighPtCuts(xAOD::Muon&) const

Definition at line 45 of file MuonPhaseIISelectionTool.cxx.

45 {
47 return false;
48 }

◆ passedLowPtEfficiencyCuts() [2/2]

bool CP::MuonPhaseIISelectionTool::passedLowPtEfficiencyCuts ( const xAOD::Muon & ,
xAOD::Muon::Quality thisMu_quality ) const
finaloverridevirtual

Returns true if the muon passes the standard MCP low pt cuts.

To set the value on the muon, instead call setPassesHighPtCuts(xAOD::Muon&) const

Definition at line 49 of file MuonPhaseIISelectionTool.cxx.

49 {
51 return false;
52 }

◆ passedMuonCuts()

bool CP::MuonPhaseIISelectionTool::passedMuonCuts ( const xAOD::Muon & ) const
finaloverridevirtual

Returns true if the muon passes a standardized loose preselection.

Definition at line 33 of file MuonPhaseIISelectionTool.cxx.

33 {
35 return false;
36 }

◆ print()

void CP::MuonPhaseIISelectionTool::print ( ) const
finaloverride

Print the state of the tool.

Decide whether the muon in question is a "good muon" or not.

Definition at line 15 of file MuonPhaseIISelectionTool.cxx.

15 {
17 }

◆ setPassesIDCuts()

void CP::MuonPhaseIISelectionTool::setPassesIDCuts ( xAOD::Muon & mu) const
finaloverridevirtual

set the passes ID cuts variable of the muon

Definition at line 27 of file MuonPhaseIISelectionTool.cxx.

◆ setQuality()

void CP::MuonPhaseIISelectionTool::setQuality ( xAOD::Muon & mu) const
finaloverridevirtual

set the passes low pT cuts variable of the muon

set the passes quality variable of the muon

Definition at line 28 of file MuonPhaseIISelectionTool.cxx.

Member Data Documentation

◆ m_acceptInfo

asg::AcceptInfo CP::MuonPhaseIISelectionTool::m_acceptInfo {"MuonSelection"}
private

Store selection information.

Definition at line 54 of file MuonPhaseIISelectionTool.h.

54{"MuonSelection"};

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