ATLAS Offline Software
DetectorDescription
AGDD
AGDDHandlers
src
aliasHandler.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AGDDHandlers/aliasHandler.h
"
6
#include "
AGDDControl/XMLHandler.h
"
7
#include "
AGDDControl/AGDDController.h
"
8
#include "
AGDDKernel/AliasStore.h
"
9
#include <iostream>
10
11
12
aliasHandler::aliasHandler
(
const
std::string&
s
,
13
AGDDController
&
c
)
14
:
XMLHandler
(
s
,
c
)
15
{
16
}
17
18
void
aliasHandler::ElementHandle
(
AGDDController
&
c
,
19
xercesc::DOMNode *
t
)
20
{
21
std::string
name
=
getAttributeAsString
(
c
,
t
,
"name"
);
22
std::string
value
=
getAttributeAsString
(
c
,
t
,
"standsFor"
);
23
c
.GetAliasStore().AddAlias(
name
,
value
);
24
}
AGDDController.h
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
aliasHandler::aliasHandler
aliasHandler(const std::string &, AGDDController &c)
Definition:
aliasHandler.cxx:12
aliasHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition:
aliasHandler.cxx:18
athena.value
value
Definition:
athena.py:124
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
XMLHandler.h
AGDDController
Definition:
AGDDController.h:30
AliasStore.h
XMLHandler::getAttributeAsString
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition:
XMLHandler.cxx:69
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
XMLHandler
Definition:
XMLHandler.h:15
python.compressB64.c
def c
Definition:
compressB64.py:93
aliasHandler.h
Generated on Mon Dec 23 2024 21:06:50 for ATLAS Offline Software by
1.8.18