Belle II Software  release-05-02-19
GenfitVisModule.h
1 
2 /**************************************************************************
3  * BASF2 (Belle Analysis Framework 2) *
4  * Copyright(C) 2013 - Belle II Collaboration *
5  * *
6  * Author: The Belle II Collaboration *
7  * Contributors: Johannes Rauch *
8  * *
9  * This software is provided "as is" without any warranty. *
10  **************************************************************************/
11 
12 #ifndef GenfitVisModule_H
13 #define GenfitVisModule_H
14 
15 #include <framework/core/Module.h>
16 #include "genfit/EventDisplay.h"
17 
18 
19 namespace Belle2 {
30  class GenfitVisModule : public Module {
31 
32  public:
33 
38 
40  void initialize() override;
41 
43  void event() override;
44 
46  void endRun() override;
47 
49  void terminate() override;
50 
51 
52  private:
53 
57  bool m_onlyBadTracks;
58 
59  };
61 }
62 
63 #endif /* GenfitVisModule_H */
Belle2::GenfitVisModule::endRun
void endRun() override
Open display.
Definition: GenfitVisModule.cc:83
Belle2::GenfitVisModule::event
void event() override
Add genfit::Tracks to display.
Definition: GenfitVisModule.cc:63
Belle2::GenfitVisModule::m_display
genfit::EventDisplay * m_display
pointer to the genfit::EventDisplay which gets created in initialize()
Definition: GenfitVisModule.h:63
Belle2::GenfitVisModule::m_onlyBadTracks
bool m_onlyBadTracks
if true, tracks which have been fitted and the fit converged will no be shown
Definition: GenfitVisModule.h:65
Belle2::GenfitVisModule::terminate
void terminate() override
Close display.
Definition: GenfitVisModule.cc:88
genfit::EventDisplay
Event display designed to run with Genfit.
Definition: EventDisplay.h:59
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::GenfitVisModule::initialize
void initialize() override
Initialize the EventDisplay.
Definition: GenfitVisModule.cc:43
Belle2::GenfitVisModule::GenfitVisModule
GenfitVisModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: GenfitVisModule.cc:33