Back to home page

EIC code displayed by LXR

 
 

    


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

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 //
0012 //==========================================================================
0013 
0014 // Framework include files
0015 #include <DD4hep/Printout.h>
0016 #include <DDEve/EveShapeContextMenu.h>
0017 
0018 // ROOT include files
0019 #include <TEveGeoShape.h>
0020 #include <TEveManager.h>
0021 
0022 // C/C++ include files
0023 #include <stdexcept>
0024 
0025 using namespace dd4hep;
0026 
0027 ClassImp(EveShapeContextMenu)
0028 
0029 /// Instantiator
0030 EveShapeContextMenu& EveShapeContextMenu::install(Display* m)   {
0031   static EveShapeContextMenu s(m);
0032   return s;
0033 }
0034 
0035 /// Initializing constructor
0036 EveShapeContextMenu::EveShapeContextMenu(Display* disp)
0037   : EveUserContextMenu(disp)
0038 {
0039   InstallGeometryContextMenu(TEveGeoShape::Class());
0040 }
0041 
0042 /// Default destructor
0043 EveShapeContextMenu::~EveShapeContextMenu()  {
0044 }