Belle II Software development
DisplayModule.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <framework/core/Module.h>
12
13#include <string>
14
15
16namespace Belle2 {
21 class DisplayUI;
22 class EVEVisualization;
23
38 class DisplayModule : public Module {
39 public:
42
44 void initialize() override;
45
47 void event() override;
48
50 void terminate() override;
51
52 private:
54 std::string m_options;
55
58
61
64
67
70
73
76
79
82
85
88
91
94
97
100
102 std::vector<std::string> m_hideObjects;
103
106
108 std::vector<std::string> m_hideVolumes;
109
111 std::vector<std::string> m_deleteVolumes;
112
115
118 };
120}
The event display module.
Definition: DisplayModule.h:38
bool m_showCDCHits
If true, CDCHit objects will be shown as drift cylinders (shortened, z position set to zero).
Definition: DisplayModule.h:81
bool m_showTriggerObjects
If true, CDCHit objects will be assigned to trigger segments and trigger tracks will be shown.
Definition: DisplayModule.h:84
bool m_showTrackLevelObjects
If true, fitted RecoTracks, GFRave Vertices and ECLGamma objects will be shown in the display.
Definition: DisplayModule.h:75
DisplayModule()
Constructor. Sets all the module parameters.
bool m_showRecoTracks
Whether to show RecoTracks.
Definition: DisplayModule.h:78
bool m_showKLM2dHits
If true, KLMHit2d objects will be shown in the display.
Definition: DisplayModule.h:87
void initialize() override
Sets up geometry if needed.
bool m_automatic
Non-interactively save visualizations for each event.
Definition: DisplayModule.h:93
void event() override
Show various reconstructed or simulated objects in the event viewer until the next event is requested...
std::vector< std::string > m_deleteVolumes
List of volumes to be deleted.
void terminate() override
Terminate gEve to avoid problems with root's cleanup.
bool m_showAllPrimaries
If true, all primary MCParticles will be shown, regardless of wether hits are produced.
Definition: DisplayModule.h:63
bool m_showNeutrals
If true, all neutral primary and secondary MCParticles will be shown, regardless of wether hits are p...
Definition: DisplayModule.h:72
bool m_showCharged
If true, all charged primary and secondary MCParticles will be shown, regardless of wether hits are p...
Definition: DisplayModule.h:69
EVEVisualization * m_visualizer
Pointer to visualizer.
bool m_showMCInfo
Show Monte Carlo information (MCParticles, SimHits).
Definition: DisplayModule.h:57
bool m_fullGeometry
Show full geometry instead of simplified shapes.
Definition: DisplayModule.h:96
bool m_showARICHHits
If true, ARICHHit objects will be shown as squares, corresponding to channel pixels.
Definition: DisplayModule.h:90
std::string m_options
List of drawing options, see EVEVisualization::setOptions()
Definition: DisplayModule.h:54
DisplayUI * m_display
pointer to actual display
bool m_hideSecondaries
If true, secondary MCParticles (and hits created by them) will not be shown.
Definition: DisplayModule.h:66
bool m_playOnStartup
Start the module advancing through events.
Definition: DisplayModule.h:99
std::vector< std::string > m_hideVolumes
List of volumes to be hidden (can be re-enabled in Eve panel / Geometry scene.
bool m_assignToPrimaries
If true, hits created by secondary particles (e.g.
Definition: DisplayModule.h:60
std::string m_customGeometryExtractPath
Path to custom file with geometry extract.
std::vector< std::string > m_hideObjects
objects which are to be hidden (can be manually re-enabled in tree view).
Control TEve browser user interface.
Definition: DisplayUI.h:41
Produces visualisation for MCParticles, simhits, genfit::Tracks, geometry and other things.
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.