ATLAS Offline Software
Loading...
Searching...
No Matches
Muctpi.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
16
17void
18TrigConf::Muctpi::print(const std::string& indent, unsigned int /*detail*/) const {
19 cout << indent << "Muctpi: " << endl;
20 cout << indent << "\tlvl1 master table id: " << lvl1MasterTableId() << endl;
22 cout << indent << "\tlow pt threshold: " << m_LowptThreshold << endl;
23 cout << indent << "\thigh pt threshold: " << m_HighptThreshold << endl;
24 cout << indent << "\tmaximal cadidates: " << m_MaxCand << endl;
25}
26
27void
28TrigConf::Muctpi::writeXML(std::ostream & xmlfile, int indentLevel, int indentWidth) const {
29 indent(xmlfile, indentLevel, indentWidth) << "<MuctpiInfo name=\"" << name()
30 << "\" low_pt=\"" << m_LowptThreshold
31 << "\" high_pt=\"" << m_HighptThreshold
32 << "\" max_cand=\"" << m_MaxCand << "\"/>" << endl;
33}
unsigned int lvl1MasterTableId() const
int m_LowptThreshold
Definition Muctpi.h:31
int m_HighptThreshold
Definition Muctpi.h:32
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition Muctpi.cxx:28
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition Muctpi.cxx:18
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.