Loading [MathJax]/jax/output/SVG/config.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Reconstruction
Jet
JetToolHelpers
JetToolHelpers
HistoInput2D.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JETTOOLHELPERS_HISTOINPUT2D_H
6
#define JETTOOLHELPERS_HISTOINPUT2D_H
7
8
#include "TH2.h"
9
#include "TH1.h"
10
#include "
AsgTools/AsgTool.h
"
11
12
#include "
JetToolHelpers/HistoInputBase.h
"
13
#include "
AsgTools/ToolHandle.h
"
14
#include "
JetAnalysisInterfaces/IVarTool.h
"
15
16
namespace
JetHelper
{
17
20
21
class
HistoInput2D
:
public
HistoInputBase
22
{
23
ASG_TOOL_CLASS
(
HistoInput2D
,
IVarTool
)
24
25
public
:
27
HistoInput2D
(
const
std::string&
name
);
29
virtual
StatusCode
initialize
()
override
;
31
virtual
float
getValue
(
const
xAOD::Jet
&
jet
,
const
JetContext
&
event
)
const override
;
32
using
IVarTool::getValue
;
34
virtual
bool
runUnitTests
()
const
;
35
36
private
:
37
39
ToolHandle<IVarTool>
m_varTool1
{
this
,
"varTool1"
,
"VarTool"
,
"InputVariable 1 instance"
};
41
ToolHandle<IVarTool>
m_varTool2
{
this
,
"varTool2"
,
"VarTool"
,
"InputVariable 2 instance"
};
42
// Variable and function to cache projections in case of 1-D interpolaton in 2-D
43
std::vector< std::unique_ptr<TH1> >
m_cachedProj
;
44
StatusCode
cacheProjections
();
45
};
46
}
// namespace JetHelper
47
#endif
48
JetHelper::HistoInput2D::m_cachedProj
std::vector< std::unique_ptr< TH1 > > m_cachedProj
Definition:
HistoInput2D.h:43
JetHelper::JetContext
Class JetContext Designed to read AOD information related to the event, N vertices,...
Definition:
JetContext.h:24
JetHelper::IInputVariable::getValue
virtual float getValue(const xAOD::Jet &jet, const JetContext &jc) const =0
HistoInputBase.h
JetHelper
class IJetCalibStep
Definition:
IInputVariable.h:18
IVarTool.h
JetHelper::HistoInput2D::cacheProjections
StatusCode cacheProjections()
JetHelper::HistoInputBase
Class HistoInputBase This class implement common function used by HistoInput1D and HistoInput2D
Definition:
HistoInputBase.h:25
jet
Definition:
JetCalibTools_PlotJESFactors.cxx:23
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
JetHelper::HistoInput2D
Class HistoInput2D User interface to read 2D histrograms.
Definition:
HistoInput2D.h:22
JetHelper::HistoInput2D::m_varTool2
ToolHandle< IVarTool > m_varTool2
interface for jet InputVariable to be defined by user, correspond to axis Y of hist
Definition:
HistoInput2D.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JetHelper::IVarTool
Definition:
IVarTool.h:23
JetHelper::HistoInput2D::HistoInput2D
HistoInput2D(const std::string &name)
Constructor for standalone usage.
JetHelper::HistoInput2D::m_varTool1
ToolHandle< IVarTool > m_varTool1
interface for jet InputVariable to be defined by user, correspond to axis X of hist
Definition:
HistoInput2D.h:39
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
JetHelper::HistoInput2D::initialize
virtual StatusCode initialize() override
Function initialising the tool.
JetHelper::HistoInput2D::getValue
virtual float getValue(const xAOD::Jet &jet, const JetContext &event) const override
return value of histogram at jet variable
xAOD::Jet_v1
Class describing a jet.
Definition:
Jet_v1.h:57
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition:
AsgToolMacros.h:68
ToolHandle.h
JetHelper::HistoInput2D::runUnitTests
virtual bool runUnitTests() const
standalone test, no implemented yet
AsgTool.h
Generated on Wed May 7 2025 21:10:34 for ATLAS Offline Software by
1.8.18