DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
World.cpp
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : M.Frank
11 //
12 //==========================================================================
13 
14 // Framework include files
15 #include <DD4hep/World.h>
17 
20  return *(access()->description);
21 }
dd4hep::WorldObject::description
Detector * description
Reference to the Detector instance object.
Definition: DetectorInterna.h:188
dd4hep::World::detectorDescription
Detector & detectorDescription() const
Access the detector descrion tree.
Definition: World.cpp:19
World.h
DetectorInterna.h
dd4hep::Handle< WorldObject >::access
WorldObject * access() const
Checked object access. Throws invalid handle runtime exception if invalid handle.
dd4hep::Detector
The main interface to the dd4hep detector description package.
Definition: Detector.h:90