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
TrigConfiguration
TrigConfL1Data
Root
EtThresholdValue.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigConfL1Data/EtThresholdValue.h
"
6
#include "
TrigConfL1Data/L1DataDef.h
"
7
#include "
TrigConfL1Data/CaloInfo.h
"
8
#include <iostream>
9
10
using namespace
std;
11
12
TrigConf::EtThresholdValue::EtThresholdValue
() :
13
TriggerThresholdValue
()
14
{}
15
16
TrigConf::TriggerThresholdValue
*
17
TrigConf::EtThresholdValue::createCopy
()
const
{
18
return
new
EtThresholdValue
(*
this
);
19
}
20
21
int
22
TrigConf::EtThresholdValue::thresholdValueCount
()
const
{
23
24
int
count
=
static_cast<
int
>
( m_Ptcut * caloInfo().globalJetScale() );
25
26
if
(
type
()==
L1DataDef::typeAsString
(
L1DataDef::JE
) &&
count
> fgCaloJetEtOff) {
27
count
= fgCaloJetEtOff;
28
}
else
if
(
type
()==
L1DataDef::typeAsString
(
L1DataDef::TE
) &&
count
> fgCaloEtSumOff) {
29
count
= fgCaloEtSumOff;
30
}
else
if
(
type
()==
L1DataDef::typeAsString
(
L1DataDef::XE
) &&
count
> fgCaloEtMissOff) {
31
count
= fgCaloEtMissOff;
32
}
33
34
return
count
;
35
}
36
37
void
38
TrigConf::EtThresholdValue::print
(
const
std::string&
indent
,
unsigned
int
/*detail*/
)
const
{
39
cout <<
indent
<<
"-----------------------"
<< endl;
40
cout <<
indent
<<
"EtThresholdValue: "
<< endl;
41
printNameIdV(
indent
);
42
cout <<
indent
<<
"\t Type: "
<< m_Type << endl;
43
cout <<
indent
<<
"\t ptcut: "
<< m_Ptcut
44
<<
" count="
<< thresholdValueCount() << endl;
45
cout <<
indent
<<
"\t etamin: "
<< m_EtaMin << endl;
46
cout <<
indent
<<
"\t etamax: "
<< m_EtaMax << endl;
47
cout <<
indent
<<
"\t phimin: "
<< m_PhiMin << endl;
48
cout <<
indent
<<
"\t phimax: "
<< m_PhiMax << endl;
49
cout <<
indent
<<
"\t priority:"
<< m_Priority << endl;
50
}
51
52
void
53
TrigConf::EtThresholdValue::writeXML
(std::ostream & xmlfile,
int
indentLevel,
int
indentWidth)
const
{
54
indent
(xmlfile, indentLevel, indentWidth)
55
<<
"<TriggerThresholdValue em_isolation=\"63\" etamin=\""
<< m_EtaMin
56
<<
"\" etamax=\""
<< m_EtaMax
57
<<
"\" had_isolation=\"63\" had_veto=\"63\" name=\""
<<
name
()
58
<<
"\" phimin=\""
<< m_PhiMin
59
<<
"\" phimax=\""
<< m_PhiMax
60
<<
"\" priority=\""
<< m_Priority
61
<<
"\" thresholdval=\""
<< m_Ptcut
62
<<
"\" type=\""
<< m_Type
63
<<
"\" window=\"0\"/>"
64
<< endl;
65
}
66
TrigConf::TriggerThresholdValue
Definition:
TriggerThresholdValue.h:22
TrigConf::L1DataDef::JE
@ JE
Definition:
L1DataDef.h:21
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
XMLtoHeader.count
count
Definition:
XMLtoHeader.py:85
TrigConf::L1DataDef::XE
@ XE
Definition:
L1DataDef.h:22
geometry_dat_to_json.indent
indent
Definition:
geometry_dat_to_json.py:37
CaloInfo.h
TrigConf::EtThresholdValue::thresholdValueCount
virtual int thresholdValueCount() const override
Definition:
EtThresholdValue.cxx:22
TrigConf::EtThresholdValue::EtThresholdValue
EtThresholdValue()
Definition:
EtThresholdValue.cxx:12
TrigConf::L1DataDef::TE
@ TE
Definition:
L1DataDef.h:22
TrigConf::L1DataDef::typeAsString
static std::string & typeAsString(TriggerType tt)
Definition:
L1DataDef.h:53
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
TrigConf::EtThresholdValue
Definition:
EtThresholdValue.h:11
L1DataDef.h
EtThresholdValue.h
TrigConf::EtThresholdValue::createCopy
virtual TriggerThresholdValue * createCopy() const override
Definition:
EtThresholdValue.cxx:17
TrigConf::EtThresholdValue::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const override
Definition:
EtThresholdValue.cxx:53
TrigConf::EtThresholdValue::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition:
EtThresholdValue.cxx:38
Generated on Sat Mar 15 2025 21:10:25 for ATLAS Offline Software by
1.8.18