ATLAS Offline Software
Loading...
Searching...
No Matches
PrescaledClock.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
15
16void TrigConf::PrescaledClock::print(const std::string& indent, unsigned int detail) const {
17 if(detail>=1) {
18 cout << indent << "PrescaledClock: "; printNameIdV();
19 if(detail>=2) {
20 cout << indent << " clock1: " << m_clock1 << endl;
21 cout << indent << " clock2: " << m_clock2 << endl;
22 }
23 }
24}
25
26void TrigConf::PrescaledClock::writeXML(std::ostream & xmlfile, int indentLevel, int indentWidth) const {
27 indent(xmlfile,indentLevel, indentWidth)
28 << "<PrescaledClock clock1=\""<<m_clock1<<"\" clock2=\""<<m_clock2<<"\" name=\""<< name() <<"\"/>"
29 << endl;
30}
virtual void print(const std::string &indent="", unsigned int detail=1) const override
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
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.