Belle II Software  release-08-01-10
TTDDQMModule.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/HistoModule.h>
12 #include <framework/datastore/StoreObjPtr.h>
13 #include <rawdata/dataobjects/RawFTSW.h>
14 #include <mdst/dataobjects/EventLevelTriggerTimeInfo.h>
15 #include <TH1.h>
16 #include <TH2.h>
17 #include <string>
18 
19 namespace Belle2 {
33  class TTDDQMModule : public HistoModule {
34 
35  public:
36 
38  TTDDQMModule();
39 
40  private:
45 
46 
47  TH2I* hTrigAfterInjLER{};
48  TH2I* hTrigAfterInjHER{};
50  TH2I* hTrigBunchInjLER{};
51  TH2I* hTrigBunchInjHER{};
53  TH1I* hTriggersDeltaT{};
56  TH1I* hBunchInjLER{};
57  TH1I* hBunchInjHER{};
62  void initialize() override final;
64  void beginRun() override final;
66  void event() override final;
68  void defineHisto() override final;
70  };//end class declaration
71 
72 
74 } // end namespace Belle2
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
TTD Injection DQM module.
Definition: TTDDQMModule.h:33
void initialize() override final
initialize function
Definition: TTDDQMModule.cc:77
TH1I * hTriggersDeltaT
Histogram for Delta T to previous Trigger.
Definition: TTDDQMModule.h:53
TH2I * hTrigAfterInjHER
Histogram Veto tuning triggers after HER injection.
Definition: TTDDQMModule.h:48
TTDDQMModule()
Constructor defining the parameters.
Definition: TTDDQMModule.cc:24
TH2I * hTrigBunchInjLER
Histogram correlation triggered and injected bunch LER.
Definition: TTDDQMModule.h:50
TH1I * hBunchInjHER
Histogram injected LER bunch (triggers)
Definition: TTDDQMModule.h:57
void defineHisto() override final
defineHisto function
Definition: TTDDQMModule.cc:38
TH1I * hTrigBunchInjHERproj
Histogram offset triggered and injected bunch HER.
Definition: TTDDQMModule.h:60
TH1I * hBunchInjLER
Histogram injected HER bunch (triggers)
Definition: TTDDQMModule.h:56
void event() override final
event function
Definition: TTDDQMModule.cc:98
TH1I * hTrigBunchInjLERproj
Histogram offset triggered and injected bunch LER.
Definition: TTDDQMModule.h:59
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
Definition: TTDDQMModule.h:41
TH2I * hTrigBunchInjHER
Histogram correlation triggered and injected bunch HER.
Definition: TTDDQMModule.h:51
TH2I * hTrigAfterInjLER
Histogram Veto tuning triggers after LER injection.
Definition: TTDDQMModule.h:47
void beginRun() override final
beginRun function
Definition: TTDDQMModule.cc:83
StoreObjPtr< EventLevelTriggerTimeInfo > m_EventLevelTriggerTimeInfo
Input object for TTD mdst object.
Definition: TTDDQMModule.h:44
TH1I * hTriggersPerBunch
Histogram for Triggers per Bunch
Definition: TTDDQMModule.h:54
Abstract base class for different kinds of events.