ATLAS Offline Software
PhysicsAnalysis
TopPhys
xAOD
TopObjectSelectionTools
TopObjectSelectionTools
SoftMuon.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TOPOBJECTSELECTIONTOOLS_SOFTMUON_H_
6
#define TOPOBJECTSELECTIONTOOLS_SOFTMUON_H_
7
8
#include "
TopObjectSelectionTools/SoftMuonSelectionBase.h
"
9
#include "
TopObjectSelectionTools/IsolationTools.h
"
10
11
#include "
AsgTools/ToolHandle.h
"
12
#include "
MuonAnalysisInterfaces/IMuonSelectionTool.h
"
13
14
namespace
top
{
18
class
SoftMuon
:
public
SoftMuonSelectionBase
{
19
public
:
27
SoftMuon
(
const
double
ptcut
);
28
29
// Does nothing.
30
virtual
~SoftMuon
() {}
31
38
virtual
bool
passSelection
(
const
xAOD::Muon
&
mu
)
const override
;
39
40
// Print the cuts to the ostream.
41
virtual
void
print
(std::ostream&
os
)
const override
;
42
protected
:
43
// Lower pT threshold to apply to object selection.
44
double
m_ptcut
;
45
46
// Proper tool to select muons.
47
ToolHandle<CP::IMuonSelectionTool>
m_softmuonSelectionTool
;
48
};
49
}
// namespace top
50
51
#endif // TOPOBJECTSELECTIONTOOLS_SOFTMUON_H_
top::SoftMuon::passSelection
virtual bool passSelection(const xAOD::Muon &mu) const override
Implements the logic to select good muons.
Definition:
SoftMuon.cxx:16
top
TopConfig A simple configuration that is NOT a singleton.
Definition:
AnalysisTrackingHelper.cxx:58
top::SoftMuon::m_ptcut
double m_ptcut
Definition:
SoftMuon.h:44
Pythia8_A14_NNPDF23LO_forMGHT_EvtGen.ptcut
float ptcut
Definition:
Pythia8_A14_NNPDF23LO_forMGHT_EvtGen.py:9
xAOD::Muon_v1
Class describing a Muon.
Definition:
Muon_v1.h:38
IMuonSelectionTool.h
IsolationTools.h
SoftMuonSelectionBase.h
top::SoftMuonSelectionBase
Definition:
SoftMuonSelectionBase.h:11
ReadFromCoolCompare.os
os
Definition:
ReadFromCoolCompare.py:231
top::SoftMuon::m_softmuonSelectionTool
ToolHandle< CP::IMuonSelectionTool > m_softmuonSelectionTool
Definition:
SoftMuon.h:47
top::SoftMuon::~SoftMuon
virtual ~SoftMuon()
Definition:
SoftMuon.h:30
top::SoftMuon
Select muons based on some early suggestions.
Definition:
SoftMuon.h:18
top::SoftMuon::SoftMuon
SoftMuon(const double ptcut)
Construct the tool to select good muons.
Definition:
SoftMuon.cxx:10
ToolHandle.h
top::SoftMuon::print
virtual void print(std::ostream &os) const override
Because everybody likes to know what object definitions they ran with.
Definition:
SoftMuon.cxx:24
CaloNoise_fillDB.mu
mu
Definition:
CaloNoise_fillDB.py:53
Generated on Fri Jul 5 2024 21:27:16 for ATLAS Offline Software by
1.8.18