ATLAS Offline Software
Trigger
TrigConfiguration
TrigConfL1Data
Root
IsolationParam.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigConfL1Data/IsolationParam.h
"
6
7
#include <iostream>
8
#include <iomanip>
9
#include <sstream>
10
#include <stdexcept>
11
12
13
using namespace
std;
14
using namespace
TrigConf
;
15
16
17
IsolationParam::IsolationParam(
const
std::string& thrtype,
18
const
int
isobit,
19
int
offset
,
20
int
slope,
int
mincut,
21
int
upperlimit,
22
int
etamin
,
int
etamax,
23
int
priority
) :
24
m_thrtype(thrtype),
25
m_isDefined(true),
26
m_isobit(isobit),
27
m_offset(
offset
),
28
m_slope(slope),
29
m_mincut(mincut),
30
m_upperlimit(upperlimit),
31
m_etamin(
etamin
),
32
m_etamax(etamax),
33
m_priority(
priority
)
34
{}
35
36
37
38
void
39
IsolationParam::print
(
const
std::string&
indent
,
unsigned
int
/*detail*/
)
const
40
{
41
cout <<
indent
<<
" IsolationParam:"
<< endl
42
<<
indent
<<
" thrtype : "
<<
m_thrtype
<< endl
43
<<
indent
<<
" isobit : "
<<
m_isobit
<< endl
44
<<
indent
<<
" offset : "
<<
m_offset
<< endl
45
<<
indent
<<
" slope : "
<<
m_slope
<< endl
46
<<
indent
<<
" mincut : "
<<
m_mincut
<< endl
47
<<
indent
<<
" upperlimit : "
<<
m_upperlimit
<< endl
48
<<
indent
<<
" etamin : "
<<
m_etamin
<< endl
49
<<
indent
<<
" etamax : "
<<
m_etamax
<< endl
50
<<
indent
<<
" priority : "
<<
m_priority
<< endl;
51
}
52
53
void
54
IsolationParam::writeXML
(std::ostream & xmlfile,
int
indentLevel,
int
indentWidth)
const
55
{
56
if
(
isDefined
())
57
indent
(xmlfile, indentLevel, indentWidth)
58
<<
"<Parametrization"
59
<<
" isobit=\""
<<
m_isobit
<<
"\""
60
<<
" offset=\""
<<
m_offset
<<
"\""
61
<<
" slope=\""
<<
m_slope
<<
"\""
62
<<
" mincut=\""
<<
m_mincut
<<
"\""
63
<<
" upperlimit=\""
<<
m_upperlimit
<<
"\""
64
<<
" etamin=\""
<<
m_etamin
<<
"\""
65
<<
" etamax=\""
<<
m_etamax
<<
"\""
66
<<
" priority=\""
<<
m_priority
<<
"\""
67
<<
"/>"
<< endl;
68
}
TrigConf::IsolationParam::m_isobit
int m_isobit
Definition:
IsolationParam.h:62
TrigConf::IsolationParam::m_etamax
int m_etamax
Definition:
IsolationParam.h:68
TrigConf::IsolationParam::m_etamin
int m_etamin
Definition:
IsolationParam.h:67
python.selector.AtlRunQuerySelectorLhcOlc.priority
priority
Definition:
AtlRunQuerySelectorLhcOlc.py:611
TrigConf::IsolationParam::m_upperlimit
int m_upperlimit
Definition:
IsolationParam.h:66
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition:
Config.h:22
IsolationParam.h
geometry_dat_to_json.indent
indent
Definition:
geometry_dat_to_json.py:36
TrigConf::IsolationParam::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel, int indentWidth) const
Definition:
IsolationParam.cxx:54
TrigConf::IsolationParam::m_priority
int m_priority
Definition:
IsolationParam.h:69
TrigConf::IsolationParam::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition:
IsolationParam.cxx:39
TrigConf::IsolationParam::m_thrtype
std::string m_thrtype
Definition:
IsolationParam.h:60
TrigConf::IsolationParam::m_mincut
int m_mincut
Definition:
IsolationParam.h:65
TrigConf::IsolationParam::isDefined
bool isDefined() const
Definition:
IsolationParam.h:29
convertTimingResiduals.offset
offset
Definition:
convertTimingResiduals.py:71
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition:
TrigConfData.cxx:23
LArCellBinning.etamin
etamin
Definition:
LArCellBinning.py:137
TrigConf::IsolationParam::m_slope
int m_slope
Definition:
IsolationParam.h:64
TrigConf::IsolationParam::m_offset
int m_offset
Definition:
IsolationParam.h:63
Generated on Thu Nov 7 2024 21:17:30 for ATLAS Offline Software by
1.8.18