DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Calo2DProjection.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : M.Frank
11 // Original Author: Matevz Tadel 2009 (MultiView.C)
12 //
13 //==========================================================================
14 #ifndef DDEVE_CALO2DPROJECTION_H
15 #define DDEVE_CALO2DPROJECTION_H
16 
17 // Framework include files
18 #include "DDEve/Projection.h"
19 #include "DDEve/Display.h"
20 
21 // Forward declarations
22 class TH2F;
23 class TEveCalo3D;
24 class TEveCaloDataHist;
25 
27 namespace dd4hep {
28 
30  /*
31  * \author M.Frank
32  * \version 1.0
33  * \ingroup DD4HEP_EVE
34  */
35  class Calo2DProjection : public Projection {
36  public:
38  Calo2DProjection(Display* eve, const std::string& name);
40  virtual ~Calo2DProjection();
42  virtual View& Build(TEveWindow* slot) override;
44  virtual void ConfigureGeometry(const DisplayConfiguration::ViewConfig& config) override;
46  virtual void ConfigureEvent(const DisplayConfiguration::ViewConfig& config) override;
48  void ImportGeoTopics(const std::string& title) override;
49 
52  };
53 
54 } /* End namespace dd4hep */
55 #endif // DDEVE_CALO2DPROJECTION_H
dd4hep::Display
The main class of the DDEve display.
Definition: Display.h:56
dd4hep::Calo2DProjection::ClassDefOverride
ClassDefOverride(Calo2DProjection, 0)
Root implementation macro.
dd4hep::Calo2DProjection::Build
virtual View & Build(TEveWindow *slot) override
Build the projection view and map it to the given slot.
Definition: Calo2DProjection.cpp:44
dd4hep::Calo2DProjection::ConfigureGeometry
virtual void ConfigureGeometry(const DisplayConfiguration::ViewConfig &config) override
Configure a single geometry view.
Definition: Calo2DProjection.cpp:53
dd4hep::Calo2DProjection::ImportGeoTopics
void ImportGeoTopics(const std::string &title) override
Call to import geometry topics.
Definition: Calo2DProjection.cpp:124
dd4hep::Projection
class Projection Projection.h DDEve/Projection.h
Definition: Projection.h:32
dd4hep::View::name
const std::string & name() const
Access to the view name/title.
Definition: View.h:81
slot
View TEveWindowSlot * slot
Definition: MultiView.cpp:28
Display.h
dd4hep::DisplayConfiguration::ViewConfig
View configuration.
Definition: DisplayConfiguration.h:119
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::View
class View View.h DDEve/View.h
Definition: View.h:45
dd4hep::Calo2DProjection::~Calo2DProjection
virtual ~Calo2DProjection()
Default destructor.
Definition: Calo2DProjection.cpp:39
dd4hep::Calo2DProjection::Calo2DProjection
Calo2DProjection(Display *eve, const std::string &name)
Initializing constructor.
Projection.h
dd4hep::Calo2DProjection
2D projection operator for calorimeters
Definition: Calo2DProjection.h:35
dd4hep::Calo2DProjection::ConfigureEvent
virtual void ConfigureEvent(const DisplayConfiguration::ViewConfig &config) override
Configure a single event scene view.
Definition: Calo2DProjection.cpp:119