ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
}
NimThresholdValue.h
TrigConf::NimThresholdValue::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition
NimThresholdValue.cxx:21
TrigConf::NimThresholdValue::NimThresholdValue
NimThresholdValue()
Definition
NimThresholdValue.cxx:11
TrigConf::NimThresholdValue::createCopy
virtual TriggerThresholdValue * createCopy() const override
Definition
NimThresholdValue.cxx:16
TrigConf::NimThresholdValue::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const override
Definition
NimThresholdValue.cxx:35
TrigConf::TrigConfData::id
unsigned int id() const
Definition
TrigConfData.h:21
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition
TrigConfData.cxx:23
TrigConf::TrigConfData::version
unsigned int version() const
Definition
TrigConfData.h:24
TrigConf::TriggerThresholdValue
Definition
TriggerThresholdValue.h:22
TrigConf::TriggerThresholdValue::m_Priority
unsigned int m_Priority
Definition
TriggerThresholdValue.h:78
TrigConf::TriggerThresholdValue::thresholdValueCount
virtual int thresholdValueCount() const
Definition
TriggerThresholdValue.cxx:76
TrigConf::TriggerThresholdValue::TriggerThresholdValue
TriggerThresholdValue()
Definition
TriggerThresholdValue.cxx:62
TrigConf::TriggerThresholdValue::m_Ptcut
float m_Ptcut
Definition
TriggerThresholdValue.h:77
TrigConf::TriggerThresholdValue::m_Type
std::string m_Type
Definition
TriggerThresholdValue.h:76
xmlfile
static std::vector< std::string > xmlfile
Definition
iLumiCalc.h:29
std
STL namespace.
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0