Loading [MathJax]/extensions/tex2jax.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
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
Trigger
TrigHypothesis
TrigHLTJetHypo
src
TrigJetConditionConfig_htdipz.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
Instantiator for ht+dipz Conditions
7
*/
8
#include "
TrigJetConditionConfig_htdipz.h
"
9
#include "GaudiKernel/StatusCode.h"
10
#include "
./DipzLikelihoodCmp.h
"
11
#include "
./MaxCombinationCondition.h
"
12
#include "
./HTConditionFastReduction.h
"
13
#include "
./ArgStrToDouble.h
"
14
15
16
TrigJetConditionConfig_htdipz::TrigJetConditionConfig_htdipz
(
const
std::string&
type
,
17
const
std::string&
name
,
18
const
IInterface*
parent
) :
19
base_class(
type
,
name
,
parent
){
20
21
}
22
23
24
StatusCode
TrigJetConditionConfig_htdipz::initialize
() {
25
CHECK
(
checkVals
());
26
27
return
StatusCode::SUCCESS;
28
}
29
30
31
Condition
TrigJetConditionConfig_htdipz::getCondition
()
const
{
32
auto
a2d =
ArgStrToDouble
();
33
34
DipzLikelihoodCmp
mlplComp(
m_decName_z
,
m_decName_negLogSigma2
);
35
std::unique_ptr<HTConditionFastReduction> HTcond = std::make_unique<HTConditionFastReduction>(a2d(
m_min
), a2d(
m_max
));
36
return
std::make_unique<MaxCombinationCondition<DipzLikelihoodCmp>>(a2d(
m_capacity
), std::move(HTcond), mlplComp);
37
38
}
39
40
41
StatusCode
TrigJetConditionConfig_htdipz::checkVals
()
const
{
42
auto
a2d =
ArgStrToDouble
();
43
if
(a2d(
m_min
) > a2d(
m_max
)){
44
ATH_MSG_ERROR
(
"htMin > htMax"
);
45
return
StatusCode::FAILURE;
46
}
47
return
StatusCode::SUCCESS;
48
}
MaxCombinationCondition.h
TrigJetConditionConfig_htdipz::m_decName_z
Gaudi::Property< std::string > m_decName_z
Definition:
TrigJetConditionConfig_htdipz.h:35
TrigJetConditionConfig_htdipz::m_max
Gaudi::Property< std::string > m_max
Definition:
TrigJetConditionConfig_htdipz.h:41
TrigJetConditionConfig_htdipz::initialize
virtual StatusCode initialize() override
Definition:
TrigJetConditionConfig_htdipz.cxx:24
TrigJetConditionConfig_htdipz::TrigJetConditionConfig_htdipz
TrigJetConditionConfig_htdipz(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
TrigJetConditionConfig_htdipz.cxx:16
ArgStrToDouble
Definition:
ArgStrToDouble.h:13
ArgStrToDouble.h
TrigJetConditionConfig_htdipz::m_min
Gaudi::Property< std::string > m_min
Definition:
TrigJetConditionConfig_htdipz.h:39
HTConditionFastReduction.h
Condition
std::unique_ptr< ICondition > Condition
Definition:
ConditionsDefs.h:19
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
TrigJetConditionConfig_htdipz::checkVals
StatusCode checkVals() const
Definition:
TrigJetConditionConfig_htdipz.cxx:41
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition:
AthMsgStreamMacros.h:33
TrigJetConditionConfig_htdipz.h
DipzLikelihoodCmp.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition:
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
DipzLikelihoodCmp
Definition:
DipzLikelihoodCmp.h:66
TrigJetConditionConfig_htdipz::m_decName_negLogSigma2
Gaudi::Property< std::string > m_decName_negLogSigma2
Definition:
TrigJetConditionConfig_htdipz.h:37
TrigJetConditionConfig_htdipz::getCondition
virtual Condition getCondition() const override
Definition:
TrigJetConditionConfig_htdipz.cxx:31
TrigJetConditionConfig_htdipz::m_capacity
Gaudi::Property< std::string > m_capacity
Definition:
TrigJetConditionConfig_htdipz.h:33
Generated on Mon Mar 24 2025 21:21:35 for ATLAS Offline Software by
1.8.18