DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Calo2DProjection.h
Go to the documentation of this file.
1 // $Id: $
2 //==========================================================================
3 // AIDA Detector description implementation for LCD
4 //--------------------------------------------------------------------------
5 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
6 // All rights reserved.
7 //
8 // For the licensing terms see $DD4hepINSTALL/LICENSE.
9 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
10 //
11 // Author : M.Frank
12 // Original Author: Matevz Tadel 2009 (MultiView.C)
13 //
14 //==========================================================================
15 #ifndef DD4HEP_DDEVE_CALO2DPROJECTION_H
16 #define DD4HEP_DDEVE_CALO2DPROJECTION_H
17 
18 // Framework include files
19 #include "DDEve/Projection.h"
20 #include "DDEve/Display.h"
21 
22 // Forward declarations
23 class TH2F;
24 class TEveCalo3D;
25 class TEveCaloDataHist;
26 
28 namespace DD4hep {
29 
31  /*
32  * \author M.Frank
33  * \version 1.0
34  * \ingroup DD4HEP_EVE
35  */
36  class Calo2DProjection : public Projection {
37  public:
39  Calo2DProjection(Display* eve, const std::string& name);
41  virtual ~Calo2DProjection();
43  virtual View& Build(TEveWindow* slot);
45  virtual void ConfigureGeometry(const DisplayConfiguration::ViewConfig& config);
47  virtual void ConfigureEvent(const DisplayConfiguration::ViewConfig& config);
49  void ImportGeoTopics(const std::string& title);
50 
53  };
54 
55 } /* End namespace DD4hep */
56 
57 #endif /* DD4HEP_DDEVE_CALO2DPROJECTION_H */
virtual View & Build(TEveWindow *slot)
Build the projection view and map it to the given slot.
View TEveWindowSlot * slot
Definition: MultiView.cpp:30
void ImportGeoTopics(const std::string &title)
Call to import geometry topics.
class View View.h DDEve/View.h
Definition: View.h:46
class Projection Projection.h DDEve/Projection.h
Definition: Projection.h:33
virtual ~Calo2DProjection()
Default destructor.
ClassDef(Calo2DProjection, 0)
Root implementation macro.
Calo2DProjection(Display *eve, const std::string &name)
Initializing constructor.
2D projection operator for calorimeters
virtual void ConfigureEvent(const DisplayConfiguration::ViewConfig &config)
Configure a single event scene view.
virtual void ConfigureGeometry(const DisplayConfiguration::ViewConfig &config)
Configure a single geometry view.
The main class of the DDEve display.
Definition: Display.h:57
const std::string & name() const
Access to the view name/title.
Definition: View.h:85