ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfL1Data
Root
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
5
#include "
TrigConfL1Data/PrescaledClock.h
"
6
#include <iostream>
7
8
using namespace
std
;
9
10
TrigConf::PrescaledClock::PrescaledClock
() :
11
L1DataBaseclass
(),
12
m_clock1
(0),
13
m_clock2
(0)
14
{}
15
16
void
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
26
void
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
}
PrescaledClock.h
TrigConf::L1DataBaseclass::L1DataBaseclass
L1DataBaseclass()
Definition
L1DataBaseclass.h:24
TrigConf::PrescaledClock::PrescaledClock
PrescaledClock()
Definition
PrescaledClock.cxx:10
TrigConf::PrescaledClock::m_clock1
int m_clock1
Definition
PrescaledClock.h:30
TrigConf::PrescaledClock::m_clock2
int m_clock2
Definition
PrescaledClock.h:31
TrigConf::PrescaledClock::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition
PrescaledClock.cxx:16
TrigConf::PrescaledClock::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition
PrescaledClock.cxx:26
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition
TrigConfData.cxx:23
TrigConf::TrigConfData::printNameIdV
void printNameIdV(const std::string &indent="") const
Definition
TrigConfData.cxx:31
xmlfile
static std::vector< std::string > xmlfile
Definition
iLumiCalc.h:29
detail
Definition
extract_histogram_tag.cxx:14
std
STL namespace.
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0