|
ATLAS Offline Software
|
#include <MuctpiXMLParser.h>
Definition at line 33 of file MuctpiXMLParser.h.
◆ MuctpiXMLParser()
MuctpiXMLParser::MuctpiXMLParser |
( |
| ) |
|
◆ ~MuctpiXMLParser()
virtual MuctpiXMLParser::~MuctpiXMLParser |
( |
| ) |
|
|
overridevirtualdefault |
◆ getMuCTPiGeometry()
◆ msg() [1/2]
MsgStreamTC & TrigConf::TrigConfMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 81 of file TrigConfMessaging.h.
◆ msg() [2/2]
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 91 of file TrigConfMessaging.h.
◆ msgLvl()
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 70 of file TrigConfMessaging.h.
◆ parseConfiguration()
void MuctpiXMLParser::parseConfiguration |
( |
| ) |
|
Definition at line 55 of file MuctpiXMLParser.cxx.
59 for(
const boost::property_tree::ptree::value_type &
x:
m_muctpiPT) {
61 string menuElementName =
x.first;
62 if (menuElementName==
"<xmlattr>" || menuElementName==
"<xmlcomment>")
continue;
63 ptree menuElement =
x.second;
66 if( menuElementName==
"MIOCT" ) {
72 }
else if( menuElementName==
"PtEncoding" ) {
◆ printConfiguration()
void MuctpiXMLParser::printConfiguration |
( |
| ) |
const |
Definition at line 35 of file MuctpiXMLParser.cxx.
36 cout <<
"************************** MuctpiXMLParser **********************" << endl;
38 cout <<
"*****************************************************************" << endl;
◆ readConfiguration()
void MuctpiXMLParser::readConfiguration |
( |
const std::string & |
inputfile | ) |
|
◆ setConfiguration()
◆ setOctant()
Definition at line 111 of file MuctpiXMLParser.cxx.
118 for(
const boost::property_tree::ptree::value_type &
x:menuElement ) {
120 string menuElementNameO =
x.first;
121 if (menuElementNameO==
"<xmlattr>" || menuElementNameO==
"<xmlcomment>")
continue;
122 ptree menuElementO =
x.second;
125 if( menuElementNameO==
"Sector" ){
131 else if( menuElementNameO ==
"Decode" ){
132 for(
const boost::property_tree::ptree::value_type &
y: menuElementO) {
133 string menuElementName1 =
y.first;
134 if (menuElementName1==
"<xmlattr>" || menuElementName1==
"<xmlcomment>")
continue;
135 ptree menuElement1 =
y.second;
◆ setPtEncoding()
Definition at line 91 of file MuctpiXMLParser.cxx.
93 for(
const auto &
x : menuElement ) {
94 if(
x.first ==
"PtCodeElement" ) {
100 unsigned int idx = idxP1 - 1;
◆ setROI()
◆ setSector()
Definition at line 145 of file MuctpiXMLParser.cxx.
151 for(
const boost::property_tree::ptree::value_type &
x:menuElement ) {
153 string menuElementNameO =
x.first;
154 if (menuElementNameO==
"<xmlattr>" || menuElementNameO==
"<xmlcomment>")
continue;
155 ptree menuElementO =
x.second;
158 if( menuElementNameO==
"ROI" ){
161 setROI(menuElementO, roi);
◆ setTopoCell()
◆ setVerbosity()
void MuctpiXMLParser::setVerbosity |
( |
int |
v | ) |
|
|
inline |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStreamTC> TrigConf::TrigConfMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStreamTC instance (a std::cout like with print-out levels)
Definition at line 66 of file TrigConfMessaging.h.
◆ m_muctpi
◆ m_muctpiPT
◆ m_name
std::string TrigConf::TrigConfMessaging::m_name |
|
privateinherited |
◆ m_verbosity
int MuctpiXMLParser::m_verbosity {0} |
|
private |
◆ m_xmlHelper
The documentation for this class was generated from the following files:
void addOctant(const MioctGeometry &octant)
void addROI(const MioctROIGeometry &roi)
char data[hepevt_bytes_allocation_ATLAS]
std::string getAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
void setCodingInfo(unsigned int idx, unsigned int ptCode, unsigned int thresholdValue)
boost::thread_specific_ptr< MsgStreamTC > m_msg_tls
MsgStreamTC instance (a std::cout like with print-out levels)
void setName(const std::string &name)
unsigned int getUIntAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
void setPtEncoding(boost::property_tree::ptree menuElement, L1MuonPtEncoding &ptEncoding)
void addTopoCell(const MioctTopoCellGeometry &topocell)
void setOctant(boost::property_tree::ptree menuElement, MioctGeometry &octant)
MsgStreamTC & msg() const
The standard message stream.
void setROI(boost::property_tree::ptree menuElement, MioctROIGeometry &roi)
void addSector(const MioctSectorGeometry §or)
virtual void print(const std::string &indent="", unsigned int detail=1) const
void setMioctId(unsigned int id)
void setTopoCell(boost::property_tree::ptree menuElement, MioctTopoCellGeometry &topocell)
#define TRG_MSG_WARNING(x)
boost::property_tree::ptree ptree
boost::property_tree::ptree m_muctpiPT
int getIntAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
Class to provide easy access to TrigConf::MsgStream for TrigConf classes.
MuctpiXMLHelper m_xmlHelper
void setSector(boost::property_tree::ptree menuElement, MioctSectorGeometry §or)
void setConnector(unsigned int id)
float getFloatAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
void setPtEncoding(const L1MuonPtEncoding &ptEncoding)