ATLAS Offline Software
Simulation
G4Utilities
Geo2G4
src
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
9
#include "
G4AtlasTools/DetectorGeometryBase.h
"
10
//#include "G4AtlasInterfaces/IDetectorGeometrySvc.h"
11
#include "
G4AtlasInterfaces/IGeo2G4Svc.h
"
12
13
#include "G4Transform3D.hh"
14
15
// Members
16
17
// STL library
18
#include <string>
19
#include <vector>
20
31
class
GeoDetectorTool
final :
public
DetectorGeometryBase
32
{
33
public
:
34
// Basic constructor and destructor
35
GeoDetectorTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface *
parent
);
36
~GeoDetectorTool
() {}
37
39
virtual
StatusCode
initialize
() override final;
40
43
virtual
void
BuildGeometry
() override final;
44
45
virtual
void
PositionInParent
() override final;
46
47
private
:
48
49
std::
string
m_builderName
;
50
std::
string
m_dumpGDMLFile
="";
51
bool
m_blParamOn
;
52
bool
m_blGetTopTransform
;
53
G4Transform3D
m_topTransform
;
54
std::
string
m_geoDetectorName
;
55
G4LogicalVolume*
Convert
();
56
bool
IsTopTransform
();
57
void
SetInitialTransformation
();
58
ServiceHandle
<
IGeo2G4Svc
>
m_geo2G4Svc
{
this
,
"Geo2G4Svc"
,
"Geo2G4Svc"
,
""
};
59
};
60
61
#endif
GeoDetectorTool::m_dumpGDMLFile
std::string m_dumpGDMLFile
Definition:
GeoDetectorTool.h:50
GeoDetectorTool
Definition:
GeoDetectorTool.h:32
GeoDetectorTool::BuildGeometry
virtual void BuildGeometry() override final
virtual methods being implemented here
Definition:
GeoDetectorTool.cxx:59
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:53
GeoDetectorTool::m_builderName
std::string m_builderName
Definition:
GeoDetectorTool.h:49
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:54
GeoDetectorTool::~GeoDetectorTool
~GeoDetectorTool()
Definition:
GeoDetectorTool.h:36
GeoDetectorTool::initialize
virtual StatusCode initialize() override final
Athena method.
Definition:
GeoDetectorTool.cxx:28
DetectorGeometryBase.h
private
#define private
Definition:
DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
GeoDetectorTool::Convert
G4LogicalVolume * Convert()
Definition:
GeoDetectorTool.cxx:83
IGeo2G4Svc.h
GeoDetectorTool::SetInitialTransformation
void SetInitialTransformation()
Definition:
GeoDetectorTool.cxx:105
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
DetectorGeometryBase
Definition:
DetectorGeometryBase.h:26
GeoDetectorTool::m_blParamOn
bool m_blParamOn
Definition:
GeoDetectorTool.h:51
GeoDetectorTool::m_blGetTopTransform
bool m_blGetTopTransform
Definition:
GeoDetectorTool.h:52
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:58
Generated on Thu Nov 7 2024 21:15:42 for ATLAS Offline Software by
1.8.18