Belle II Software development
TrackingHLTDQMModule.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#include <framework/datastore/StoreObjPtr.h>
13#include <mdst/dataobjects/EventLevelTrackingInfo.h>
14#include <framework/datastore/StoreArray.h>
15#include <rawdata/dataobjects/RawFTSW.h>
16#include <TH1.h>
17
18namespace Belle2 {
26
27 public:
32
34 void initialize() override;
36 void event() override;
37
40 virtual void defineHisto() override;
41
42 protected:
46 virtual void DefineAbortFlagsHistograms();
47
50
53
58 TH1F* m_trackingErrorFlags = nullptr;
59
61 TH2F* m_abortVStimeHER = nullptr;
62
64 TH2F* m_allVStimeHER = nullptr;
65
67 TH2F* m_abortVStimeLER = nullptr;
68
70 TH2F* m_allVStimeLER = nullptr;
71
80 static constexpr double c_revolutionTime = 5120.0 / 508.0;
81
83 static constexpr double c_noInjectionTime = 30e3;
84
97 static constexpr double c_globalClock = 127.0;
98 };
100}
This class serves as a base for the TrackDQMModule and AlignDQMModule (and possibly other DQM histogr...
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
void initialize() override
Module functions.
StoreObjPtr< EventLevelTrackingInfo > m_eventLevelTrackingInfo
Access to the EventLevelTrackingInfo object in the datastore.
void event() override
fill of the histograms happens here
StoreArray< RawFTSW > m_rawTTD
Input array for DAQ Status.
TH1F * m_trackingErrorFlags
Monitors the Error flags set by the tracking code.
TH2F * m_allVStimeLER
number of events as a function of time after injection and time within a beam cycle - LER
static constexpr double c_revolutionTime
Beam revolution time in microseconds (approximated).
static constexpr double c_globalClock
Approximated global clock frequency in MHz.
TH2F * m_abortVStimeLER
abort rate as a function of time after injection and time within a beam cycle - LER
TH2F * m_allVStimeHER
number of events as a function of time after injection and time within a beam cycle - HER
virtual void DefineAbortFlagsHistograms()
All the following Define- functions should be used in the defineHisto() function to define histograms...
TH2F * m_abortVStimeHER
abort rate as a function of time after injection and time within a beam cycle - HER
static constexpr double c_noInjectionTime
Defines the range of the x axis of the 2D time histogram.
virtual void defineHisto() override
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
Abstract base class for different kinds of events.