ATLAS Offline Software
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 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
snake_pointHandler.h
snake_pointHandler::m_point
GeoTrf::Vector3D m_point
Definition: snake_pointHandler.h:22
AGDDController
Definition: AGDDController.h:30
snake_pointHandler::snake_pointHandler
snake_pointHandler(const std::string &, AGDDController &c)
Definition: snake_pointHandler.cxx:9
XMLHandler::getAttributeAsVector
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition: XMLHandler.cxx:100
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
XMLHandler
Definition: XMLHandler.h:15
python.compressB64.c
def c
Definition: compressB64.py:93
snake_pointHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition: snake_pointHandler.cxx:16