Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-03-13 08:19:59

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