ATLAS Offline Software
Loading...
Searching...
No Matches
DeadTime.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
18
19void
20TrigConf::DeadTime::print(const std::string& indent, unsigned int detail) const {
21 if(detail>=1) {
22 cout << indent << "DeadTime "; printNameIdV("");
23 if(detail>=2) {
24 cout << indent << " simple DT: " << m_simple << endl;
25 cout << indent << " complex1 DT size: " << m_complex1Level << " rate: " << m_complex1Rate << endl;
26 cout << indent << " complex2 DT size: " << m_complex2Level << " rate: " << m_complex2Rate << endl;
27 }
28 }
29}
30
31void
32TrigConf::DeadTime::writeXML(std::ostream & xmlfile, int indentLevel, int indentWidth) const {
33 indent(xmlfile,indentLevel, indentWidth)
34 << "<Deadtime complex1_level=\"" << m_complex1Level
35 << "\" complex1_rate=\"" << m_complex1Rate
36 << "\" complex2_level=\"" << m_complex2Level
37 << "\" complex2_rate=\"" << m_complex2Rate
38 << "\" name=\"" << name()
39 << "\" simple=\"" << m_simple << "\"/>"
40 << endl;
41}
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition DeadTime.cxx:20
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition DeadTime.cxx:32
std::ostream & indent(std::ostream &o, int lvl, int size) const
void printNameIdV(const std::string &indent="") const
static std::vector< std::string > xmlfile
Definition iLumiCalc.h:29
STL namespace.