DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
RhoPhiProjection.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/RhoPhiProjection.h>
17 #include <DDEve/Factories.h>
18 
19 using namespace dd4hep;
20 
23 
24 RhoPhiProjection::RhoPhiProjection(Display* eve, const std::string& nam)
26 : Projection(eve, nam)
27 {
28 }
29 
31 RhoPhiProjection::~RhoPhiProjection() {
32 }
33 
36  CreateScenes();
38  return Map(slot);
39 }
dd4hep::Display
The main class of the DDEve display.
Definition: Display.h:56
ClassImp
ClassImp(RhoPhiProjection) RhoPhiProjection
Initializing constructor.
Definition: RhoPhiProjection.cpp:21
DECLARE_VIEW_FACTORY
#define DECLARE_VIEW_FACTORY(x)
Definition: Factories.h:30
dd4hep::RhoPhiProjection::Build
virtual View & Build(TEveWindow *slot) override
Build the projection view and map it to the given slot.
Definition: RhoPhiProjection.cpp:35
dd4hep::RhoPhiProjection
class RhoPhiProjection RhoPhiProjection.h DDEve/RhoPhiProjection.h
Definition: RhoPhiProjection.h:29
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
slot
View TEveWindowSlot * slot
Definition: MultiView.cpp:28
dd4hep::View::CreateScenes
virtual View & CreateScenes()
Create the geometry and the event scene.
Definition: View.cpp:306
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::Projection::CreateRhoPhiProjection
virtual Projection & CreateRhoPhiProjection()
Create Rho-Phi projection.
Definition: Projection.cpp:97
dd4hep::View
class View View.h DDEve/View.h
Definition: View.h:45
dd4hep::RhoPhiProjection::RhoPhiProjection
RhoPhiProjection(Display *eve, const std::string &name)
Initializing constructor.
RhoPhiProjection.h