ATLAS Offline Software
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 
31 {
32 public:
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 
42  virtual void BuildGeometry() override final;
43 
44  virtual void PositionInParent() override final;
45 
46 private:
47 
48  std::string m_builderName;
49  std::string m_dumpGDMLFile="";
52  G4Transform3D m_topTransform;
53  std::string m_geoDetectorName;
54  G4LogicalVolume* Convert();
55  bool IsTopTransform();
57  ServiceHandle<IGeo2G4Svc> m_geo2G4Svc{this, "Geo2G4Svc", "Geo2G4Svc", ""};
58 };
59 
60 #endif
GeoDetectorTool::m_dumpGDMLFile
std::string m_dumpGDMLFile
Definition: GeoDetectorTool.h:49
GeoDetectorTool
Definition: GeoDetectorTool.h:31
GeoDetectorTool::BuildGeometry
virtual void BuildGeometry() override final
virtual methods being implemented here
Definition: GeoDetectorTool.cxx:59
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
GeoDetectorTool::IsTopTransform
bool IsTopTransform()
Definition: GeoDetectorTool.cxx:100
GeoDetectorTool::GeoDetectorTool
GeoDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: GeoDetectorTool.cxx:18
GeoDetectorTool::m_topTransform
G4Transform3D m_topTransform
Definition: GeoDetectorTool.h:52
GeoDetectorTool::m_builderName
std::string m_builderName
Definition: GeoDetectorTool.h:48
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IGeo2G4Svc
Definition: IGeo2G4Svc.h:12
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GeoDetectorTool::m_geoDetectorName
std::string m_geoDetectorName
Definition: GeoDetectorTool.h:53
GeoDetectorTool::~GeoDetectorTool
~GeoDetectorTool()
Definition: GeoDetectorTool.h:35
columnar::final
CM final
Definition: ColumnAccessor.h:106
GeoDetectorTool::initialize
virtual StatusCode initialize() override final
Athena method.
Definition: GeoDetectorTool.cxx:28
DetectorGeometryBase.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
GeoDetectorTool::Convert
G4LogicalVolume * Convert()
Definition: GeoDetectorTool.cxx:83
IGeo2G4Svc.h
GeoDetectorTool::SetInitialTransformation
void SetInitialTransformation()
Definition: GeoDetectorTool.cxx:105
DetectorGeometryBase
Definition: DetectorGeometryBase.h:26
private
#define private
Definition: xAODTruthCnvAlg.h:20
GeoDetectorTool::m_blParamOn
bool m_blParamOn
Definition: GeoDetectorTool.h:50
GeoDetectorTool::m_blGetTopTransform
bool m_blGetTopTransform
Definition: GeoDetectorTool.h:51
GeoDetectorTool::PositionInParent
virtual void PositionInParent() override final
Definition: GeoDetectorTool.cxx:72
ServiceHandle
Definition: ClusterMakerTool.h:37
GeoDetectorTool::m_geo2G4Svc
ServiceHandle< IGeo2G4Svc > m_geo2G4Svc
Definition: GeoDetectorTool.h:57