ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7#include <iostream>
8
11 : XMLHandler(s, c)
12{
13 m_point.setZero();
14}
15
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}
std::pair< std::vector< unsigned int >, bool > res
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
XMLHandler(const std::string &n, AGDDController &c)
snake_pointHandler(const std::string &, AGDDController &c)
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
GeoTrf::Vector3D m_point