ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
AGDD
AGDDHandlers
src
polyplaneHandler.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/polyplaneHandler.h
"
6
#include "
AGDDHandlers/Polyplane.h
"
7
#include "
AGDDControl/AGDDController.h
"
8
#include <iostream>
9
10
11
polyplaneHandler::polyplaneHandler
(
const
std::string& s,
12
AGDDController
& c)
13
:
XMLHandler
(s, c),
14
m_pPlane
(0, 0, 0)
15
{
16
}
17
18
void
polyplaneHandler::ElementHandle
(
AGDDController
& c,
19
xercesc::DOMNode *t)
20
{
21
bool
res
;
22
std::vector<double> vvv=
getAttributeAsVector
(c, t,
"Rio_Z"
,
res
);
23
m_pPlane
.rin(vvv[0]);
24
m_pPlane
.rou(vvv[1]);
25
m_pPlane
.z(vvv[2]);
26
}
AGDDController.h
res
std::pair< std::vector< unsigned int >, bool > res
Definition
JetGroupProductTest.cxx:11
Polyplane.h
AGDDController
Definition
AGDDController.h:30
XMLHandler::getAttributeAsVector
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition
XMLHandler.cxx:100
XMLHandler::XMLHandler
XMLHandler(const std::string &n, AGDDController &c)
Definition
XMLHandler.cxx:15
polyplaneHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition
polyplaneHandler.cxx:18
polyplaneHandler::m_pPlane
Polyplane m_pPlane
Definition
polyplaneHandler.h:20
polyplaneHandler::polyplaneHandler
polyplaneHandler(const std::string &, AGDDController &c)
Definition
polyplaneHandler.cxx:11
polyplaneHandler.h
Generated on
for ATLAS Offline Software by
1.17.0