Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Merge requests
!32317
add JetAnalysisInterfaces
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add JetAnalysisInterfaces
lheinric/athena:add_flavour_tag
into
master
Overview
18
Commits
2
Pipelines
0
Changes
5
Merged
Lukas Alexander Heinrich
requested to merge
lheinric/athena:add_flavour_tag
into
master
4 years ago
Overview
15
Commits
2
Pipelines
0
Changes
5
Expand
0
0
Merge request reports
Compare
master
version 1
9cb31bac
4 years ago
master (base)
and
version 1
latest version
ee90c658
2 commits,
4 years ago
version 1
9cb31bac
1 commit,
4 years ago
5 files
+
155
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
PhysicsAnalysis/Interfaces/JetAnalysisInterfaces/JetAnalysisInterfaces/IJetJvtEfficiency.h
0 → 100644
+
77
−
0
Options
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef JETANALYSISINTERFACES_IJETJVTEFFICIENCY_H_
#define JETANALYSISINTERFACES_IJETJVTEFFICIENCY_H_
// EDM include(s):
#include
"xAODJet/JetContainer.h"
// Local include(s):
#include
"PATInterfaces/CorrectionCode.h"
#include
"PATInterfaces/ISystematicsTool.h"
// STL include(s):
#include
<string>
#include
<vector>
#include
<map>
namespace
CP
{
const
static
SystematicVariation
JvtEfficiencyUp
(
"JET_JvtEfficiency__1up"
);
const
static
SystematicVariation
JvtEfficiencyDown
(
"JET_JvtEfficiency__1down"
);
const
static
SystematicVariation
fJvtEfficiencyUp
(
"JET_fJvtEfficiency__1up"
);
const
static
SystematicVariation
fJvtEfficiencyDown
(
"JET_fJvtEfficiency__1down"
);
const
static
SystematicVariation
MVfJvtEfficiencyUp
(
"JET_MVfJvtEfficiency__1up"
);
const
static
SystematicVariation
MVfJvtEfficiencyDown
(
"JET_MVfJvtEfficiency__1down"
);
class
IJetJvtEfficiency
:
public
virtual
CP
::
ISystematicsTool
{
//Declare the interface that the class provides
ASG_TOOL_INTERFACE
(
CP
::
IJetJvtEfficiency
)
public:
virtual
~
IJetJvtEfficiency
()
{}
//Fills sf with the Jvt efficiency scale factor. If the jet is out of the defined jet pt
//range, or if the jet fails passesJvtCut, a value of 1 is returned.
virtual
CorrectionCode
getEfficiencyScaleFactor
(
const
xAOD
::
Jet
&
jet
,
float
&
sf
)
=
0
;
//Fills sf with the Jvt inefficiency scale factor. If the jet is out of the defined jet pt
//range, or if the jet fails passesJvtCut, a value of 1 is returned.
virtual
CorrectionCode
getInefficiencyScaleFactor
(
const
xAOD
::
Jet
&
jet
,
float
&
sf
)
=
0
;
//Returns the Jvt scale factor as a decoration on the jet.
virtual
CorrectionCode
applyEfficiencyScaleFactor
(
const
xAOD
::
Jet
&
jet
)
=
0
;
//Returns the Jvt scale factor as a decoration on the jet.
virtual
CorrectionCode
applyInefficiencyScaleFactor
(
const
xAOD
::
Jet
&
jet
)
=
0
;
//Returns the jvt scale factors as decorations on the input jets and fills in the combined scale factor into sf
virtual
CorrectionCode
applyAllEfficiencyScaleFactor
(
const
xAOD
::
IParticleContainer
*
jets
,
float
&
sf
)
=
0
;
//Checks if the jet passes the jvt cut threshold.
//Uses maximum validity range by default, but there is a configurable parameter
//to lower the max pt value (if one only wants to use jvt up to 50 GeV, for example.
virtual
bool
passesJvtCut
(
const
xAOD
::
Jet
&
jet
)
=
0
;
//Checks if the jet lies in the pt and eta range where Jvt is valid.
//0<|eta|<2.4 and 20<pt<60 GeV
virtual
bool
isInRange
(
const
xAOD
::
Jet
&
jet
)
=
0
;
//returns actual jvtthreshold
virtual
float
getJvtThresh
()
const
=
0
;
//returns user-defined max pt if applicable (by default is the same as the max pt range of the histograms)
virtual
float
getUserPtMax
()
const
=
0
;
//Applies truth matching decoration to determine appropriate scale factor type -- call before extracting SFs
virtual
StatusCode
tagTruth
(
const
xAOD
::
IParticleContainer
*
jets
,
const
xAOD
::
IParticleContainer
*
truthJets
)
=
0
;
};
// class IJetJvtEfficiencyTool
}
// namespace CP
#endif
/* JETANALYSISINTERFACES_IJETJVTEFFICIENCY_H_ */
Loading