ATLAS Offline Software
Trigger
TrigConfiguration
TrigConfL1Data
Root
NimThresholdValue.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigConfL1Data/NimThresholdValue.h
"
6
#include <iostream>
7
#include <iomanip>
8
9
using namespace
std;
10
11
TrigConf::NimThresholdValue::NimThresholdValue
() :
12
TriggerThresholdValue
()
13
{}
14
15
TrigConf::TriggerThresholdValue
*
16
TrigConf::NimThresholdValue::createCopy
()
const
{
17
return
new
NimThresholdValue
(*
this
);
18
}
19
20
void
21
TrigConf::NimThresholdValue::print
(
const
std::string&
indent
,
unsigned
int
/*detail*/
)
const
{
22
23
cout <<
indent
<<
"-----------------------"
<< endl;
24
cout <<
indent
<<
"NimThresholdValue: "
<< endl;
25
cout <<
indent
<<
"\t id: "
<<
id
() << endl;
26
cout <<
indent
<<
"\t Name: "
<<
name
() << endl;
27
cout <<
indent
<<
"\t Version: "
<<
version
() << endl;
28
cout <<
indent
<<
"\t Priority: "
<< m_Priority << endl;
29
cout <<
indent
<<
"\t Type: "
<< m_Type << endl;
30
cout <<
indent
<<
"\t ptcut: "
<< m_Ptcut
31
<<
" count="
<< thresholdValueCount() << endl;
32
}
33
34
void
35
TrigConf::NimThresholdValue::writeXML
(std::ostream & xmlfile,
int
indentLevel,
int
indentWidth)
const
{
36
indent
(xmlfile, indentLevel, indentWidth)
37
<<
"<TriggerThresholdValue em_isolation=\"63\" etamin=\"-49\" etamax=\"49\" had_isolation=\"63\" had_veto=\"63\""
38
<<
" name=\""
<<
name
()
39
<<
"\" phimin=\"0\" phimax=\"64\" priority=\""
<< m_Priority
40
<<
"\" thresholdval=\""
<< m_Ptcut
41
<<
"\" type=\""
<< m_Type
42
<<
"\" window=\"0\"/>"
43
<< endl;
44
}
TrigConf::TriggerThresholdValue
Definition:
TriggerThresholdValue.h:22
TrigConf::NimThresholdValue::NimThresholdValue
NimThresholdValue()
Definition:
NimThresholdValue.cxx:11
TrigConf::NimThresholdValue
Definition:
NimThresholdValue.h:11
TrigConf::NimThresholdValue::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const override
Definition:
NimThresholdValue.cxx:35
geometry_dat_to_json.indent
indent
Definition:
geometry_dat_to_json.py:18
NimThresholdValue.h
TrigConf::NimThresholdValue::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition:
NimThresholdValue.cxx:21
id
SG::auxid_t id
Definition:
Control/AthContainers/Root/debug.cxx:194
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
get_generator_info.version
version
Definition:
get_generator_info.py:33
TrigConf::NimThresholdValue::createCopy
virtual TriggerThresholdValue * createCopy() const override
Definition:
NimThresholdValue.cxx:16
Generated on Tue Jul 2 2024 21:23:32 for ATLAS Offline Software by
1.8.18