ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfMuctpi
TrigConfMuctpi
MuctpiXMLHelper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrigConfMuctpi_MuctpiXMLHelper
6
#define TrigConfMuctpi_MuctpiXMLHelper
7
8
#include "
TrigConfBase/TrigConfMessaging.h
"
9
#include "boost/property_tree/ptree.hpp"
10
#include <string>
11
12
13
class
MuctpiXMLHelper
:
TrigConf::TrigConfMessaging
{
14
public
:
15
MuctpiXMLHelper
();
16
17
std::string
readAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr);
18
19
bool
hasAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr);
20
21
std::string
getAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr);
22
23
std::string
getAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr,
const
std::string & defval);
24
25
int
getIntAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr);
26
27
int
getIntAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr,
int
defval);
28
29
unsigned
int
getUIntAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr);
30
31
unsigned
int
getUIntAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr,
unsigned
int
& defval);
32
33
float
getFloatAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr);
34
35
float
getFloatAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string & attr,
float
& defval);
36
37
void
printAttributes
(
const
boost::property_tree::ptree &
tree
);
38
39
};
40
41
#endif
TrigConfMessaging.h
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging).
MuctpiXMLHelper::readAttribute
std::string readAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
Definition
MuctpiXMLHelper.cxx:52
MuctpiXMLHelper::getUIntAttribute
unsigned int getUIntAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
Definition
MuctpiXMLHelper.cxx:115
MuctpiXMLHelper::getFloatAttribute
float getFloatAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
Definition
MuctpiXMLHelper.cxx:144
MuctpiXMLHelper::MuctpiXMLHelper
MuctpiXMLHelper()
Definition
MuctpiXMLHelper.cxx:13
MuctpiXMLHelper::printAttributes
void printAttributes(const boost::property_tree::ptree &tree)
Definition
MuctpiXMLHelper.cxx:18
MuctpiXMLHelper::getIntAttribute
int getIntAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
Definition
MuctpiXMLHelper.cxx:85
MuctpiXMLHelper::hasAttribute
bool hasAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
Definition
MuctpiXMLHelper.cxx:33
MuctpiXMLHelper::getAttribute
std::string getAttribute(const boost::property_tree::ptree &tree, const std::string &attr)
Definition
MuctpiXMLHelper.cxx:68
TrigConf::TrigConfMessaging
Class to provide easy access to TrigConf::MsgStream for TrigConf classes.
Definition
TrigConfMessaging.h:28
tree
TChain * tree
Definition
tile_monitor.h:30
Generated on
for ATLAS Offline Software by
1.17.0