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
Calo3DProjection.cpp
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 //
13 //==========================================================================
14 
15 // Framework include files
16 #include "DDEve/Calo3DProjection.h"
17 #include "DDEve/Factories.h"
18 #include "DD4hep/InstanceCount.h"
19 
20 using namespace DD4hep;
21 
24 
26 Calo3DProjection::Calo3DProjection(Display* eve, const std::string& nam)
27 : View(eve, nam)
28 {
30 }
31 
35 }
36 
39  CreateScenes();
41  return Map(slot);
42 }
#define DECLARE_VIEW_FACTORY(x)
Definition: Factories.h:31
static void decrement(T *)
Decrement count according to type information.
virtual View & Map(TEveWindow *slot)
Map the view view to the slot.
Definition: View.cpp:335
View TEveWindowSlot * slot
Definition: MultiView.cpp:30
ClassImp(Calo3DProjection) Calo3DProjection
Initializing constructor.
virtual ~Calo3DProjection()
Default destructor.
virtual TEveElementList * AddToGlobalItems(const std::string &nam)
Add the view to the global list of eve objects.
Definition: View.cpp:83
class View View.h DDEve/View.h
Definition: View.h:46
virtual View & CreateScenes()
Create the geometry and the event scene.
Definition: View.cpp:307
static void increment(T *)
Increment count according to type information.
Definition: InstanceCount.h:98
3D projection for calorimeters
virtual View & Build(TEveWindow *slot)
Build the projection view and map it to the given slot.
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