ATLAS Offline Software
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
Polyplane::rin
double rin()
Definition:
Polyplane.h:11
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
polyplaneHandler.h
polyplaneHandler::m_pPlane
Polyplane m_pPlane
Definition:
polyplaneHandler.h:20
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
polyplaneHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition:
polyplaneHandler.cxx:18
AGDDController
Definition:
AGDDController.h:30
Polyplane::rou
double rou()
Definition:
Polyplane.h:12
XMLHandler::getAttributeAsVector
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition:
XMLHandler.cxx:100
Polyplane::z
double z()
Definition:
Polyplane.h:13
res
std::pair< std::vector< unsigned int >, bool > res
Definition:
JetGroupProductTest.cxx:14
XMLHandler
Definition:
XMLHandler.h:15
polyplaneHandler::polyplaneHandler
polyplaneHandler(const std::string &, AGDDController &c)
Definition:
polyplaneHandler.cxx:11
Polyplane.h
python.compressB64.c
def c
Definition:
compressB64.py:93
Generated on Thu Nov 7 2024 21:24:02 for ATLAS Offline Software by
1.8.18