ATLAS Offline Software
XsThresholdValue.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 #include <iostream>
8 
11 {}
12 
15  return new XsThresholdValue(*this);
16 }
17 
18 void
19 TrigConf::XsThresholdValue::print(const std::string& indent, unsigned int /*detail*/) const {
20  std::cout << indent << "-----------------------" << std::endl;
21  std::cout << indent << "XsThresholdValue: " << std::endl;
22  printNameIdV(indent);
23  std::cout << indent << "\t Type: " << m_Type << std::endl;
24  std::cout << indent << "\t ptcut: " << m_Ptcut
25  << " count=" << thresholdValueCount() << std::endl;
26 }
27 
28 void
29 TrigConf::XsThresholdValue::writeXML(std::ostream & xmlfile, int indentLevel, int indentWidth) const {
30  indent(xmlfile, indentLevel, indentWidth)
31  << "<TriggerThresholdValue em_isolation=\"63\" etamin=\"-49\" etamax=\"49\" had_isolation=\"63\" had_veto=\"63\" name=\"" << name()
32  << "\" phimin=\"0\" phimax=\"64\" priority=\""<< m_Priority
33  << "\" thresholdval=\"" << m_Ptcut
34  << "\" type=\"" << m_Type
35  << "\" window=\"0\"/>"
36  << std::endl;
37 }
TrigConf::TriggerThresholdValue
Definition: TriggerThresholdValue.h:22
TrigConf::XsThresholdValue::XsThresholdValue
XsThresholdValue()
Definition: XsThresholdValue.cxx:9
TrigConf::XsThresholdValue
Definition: XsThresholdValue.h:11
XsThresholdValue.h
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:18
TrigConf::XsThresholdValue::createCopy
virtual TriggerThresholdValue * createCopy() const override
Definition: XsThresholdValue.cxx:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
L1DataDef.h
TrigConf::XsThresholdValue::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const override
Definition: XsThresholdValue.cxx:29
TrigConf::XsThresholdValue::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition: XsThresholdValue.cxx:19