ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7#include <exception>
8
9GeoBorderSurface::GeoBorderSurface(const std::string& name,
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
GeoIntrusivePtr< GeoOpticalSurface > m_opticalSurface
GeoIntrusivePtr< GeoOpticalPhysVol > m_pv2
GeoIntrusivePtr< GeoOpticalPhysVol > m_pv1
GeoBorderSurface(const std::string &name, GeoOpticalPhysVol *pv1, GeoOpticalPhysVol *pv2, GeoOpticalSurface *opticalSurface)
Ensure that the extensions for the Vector3D are properly loaded.
Ensure that the extensions for the Vector3D are properly loaded.