ATLAS Offline Software
Loading...
Searching...
No Matches
GDMLDetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GEO2G4_GDMLDetectorTool_H
6#define GEO2G4_GDMLDetectorTool_H
7
8// Base classes
10
11#include "G4Transform3D.hh"
12
13// Members
14
15// STL library
16#include <string>
17#include <vector>
18
26
28{
29 public:
30 // Basic constructor and destructor
31 GDMLDetectorTool(const std::string& type, const std::string& name, const IInterface *parent);
33
35 virtual StatusCode initialize() override final;
36
38
39 virtual void BuildGeometry() override final;
40
41 private:
42 // Internal methods
43 bool IsTopTransform();
45
46 //Configurable Properties
47 Gaudi::Property<std::string> m_GDMLFileName{this, "GDMLFileName", "", "Name of the GDML file to be used as input."};
48 Gaudi::Property<std::string> m_geoDetectorName{this, "GeoDetectorName", "", "Name of the detector in GeoModel, if different from G4."};
49
50 // Other member variables
51 std::string m_builderName{""};
53 G4Transform3D m_topTransform; // initialized in the constructor
54};
55
56#endif // GEO2G4_GDMLDetectorTool_H
DetectorGeometryBase(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< std::string > m_GDMLFileName
G4Transform3D m_topTransform
GDMLDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual void BuildGeometry() override final
virtual methods being implemented here
std::string m_builderName
Gaudi::Property< std::string > m_geoDetectorName
virtual StatusCode initialize() override final
Athena method.
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
STL namespace.
#define private