ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetCalibTools
JetCalibTools
MuonInJetCorrectionTool.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// MuonInJetCorrectionTool.h
8
// Header file for class MuonInJetCorrectionTool
9
// Authors: Mohamed Belfkir <mohamed.belfkir@cern.ch>
10
// Thomas Strebler <thomas.strebler@cern.ch>
12
13
#ifndef JETCALIBTOOLS_APPLYMUONINJETCORRECTION_H
14
#define JETCALIBTOOLS_APPLYMUONINJETCORRECTION_H 1
15
16
#include "
AsgTools/AsgTool.h
"
17
#include "
AsgTools/PropertyWrapper.h
"
18
19
#include "
JetAnalysisInterfaces/IMuonInJetCorrectionTool.h
"
20
21
#include "
xAODJet/Jet.h
"
22
#include "
xAODMuon/Muon.h
"
23
24
#include <vector>
25
26
27
class
MuonInJetCorrectionTool
:
public
asg::AsgTool
,
28
virtual
public
IMuonInJetCorrectionTool
{
29
30
ASG_TOOL_CLASS1
(
MuonInJetCorrectionTool
,
IMuonInJetCorrectionTool
)
31
32
public
:
34
MuonInJetCorrectionTool
(
const
std::string& name);
35
36
virtual
StatusCode
applyMuonInJetCorrection
(
xAOD::Jet
&
jet
,
const
std::vector<const xAOD::Muon*>& muons,
int
& nmuons)
const override
;
37
38
private
:
39
40
const
xAOD::Muon
*
getMuonInJet
(
const
xAOD::Jet
&
jet
,
const
std::vector<const xAOD::Muon*>& muons,
int
& nmuons)
const
;
41
42
Gaudi::Property<bool>
m_changeAngularComponents
{
this
,
"changeAngularComponents"
,
false
,
"Change angular components of the jet 4-vector"
};
43
Gaudi::Property<double>
m_Jet_Muon_dR
{
this
,
"Jet_Muon_dR"
, 0.4,
"Muon-matching dR cut"
};
44
Gaudi::Property<bool>
m_doVR
{
this
,
"doVR"
,
true
,
"Use variable radius for muon matching"
};
45
Gaudi::Property<bool>
m_doLargeR
{
this
,
"doLargeR"
,
false
,
"Do correction for large-R jets"
};
46
47
};
48
#endif
//> !JETCALIBTOOLS_APPLYMUONINJETCORRECTION_H
49
ASG_TOOL_CLASS1
#define ASG_TOOL_CLASS1
Definition
AsgToolMacros.h:75
AsgTool.h
Jet.h
Muon.h
IMuonInJetCorrectionTool.h
PropertyWrapper.h
IMuonInJetCorrectionTool
class IMuonInJetCorrectionTool
Definition
IMuonInJetCorrectionTool.h:24
MuonInJetCorrectionTool::m_doVR
Gaudi::Property< bool > m_doVR
Definition
MuonInJetCorrectionTool.h:44
MuonInJetCorrectionTool::m_changeAngularComponents
Gaudi::Property< bool > m_changeAngularComponents
Definition
MuonInJetCorrectionTool.h:42
MuonInJetCorrectionTool::m_doLargeR
Gaudi::Property< bool > m_doLargeR
Definition
MuonInJetCorrectionTool.h:45
MuonInJetCorrectionTool::applyMuonInJetCorrection
virtual StatusCode applyMuonInJetCorrection(xAOD::Jet &jet, const std::vector< const xAOD::Muon * > &muons, int &nmuons) const override
Definition
MuonInJetCorrectionTool.cxx:17
MuonInJetCorrectionTool::getMuonInJet
const xAOD::Muon * getMuonInJet(const xAOD::Jet &jet, const std::vector< const xAOD::Muon * > &muons, int &nmuons) const
Definition
MuonInJetCorrectionTool.cxx:40
MuonInJetCorrectionTool::MuonInJetCorrectionTool
MuonInJetCorrectionTool(const std::string &name)
Constructor with parameters:
Definition
MuonInJetCorrectionTool.cxx:13
MuonInJetCorrectionTool::m_Jet_Muon_dR
Gaudi::Property< double > m_Jet_Muon_dR
Definition
MuonInJetCorrectionTool.h:43
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
xAOD::Muon
Muon_v1 Muon
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/Muon.h:13
Generated on
for ATLAS Offline Software by
1.17.0