Back to home page

EIC code displayed by LXR

 
 

    


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_CALO2DPROJECTION_H
0015 #define DDEVE_CALO2DPROJECTION_H
0016 
0017 // Framework include files
0018 #include "DDEve/Projection.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   /// 2D projection operator for calorimeters
0030   /*
0031    * \author  M.Frank
0032    * \version 1.0
0033    * \ingroup DD4HEP_EVE
0034    */
0035   class  Calo2DProjection : public Projection   {
0036   public:
0037     /// Initializing constructor
0038     Calo2DProjection(Display* eve, const std::string& name);
0039     /// Default destructor
0040     virtual ~Calo2DProjection();
0041     /// Build the projection view and map it to the given slot
0042     virtual View& Build(TEveWindow* slot)  override;
0043     /// Configure a single geometry view
0044     virtual void ConfigureGeometry(const DisplayConfiguration::ViewConfig& config)  override;
0045     /// Configure a single event scene view
0046     virtual void ConfigureEvent(const DisplayConfiguration::ViewConfig& config)  override;
0047     /// Call to import geometry topics
0048     void ImportGeoTopics(const std::string& title)  override;
0049 
0050     /// Root implementation macro
0051     ClassDefOverride(Calo2DProjection,0);
0052   };
0053 
0054 }      /* End namespace dd4hep   */
0055 #endif // DDEVE_CALO2DPROJECTION_H