ATLAS Offline Software
Loading...
Searching...
No Matches
EtThresholdValue.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
8#include <iostream>
9
10using namespace std;
11
15
20
21int
36
37void
38TrigConf::EtThresholdValue::print(const std::string& indent, unsigned int /*detail*/) const {
39 cout << indent << "-----------------------" << endl;
40 cout << indent << "EtThresholdValue: " << endl;
42 cout << indent << "\t Type: " << m_Type << endl;
43 cout << indent << "\t ptcut: " << m_Ptcut
44 << " count=" << thresholdValueCount() << endl;
45 cout << indent << "\t etamin: " << m_EtaMin << endl;
46 cout << indent << "\t etamax: " << m_EtaMax << endl;
47 cout << indent << "\t phimin: " << m_PhiMin << endl;
48 cout << indent << "\t phimax: " << m_PhiMax << endl;
49 cout << indent << "\t priority:" << m_Priority << endl;
50}
51
52void
53TrigConf::EtThresholdValue::writeXML(std::ostream & xmlfile, int indentLevel, int indentWidth) const {
54 indent(xmlfile, indentLevel, indentWidth)
55 << "<TriggerThresholdValue em_isolation=\"63\" etamin=\"" << m_EtaMin
56 << "\" etamax=\"" << m_EtaMax
57 << "\" had_isolation=\"63\" had_veto=\"63\" name=\"" << name()
58 << "\" phimin=\"" << m_PhiMin
59 << "\" phimax=\"" << m_PhiMax
60 << "\" priority=\""<< m_Priority
61 << "\" thresholdval=\"" << m_Ptcut
62 << "\" type=\"" << m_Type
63 << "\" window=\"0\"/>"
64 << endl;
65}
66
virtual int thresholdValueCount() const override
virtual TriggerThresholdValue * createCopy() const override
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 override
static std::string & typeAsString(TriggerType tt)
Definition L1DataDef.h:53
std::ostream & indent(std::ostream &o, int lvl, int size) const
void printNameIdV(const std::string &indent="") const
const std::string & type() const
int count(std::string s, const std::string &regx)
count how many occurances of a regx are in a string
Definition hcg.cxx:146
static std::vector< std::string > xmlfile
Definition iLumiCalc.h:29
STL namespace.