ATLAS Offline Software
GDMLDetectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GEO2G4_GDMLDetectorTool_H
6 #define GEO2G4_GDMLDetectorTool_H
7 
8 // Base classes
11 
12 #include "G4Transform3D.hh"
13 
14 // Members
15 
16 // STL library
17 #include <string>
18 #include <vector>
19 
29 {
30  public:
31  // Basic constructor and destructor
32  GDMLDetectorTool(const std::string& type, const std::string& name, const IInterface *parent);
34 
36  virtual StatusCode initialize() override final;
37 
40  virtual void BuildGeometry() override final;
41 
42  private:
43 
44  std::string m_GDMLFileName;
45  std::string m_builderName;
47  G4Transform3D m_topTransform;
48  std::string m_geoDetectorName;
49  bool IsTopTransform();
51 };
52 
53 #endif // GEO2G4_GDMLDetectorTool_H
GDMLDetectorTool::initialize
virtual StatusCode initialize() override final
Athena method.
Definition: GDMLDetectorTool.cxx:26
GDMLDetectorTool::m_topTransform
G4Transform3D m_topTransform
Definition: GDMLDetectorTool.h:47
GDMLDetectorTool::m_blGetTopTransform
bool m_blGetTopTransform
Definition: GDMLDetectorTool.h:46
GDMLDetectorTool::BuildGeometry
virtual void BuildGeometry() override final
virtual methods being implemented here
Definition: GDMLDetectorTool.cxx:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IDetectorGeometrySvc.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GDMLDetectorTool::GDMLDetectorTool
GDMLDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: GDMLDetectorTool.cxx:16
GDMLDetectorTool::m_builderName
std::string m_builderName
Definition: GDMLDetectorTool.h:45
GDMLDetectorTool::m_geoDetectorName
std::string m_geoDetectorName
Definition: GDMLDetectorTool.h:48
DetectorGeometryBase.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
GDMLDetectorTool::~GDMLDetectorTool
~GDMLDetectorTool()
Definition: GDMLDetectorTool.h:33
GDMLDetectorTool::m_GDMLFileName
std::string m_GDMLFileName
Definition: GDMLDetectorTool.h:44
DetectorGeometryBase
Definition: DetectorGeometryBase.h:26
GDMLDetectorTool
Definition: GDMLDetectorTool.h:29
GDMLDetectorTool::SetInitialTransformation
void SetInitialTransformation()
Definition: GDMLDetectorTool.cxx:75
GDMLDetectorTool::IsTopTransform
bool IsTopTransform()
Definition: GDMLDetectorTool.cxx:70