|
||||
File indexing completed on 2025-01-18 09:55:21
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 #ifndef DDEVE_CALOLEGO_H 0015 #define DDEVE_CALOLEGO_H 0016 0017 // Framework include files 0018 #include "DDEve/View.h" 0019 #include "DDEve/Display.h" 0020 0021 // Forward declarations 0022 class TH2F; 0023 class TEveCalo3D; 0024 class TEveCaloDataHist; 0025 0026 /// Namespace for the AIDA detector description toolkit 0027 namespace dd4hep { 0028 0029 /// Lego plot for calorimeter energy deposits 0030 /* 0031 * \author M.Frank 0032 * \version 1.0 0033 * \ingroup DD4HEP_EVE 0034 */ 0035 class CaloLego : public View { 0036 Display::CalodataContext m_data; 0037 public: 0038 /// Initializing constructor 0039 CaloLego(Display* eve, const std::string& name); 0040 /// Default destructor 0041 virtual ~CaloLego(); 0042 /// Build the projection view and map it to the given slot 0043 virtual View& Build(TEveWindow* slot) override; 0044 /// Configure a single geometry view 0045 virtual void ConfigureGeometry(const DisplayConfiguration::ViewConfig& config) override; 0046 /// Configure a single event scene view 0047 virtual void ConfigureEvent(const DisplayConfiguration::ViewConfig& config) override; 0048 /// Call to import geometry topics 0049 void ImportGeoTopics(const std::string& title) override; 0050 0051 /// Root implementation macro 0052 ClassDefOverride(CaloLego,0); 0053 }; 0054 } /* End namespace dd4hep */ 0055 #endif // DDEVE_CALOLEGO_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |