ATLAS Offline Software
Loading...
Searching...
No Matches
MuonPhaseIISelectionTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONSELECTORTOOLS_MUONPHASEIISELECTIONTOOL_H
5#define MUONSELECTORTOOLS_MUONPHASEIISELECTIONTOOL_H
6
9
10namespace CP{
13 class MuonPhaseIISelectionTool : public extends<AthAlgTool, IMuonSelectionTool> {
14 public:
15 using base_class::base_class;
17 void print() const override final;
19 virtual const asg::AcceptInfo& getAcceptInfo() const override final;
21 virtual asg::AcceptData accept(const xAOD::Muon& mu) const override final;
23 virtual void setPassesIDCuts(xAOD::Muon& mu) const override final;
25 virtual void setQuality(xAOD::Muon& mu) const override final;
27 virtual bool passedIDCuts(const xAOD::Muon&) const override final;
29 virtual bool passedMuonCuts(const xAOD::Muon&) const override final;
31 virtual bool passedIDCuts(const xAOD::TrackParticle&) const override final;
33 virtual bool passedHighPtCuts(const xAOD::Muon&) const override final;
35 virtual bool passedLowPtEfficiencyCuts(const xAOD::Muon&) const override final;
37 virtual bool passedLowPtEfficiencyCuts(const xAOD::Muon&, xAOD::Muon::Quality thisMu_quality) const override final;
39 virtual bool passedErrorCutCB(const xAOD::Muon&) const override final;
41 virtual bool isBadMuon(const xAOD::Muon&) const override final;
43 virtual xAOD::Muon::Quality getQuality(const xAOD::Muon& mu) const override final;
45 virtual bool passedCaloTagQuality(const xAOD::Muon& mu) const override final;
47 virtual bool passedCaloScore(const xAOD::Muon& mu) const override final;
49 virtual int getResolutionCategory(const xAOD::Muon&) const override final;
51 virtual float getTightNNScore(const xAOD::Muon& muon) const override final;
52 private:
54 asg::AcceptInfo m_acceptInfo{"MuonSelection"};
55
56 };
57}
58#endif
Dummy selection tool to make the PhaseII workflows work with the arrival of MudiCo in the Acts versio...
virtual bool passedHighPtCuts(const xAOD::Muon &) const override final
Returns true if the muon passes the standard MCP high pt cuts.
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&) c...
void print() const override final
Print the state of the tool.
virtual void setPassesIDCuts(xAOD::Muon &mu) const override final
set the passes ID cuts variable of the muon
virtual bool passedMuonCuts(const xAOD::Muon &) const override final
Returns true if the muon passes a standardized loose preselection.
virtual asg::AcceptData accept(const xAOD::Muon &mu) const override final
Decide whether the muon in question is a "good muon" or not.
virtual bool passedCaloScore(const xAOD::Muon &mu) const override final
Returns true if the muon passes the CaloScore calo-tag working point.
virtual bool isBadMuon(const xAOD::Muon &) const override final
Returns true if a CB muon fails some loose quaility requirements designed to remove pathological trac...
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 ...
virtual int getResolutionCategory(const xAOD::Muon &) const override final
Returns an integer corresponding to categorization of muons with different resolutions.
virtual bool passedIDCuts(const xAOD::TrackParticle &) const override final
Returns true if the muon passes the standard MCP ID 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 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 passedCaloTagQuality(const xAOD::Muon &mu) const override final
Returns true if the muon passes additional calo-tag quality cuts.
virtual const asg::AcceptInfo & getAcceptInfo() const override final
Decide whether the muon in question is a "good muon" or not.
virtual bool passedLowPtEfficiencyCuts(const xAOD::Muon &) const override final
Returns true if the muon passes the standard MCP low pt cuts.
asg::AcceptInfo m_acceptInfo
Store selection information.
Select isolated Photons, Electrons and Muons.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Muon_v1 Muon
Reference the current persistent version:
Definition Muon.h:13