Belle II Software development
TrackDQMModule.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 <tracking/dqmUtils/DQMHistoModuleBase.h>
12
13#include <mdst/dataobjects/EventLevelTrackingInfo.h>
14
15namespace Belle2 {
26
27 public:
30 /* Destructor */
31 ~TrackDQMModule() { }
32
34 virtual void initialize() override;
35 virtual void event() override;
36
39 virtual void defineHisto() override;
40
41 protected:
45 virtual void DefineFlags();
46
49
54 TH1F* m_trackingErrorFlags = nullptr;
55 };
57}
This class serves as a base for the TrackDQMModule and AlignDQMModule (and possibly other DQM histogr...
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
DQM of tracks their momentum, Number of hits in tracks, Number of tracks.
TrackDQMModule()
Constructor.
virtual void initialize() override
Module functions.
StoreObjPtr< EventLevelTrackingInfo > m_eventLevelTrackingInfo
Acccess to the EventLevelTrackingInfo object in the datastore.
virtual void event() override
This method is called for each event.
TH1F * m_trackingErrorFlags
Monitors the Error flags set by the tracking code.
virtual void DefineFlags()
All the following Define- functions should be used in the defineHisto() function to define histograms...
virtual void defineHisto() override
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
Abstract base class for different kinds of events.