|
||||
File indexing completed on 2025-01-30 09:17:16
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 <DDEve/Calo3DProjection.h> 0016 #include <DDEve/Factories.h> 0017 #include <DD4hep/InstanceCount.h> 0018 0019 using namespace dd4hep; 0020 0021 ClassImp(Calo3DProjection) 0022 DECLARE_VIEW_FACTORY(Calo3DProjection) 0023 0024 /// Initializing constructor 0025 Calo3DProjection::Calo3DProjection(Display* eve, const std::string& nam) 0026 : View(eve, nam) 0027 { 0028 InstanceCount::increment(this); 0029 } 0030 0031 /// Default destructor 0032 Calo3DProjection::~Calo3DProjection() { 0033 InstanceCount::decrement(this); 0034 } 0035 0036 /// Build the projection view and map it to the given slot 0037 View& Calo3DProjection::Build(TEveWindow* slot) { 0038 CreateScenes(); 0039 AddToGlobalItems(name()); 0040 return Map(slot); 0041 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |