ATLAS Offline Software
mmSpacer_TechHandler.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 "MuonGeoModel/MYSQL.h"
8 #include <iostream>
9 
10 
13  : XMLHandler(s, c)
14 {
15 }
16 
18  xercesc::DOMNode *t)
19 {
20 
21 // std::cout<<" this is mmSpacer_TechHandler::Handle"<<std::endl;
22 
23  bool ret=true;
24  std::string name=getAttributeAsString(c, t, "type",ret);
25 
27 
28  tech->thickness=getAttributeAsDouble(c, t, "Tck",ret);
29 
30  tech->lowZCutOuts=getAttributeAsInt(c, t, "lowZCutOuts",ret);
31  if (ret)
32  {
33  tech->lowZCutOutWidth=getAttributeAsDouble(c, t, "lowZCutOutWidth",ret);
34  tech->lowZCutOutDZ=getAttributeAsDouble(c, t, "lowZCutOutDZ",ret);
35  }
36  tech->highZCutOuts=getAttributeAsInt(c, t, "highZCutOuts",ret);
37  if (ret)
38  {
39  tech->highZCutOutWidth=getAttributeAsDouble(c, t, "highZCutOutWidth",ret);
40  tech->highZCutOutDZ=getAttributeAsDouble(c, t, "highZCutOutDZ",ret);
41  }
42 
43 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
mmSpacer_TechHandler.h
mmSpacer_TechHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition: mmSpacer_TechHandler.cxx:17
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
XMLHandler::getAttributeAsDouble
double getAttributeAsDouble(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition: XMLHandler.cxx:78
MuonGM::MMSpacer_Technology::lowZCutOutWidth
double lowZCutOutWidth
Definition: MMSpacer_Technology.h:22
MMSpacer_Technology.h
AGDDController
Definition: AGDDController.h:30
MuonGM::MMSpacer_Technology::highZCutOutDZ
double highZCutOutDZ
Definition: MMSpacer_Technology.h:27
MuonGM::MMSpacer_Technology::lowZCutOuts
int lowZCutOuts
Definition: MMSpacer_Technology.h:21
MuonGM::MMSpacer_Technology::lowZCutOutDZ
double lowZCutOutDZ
Definition: MMSpacer_Technology.h:23
mmSpacer_TechHandler::mmSpacer_TechHandler
mmSpacer_TechHandler(const std::string &, AGDDController &c)
Definition: mmSpacer_TechHandler.cxx:11
XMLHandler::getAttributeAsString
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition: XMLHandler.cxx:69
MYSQL.h
MuonGM::Technology::thickness
double thickness
Definition: Technology.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MuonGM::MYSQL::GetPointer
static LockedMYSQL GetPointer()
Definition: MYSQL.cxx:42
XMLHandler
Definition: XMLHandler.h:15
XMLHandler::getAttributeAsInt
int getAttributeAsInt(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition: XMLHandler.cxx:89
MuonGM::MMSpacer_Technology
Definition: MMSpacer_Technology.h:15
python.compressB64.c
def c
Definition: compressB64.py:93
MuonGM::MMSpacer_Technology::highZCutOutWidth
double highZCutOutWidth
Definition: MMSpacer_Technology.h:26
MuonGM::MMSpacer_Technology::highZCutOuts
int highZCutOuts
Definition: MMSpacer_Technology.h:25