Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:17:18

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/RhoZProjection.h>
0017 #include <DDEve/Factories.h>
0018 
0019 using namespace dd4hep;
0020 
0021 ClassImp(RhoZProjection)
0022 
0023 DECLARE_VIEW_FACTORY(RhoZProjection)
0024 
0025 /// Initializing constructor
0026 RhoZProjection::RhoZProjection(Display* eve, const std::string& nam)
0027 : Projection(eve, nam)
0028 {
0029 }
0030 
0031 /// Default destructor
0032 RhoZProjection::~RhoZProjection()  {
0033 }
0034 
0035 /// Build the projection view and map it to the given slot
0036 View& RhoZProjection::Build(TEveWindow* slot)   {
0037   CreateScenes();
0038   CreateRhoZProjection().AddAxis();
0039   return Map(slot);
0040 }