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