ATLAS Offline Software
gvxy_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 
7 #include "AGDDKernel/TwoPoint.h"
8 #include <iostream>
9 
10 
13  : XMLHandler(s, c),
14  m_point (0, 0)
15 {
16 // std::cout<<"Creating handler for gvxy_point"<<std::endl;
17 }
18 
20  xercesc::DOMNode *t)
21 {
22  std::vector<double> vvv=getAttributeAsVector(c, t, "X_Y");
23  m_point.x(vvv[0]);
24  m_point.y(vvv[1]);
25 }
AGDDController.h
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
gvxy_pointHandler::m_point
TwoPoint m_point
Definition: gvxy_pointHandler.h:20
gvxy_pointHandler.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
AGDDController
Definition: AGDDController.h:30
TwoPoint::y
double y()
Definition: TwoPoint.h:13
gvxy_pointHandler::gvxy_pointHandler
gvxy_pointHandler(const std::string &, AGDDController &c)
Definition: gvxy_pointHandler.cxx:11
TwoPoint.h
XMLHandler::getAttributeAsVector
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition: XMLHandler.cxx:100
XMLHandler
Definition: XMLHandler.h:15
TwoPoint::x
double x()
Definition: TwoPoint.h:12
gvxy_pointHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition: gvxy_pointHandler.cxx:19
python.compressB64.c
def c
Definition: compressB64.py:93