ATLAS Offline Software
Loading...
Searching...
No Matches
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
8using namespace std;
9
13
18
19void
20TrigConf::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
32void
33TrigConf::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
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const override
virtual void print(const std::string &indent="", unsigned int detail=1) const override
virtual TriggerThresholdValue * createCopy() const override
unsigned int id() const
std::ostream & indent(std::ostream &o, int lvl, int size) const
unsigned int version() const
static std::vector< std::string > xmlfile
Definition iLumiCalc.h:29
STL namespace.