Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:14:13

0001 //==========================================================================
0002 //  AIDA Detector description implementation 
0003 //--------------------------------------------------------------------------
0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0005 // All rights reserved.
0006 //
0007 // For the licensing terms see $DD4hepINSTALL/LICENSE.
0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0009 //
0010 // Author     : M.Frank
0011 // Original Author: Matevz Tadel 2009 (MultiView.C)
0012 //
0013 //==========================================================================
0014 
0015 // Framework include files
0016 #include <DDEve/View3D.h>
0017 #include <DDEve/Factories.h>
0018 
0019 using namespace dd4hep;
0020 
0021 ClassImp(View3D)
0022 DECLARE_VIEW_FACTORY(View3D)
0023 
0024 /// Initializing constructor
0025 View3D::View3D(Display* eve, const std::string& nam) : View(eve, nam)
0026 {
0027 }
0028 
0029 /// Default destructor
0030 View3D::~View3D()  {
0031 }
0032 
0033 /// Build the projection view and map it to the given slot
0034 View& View3D::Build(TEveWindow* slot)   {
0035   return CreateScenes().Map(slot);
0036 }