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
#include <string_view>
12
13
14
class
MuctpiXMLHelper
:
TrigConf::TrigConfMessaging
{
15
public
:
16
MuctpiXMLHelper
();
17
18
std::string
readAttribute
(
const
boost::property_tree::ptree &
tree
, std::string_view attr);
19
20
bool
hasAttribute
(
const
boost::property_tree::ptree &
tree
, std::string_view attr);
21
22
std::string
getAttribute
(
const
boost::property_tree::ptree &
tree
, std::string_view attr);
23
24
std::string
getAttribute
(
const
boost::property_tree::ptree &
tree
, std::string_view attr, std::string_view defval);
25
26
int
getIntAttribute
(
const
boost::property_tree::ptree &
tree
, std::string_view attr);
27
28
int
getIntAttribute
(
const
boost::property_tree::ptree &
tree
, std::string_view attr,
int
defval);
29
30
unsigned
int
getUIntAttribute
(
const
boost::property_tree::ptree &
tree
, std::string_view attr);
31
32
unsigned
int
getUIntAttribute
(
const
boost::property_tree::ptree &
tree
, std::string_view attr,
unsigned
int
& defval);
33
34
float
getFloatAttribute
(
const
boost::property_tree::ptree &
tree
, std::string_view attr);
35
36
float
getFloatAttribute
(
const
boost::property_tree::ptree &
tree
,
const
std::string_view attr,
float
& defval);
37
38
void
printAttributes
(
const
boost::property_tree::ptree &
tree
);
39
40
};
41
42
#endif
TrigConfMessaging.h
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging).
MuctpiXMLHelper::readAttribute
std::string readAttribute(const boost::property_tree::ptree &tree, std::string_view attr)
Definition
MuctpiXMLHelper.cxx:52
MuctpiXMLHelper::getFloatAttribute
float getFloatAttribute(const boost::property_tree::ptree &tree, std::string_view attr)
Definition
MuctpiXMLHelper.cxx:143
MuctpiXMLHelper::getIntAttribute
int getIntAttribute(const boost::property_tree::ptree &tree, std::string_view attr)
Definition
MuctpiXMLHelper.cxx:84
MuctpiXMLHelper::MuctpiXMLHelper
MuctpiXMLHelper()
Definition
MuctpiXMLHelper.cxx:13
MuctpiXMLHelper::printAttributes
void printAttributes(const boost::property_tree::ptree &tree)
Definition
MuctpiXMLHelper.cxx:18
MuctpiXMLHelper::hasAttribute
bool hasAttribute(const boost::property_tree::ptree &tree, std::string_view attr)
Definition
MuctpiXMLHelper.cxx:33
MuctpiXMLHelper::getAttribute
std::string getAttribute(const boost::property_tree::ptree &tree, std::string_view attr)
Definition
MuctpiXMLHelper.cxx:67
MuctpiXMLHelper::getUIntAttribute
unsigned int getUIntAttribute(const boost::property_tree::ptree &tree, std::string_view attr)
Definition
MuctpiXMLHelper.cxx:114
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