ATLAS Offline Software
Loading...
Searching...
No Matches
GeoDetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GEO2G4_GeoDetectorTool_H
6#define GEO2G4_GeoDetectorTool_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
31{
32public:
33 // Basic constructor and destructor
34 GeoDetectorTool(const std::string& type, const std::string& name, const IInterface *parent);
36
38 virtual StatusCode initialize() override final;
39
41
42 virtual void BuildGeometry() override final;
43
44 virtual void PositionInParent() override final;
45
47
49 std::string m_dumpGDMLFile="";
52 G4Transform3D m_topTransform;
54 G4LogicalVolume* Convert();
55 bool IsTopTransform();
57 ServiceHandle<IGeo2G4Svc> m_geo2G4Svc{this, "Geo2G4Svc", "Geo2G4Svc", ""};
58};
59
60#endif
DetectorGeometryBase(const std::string &type, const std::string &name, const IInterface *parent)
G4Transform3D m_topTransform
G4LogicalVolume * Convert()
GeoDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
std::string m_builderName
ServiceHandle< IGeo2G4Svc > m_geo2G4Svc
virtual void BuildGeometry() override final
virtual methods being implemented here
virtual StatusCode initialize() override final
Athena method.
virtual void PositionInParent() override final
std::string m_geoDetectorName
std::string m_dumpGDMLFile
STL namespace.
#define private