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_pileuprm.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
Instantiator for PT Condition
7
*/
8
#include "
TrigJetConditionConfig_pileuprm.h
"
9
#include "GaudiKernel/StatusCode.h"
10
#include "
./PileupRemovalCondition.h
"
11
#include "
./ArgStrToDouble.h
"
12
13
14
TrigJetConditionConfig_pileuprm::TrigJetConditionConfig_pileuprm
(
const
std::string&
type
,
15
const
std::string&
name
,
16
const
IInterface*
parent
) :
17
base_class(
type
,
name
,
parent
){
18
19
}
20
21
22
StatusCode
TrigJetConditionConfig_pileuprm::initialize
() {
23
return
StatusCode::SUCCESS;
24
}
25
26
27
Condition
TrigJetConditionConfig_pileuprm::getCondition
()
const
{
28
auto
a2d =
ArgStrToDouble
();
29
30
return
std::make_unique<PileupRemovalCondition>(a2d(
m_min
),
31
a2d(
m_max
));
32
}
33
34
35
StatusCode
TrigJetConditionConfig_pileuprm::checkVals
()
const
{
36
auto
a2d =
ArgStrToDouble
();
37
if
(a2d(
m_min
) > a2d(
m_max
)){
38
ATH_MSG_ERROR
(
" min LogR cut > max LogR cut"
);
39
return
StatusCode::FAILURE;
40
}
41
42
return
StatusCode::SUCCESS;
43
}
TrigJetConditionConfig_pileuprm.h
TrigJetConditionConfig_pileuprm::initialize
virtual StatusCode initialize() override
Definition:
TrigJetConditionConfig_pileuprm.cxx:22
ArgStrToDouble
Definition:
ArgStrToDouble.h:13
ArgStrToDouble.h
TrigJetConditionConfig_pileuprm::TrigJetConditionConfig_pileuprm
TrigJetConditionConfig_pileuprm(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
TrigJetConditionConfig_pileuprm.cxx:14
TrigJetConditionConfig_pileuprm::getCondition
virtual Condition getCondition() const override
Definition:
TrigJetConditionConfig_pileuprm.cxx:27
Condition
std::unique_ptr< ICondition > Condition
Definition:
ConditionsDefs.h:19
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition:
AthMsgStreamMacros.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigJetConditionConfig_pileuprm::checkVals
StatusCode checkVals() const
Definition:
TrigJetConditionConfig_pileuprm.cxx:35
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
TrigJetConditionConfig_pileuprm::m_max
Gaudi::Property< std::string > m_max
Definition:
TrigJetConditionConfig_pileuprm.h:30
PileupRemovalCondition.h
TrigJetConditionConfig_pileuprm::m_min
Gaudi::Property< std::string > m_min
Definition:
TrigJetConditionConfig_pileuprm.h:27
Generated on Mon Mar 24 2025 21:21:36 for ATLAS Offline Software by
1.8.18