Belle II Software development
GenfitVisModule.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#include "genfit/EventDisplay.h"
13
14
15namespace Belle2 {
24 class GenfitVisModule : public Module {
25
26 public:
27
32
34 void initialize() override;
35
37 void event() override;
38
40 void endRun() override;
41
43 void terminate() override;
44
45
46 private:
47
49 genfit::EventDisplay* m_display = nullptr;
52
53 };
55}
Visualize genfit::Tracks using the genfit::EventDisplay.
bool m_onlyBadTracks
if true, tracks which have been fitted and the fit converged will no be shown
void initialize() override
Initialize the EventDisplay.
void event() override
Add genfit::Tracks to display.
void endRun() override
Open display.
void terminate() override
Close display.
GenfitVisModule()
Constructor: Sets the description, the properties and the parameters of the module.
genfit::EventDisplay * m_display
pointer to the genfit::EventDisplay which gets created in initialize()
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.