ATLAS Offline Software
Loading...
Searching...
No Matches
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
6#include <iostream>
7#include <iomanip>
8
9using namespace std;
10
14
19
20void
21TrigConf::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
34void
35TrigConf::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}
virtual void print(const std::string &indent="", unsigned int detail=1) const override
virtual TriggerThresholdValue * createCopy() const override
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) 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.