ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
GeoModel
GeoModelUtilities
src
GeoBorderSurface.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
GeoModelUtilities/GeoBorderSurface.h
"
6
7
#include <exception>
8
9
GeoBorderSurface::GeoBorderSurface
(
const
std::string& name,
10
GeoOpticalPhysVol
* pv1,
11
GeoOpticalPhysVol
* pv2,
12
GeoOpticalSurface
* opticalSurface):
13
m_name
(name),
14
m_pv1
(pv1),
15
m_pv2
(pv2),
16
m_opticalSurface
(opticalSurface){
17
if
(pv1->isShared() || pv2->isShared())
18
throw
std::runtime_error(
"Attempt to create a surface with shared physical volumes"
);
19
20
}
21
22
GeoBorderSurface.h
GeoBorderSurface::m_opticalSurface
GeoIntrusivePtr< GeoOpticalSurface > m_opticalSurface
Definition
GeoBorderSurface.h:38
GeoBorderSurface::m_pv2
GeoIntrusivePtr< GeoOpticalPhysVol > m_pv2
Definition
GeoBorderSurface.h:37
GeoBorderSurface::m_pv1
GeoIntrusivePtr< GeoOpticalPhysVol > m_pv1
Definition
GeoBorderSurface.h:36
GeoBorderSurface::m_name
std::string m_name
Definition
GeoBorderSurface.h:35
GeoBorderSurface::GeoBorderSurface
GeoBorderSurface(const std::string &name, GeoOpticalPhysVol *pv1, GeoOpticalPhysVol *pv2, GeoOpticalSurface *opticalSurface)
Definition
GeoBorderSurface.cxx:9
GeoOpticalPhysVol
Ensure that the extensions for the Vector3D are properly loaded.
Definition
GeoOpticalPhysVol.h:14
GeoOpticalSurface
Ensure that the extensions for the Vector3D are properly loaded.
Definition
GeoOpticalSurface.h:19
Generated on
for ATLAS Offline Software by
1.17.0