ATLAS Offline Software
DetectorDescription
AGDD
AGDDHandlers
src
arrayHandler.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/arrayHandler.h
"
6
#include "
AGDDControl/AGDDController.h
"
7
#include <iostream>
8
9
10
arrayHandler::arrayHandler
(
const
std::string&
s
,
11
AGDDController
&
c
)
12
:
XMLHandler
(
s
,
c
)
13
{
14
}
15
16
void
arrayHandler::ElementHandle
(
AGDDController
&
c
,
17
xercesc::DOMNode *
t
)
18
{
19
std::string
name
=
getAttributeAsString
(
c
,
t
,
"name"
);
20
std::vector<double>
value
=
getAttributeAsVector
(
c
,
t
,
"values"
);
21
c
.Evaluator().RegisterArray(
name
,
value
);
22
}
AGDDController.h
arrayHandler.h
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
arrayHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition:
arrayHandler.cxx:16
athena.value
value
Definition:
athena.py:124
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
AGDDController
Definition:
AGDDController.h:30
arrayHandler::arrayHandler
arrayHandler(const std::string &, AGDDController &c)
Definition:
arrayHandler.cxx:10
XMLHandler::getAttributeAsVector
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition:
XMLHandler.cxx:100
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:221
XMLHandler
Definition:
XMLHandler.h:15
python.compressB64.c
def c
Definition:
compressB64.py:93
Generated on Thu Nov 7 2024 21:10:11 for ATLAS Offline Software by
1.8.18