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