DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
World.h
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 #ifndef DD4HEP_WORLD_H
14 #define DD4HEP_WORLD_H
15 
16 // Framework include files
17 #include <DD4hep/DetElement.h>
18 
20 namespace dd4hep {
21 
22  // Forward declarations
23  class WorldObject;
24 
26 
31  class World : public Handle<WorldObject> {
32  public:
34  World() = default;
36  World(const World& w) = default;
42  template <typename Q> World(const Handle<Q>& e) : Handle<WorldObject>(e) {}
43 
45  World& operator=(const World& sd) = default;
46 #ifndef __CINT__
48 #endif
49  };
50 } /* End namespace dd4hep */
51 #endif // DD4HEP_WORLD_H
dd4hep::World
Handle class to hold the information of the top DetElement object 'world'.
Definition: World.h:31
dd4hep::World::detectorDescription
Detector & detectorDescription() const
Access the detector descrion tree.
Definition: World.cpp:19
dd4hep::WorldObject
Data class with properties of a detector element.
Definition: DetectorInterna.h:185
dd4hep::World::World
World(const World &w)=default
Copy from handle.
dd4hep::World::World
World(const Handle< Q > &e)
Templated constructor for handle conversions.
Definition: World.h:42
dd4hep::World::World
World(Object *p)
Copy from pointer.
Definition: World.h:40
dd4hep::Handle
Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects...
Definition: Handle.h:84
dd4hep::World::operator=
World & operator=(const World &sd)=default
Assignment operator.
dd4hep::World::World
World()=default
Default constructor.
dd4hep::World::World
World(const Handle< WorldObject > &o)
Copy from named handle.
Definition: World.h:38
DetElement.h
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::Detector
The main interface to the dd4hep detector description package.
Definition: Detector.h:90