Belle II Software  release-08-01-10
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 
18 namespace Belle2 {
29 
30  public:
35 
37  void initialize() override;
39  void event() override;
40 
43  virtual void defineHisto() override;
44 
45  protected:
49  virtual void DefineAbortFlagsHistograms();
50 
53 
56 
61  TH1F* m_trackingErrorFlags = nullptr;
62 
64  TH2F* m_abortVStimeHER = nullptr;
65 
67  TH2F* m_allVStimeHER = nullptr;
68 
70  TH2F* m_abortVStimeLER = nullptr;
71 
73  TH2F* m_allVStimeLER = nullptr;
74 
83  static constexpr double c_revolutionTime = 5120.0 / 508.0;
84 
86  static constexpr double c_noInjectionTime = 30e3;
87 
100  static constexpr double c_globalClock = 127.0;
101  };
103 }
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
Acccess 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.