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_mult.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 Mult Conditions
7
*/
8
#include "
TrigJetConditionConfig_mult.h
"
9
#include "GaudiKernel/StatusCode.h"
10
#include "
./MultiplicityCondition.h
"
11
#include "
./ArgStrToSizeT.h
"
12
13
TrigJetConditionConfig_mult::TrigJetConditionConfig_mult
(
const
std::string&
type
,
14
const
std::string&
name
,
15
const
IInterface*
parent
) :
16
base_class(
type
,
name
,
parent
){
17
18
}
19
20
21
StatusCode
TrigJetConditionConfig_mult::initialize
() {
22
23
auto
cnvtr =
ArgStrToSizeT
();
24
m_min_szt
= cnvtr(
m_min
);
25
m_max_szt
= cnvtr(
m_max
);
26
27
CHECK
(
checkVals
());
28
29
return
StatusCode::SUCCESS;
30
}
31
32
33
Condition
TrigJetConditionConfig_mult::getCondition
()
const
{
34
return
std::make_unique<MultiplicityCondition>(
m_min_szt
,
m_max_szt
);
35
}
36
37
38
StatusCode
TrigJetConditionConfig_mult::checkVals
()
const
{
39
if
(
m_min_szt
>=
m_max_szt
){
40
ATH_MSG_ERROR
(
"multMin >= multMax "
<<
m_min_szt
<<
" "
<<
m_max_szt
41
<<
" inputs "
<<
m_min
<<
" "
<<
m_max
);
42
return
StatusCode::FAILURE;
43
}
44
return
StatusCode::SUCCESS;
45
}
ArgStrToSizeT.h
MultiplicityCondition.h
TrigJetConditionConfig_mult::m_max
Gaudi::Property< std::string > m_max
Definition:
TrigJetConditionConfig_mult.h:36
TrigJetConditionConfig_mult::checkVals
StatusCode checkVals() const
Definition:
TrigJetConditionConfig_mult.cxx:38
Condition
std::unique_ptr< ICondition > Condition
Definition:
ConditionsDefs.h:19
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
TrigJetConditionConfig_mult::m_min_szt
std::size_t m_min_szt
Definition:
TrigJetConditionConfig_mult.h:38
TrigJetConditionConfig_mult::getCondition
virtual Condition getCondition() const override
Definition:
TrigJetConditionConfig_mult.cxx:33
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
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
TrigJetConditionConfig_mult::initialize
virtual StatusCode initialize() override
Definition:
TrigJetConditionConfig_mult.cxx:21
TrigJetConditionConfig_mult.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
TrigJetConditionConfig_mult::m_max_szt
std::size_t m_max_szt
Definition:
TrigJetConditionConfig_mult.h:39
TrigJetConditionConfig_mult::TrigJetConditionConfig_mult
TrigJetConditionConfig_mult(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
TrigJetConditionConfig_mult.cxx:13
ArgStrToSizeT
Definition:
ArgStrToSizeT.h:13
TrigJetConditionConfig_mult::m_min
Gaudi::Property< std::string > m_min
Definition:
TrigJetConditionConfig_mult.h:33
Generated on Sun Mar 23 2025 21:21:36 for ATLAS Offline Software by
1.8.18