DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
RhoZProjection.cpp
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 
15 // Framework include files
16 #include <DDEve/RhoZProjection.h>
17 #include <DDEve/Factories.h>
18 
19 using namespace dd4hep;
20 
22 
24 
25 RhoZProjection::RhoZProjection(Display* eve, const std::string& nam)
27 : Projection(eve, nam)
28 {
29 }
30 
32 RhoZProjection::~RhoZProjection() {
33 }
34 
37  CreateScenes();
39  return Map(slot);
40 }
dd4hep::Display
The main class of the DDEve display.
Definition: Display.h:56
DECLARE_VIEW_FACTORY
#define DECLARE_VIEW_FACTORY(x)
Definition: Factories.h:30
RhoZProjection.h
ClassImp
ClassImp(RhoZProjection) RhoZProjection
Initializing constructor.
Definition: RhoZProjection.cpp:21
Factories.h
dd4hep::Projection::AddAxis
virtual Projection & AddAxis()
Add projection axis to the view.
Definition: Projection.cpp:83
dd4hep::Projection
class Projection Projection.h DDEve/Projection.h
Definition: Projection.h:32
dd4hep::RhoZProjection::Build
virtual View & Build(TEveWindow *slot) override
Build the projection view and map it to the given slot.
Definition: RhoZProjection.cpp:36
slot
View TEveWindowSlot * slot
Definition: MultiView.cpp:28
dd4hep::RhoZProjection::RhoZProjection
RhoZProjection(Display *eve, const std::string &name)
Initializing constructor.
dd4hep::View::CreateScenes
virtual View & CreateScenes()
Create the geometry and the event scene.
Definition: View.cpp:306
dd4hep::RhoZProjection
class RhoZProjection RhoZProjection.h DDEve/RhoZProjection.h
Definition: RhoZProjection.h:29
dd4hep::Projection::Map
virtual View & Map(TEveWindow *slot) override
Map the projection view to the slot.
Definition: Projection.cpp:115
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::Projection::CreateRhoZProjection
virtual Projection & CreateRhoZProjection()
Create Rho-Z projection.
Definition: Projection.cpp:106