Belle II Software development
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
19namespace Belle2 {
30 class TTDDQMModule : public HistoModule {
31
32 public:
33
36
37 private:
42
43
53 TH1I* hBunchInjLER{};
54 TH1I* hBunchInjHER{};
59 void initialize() override final;
61 void beginRun() override final;
63 void event() override final;
65 void defineHisto() override final;
67 };//end class declaration
68
69
71} // 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:30
void initialize() override final
initialize function
Definition: TTDDQMModule.cc:77
TH1I * hTriggersDeltaT
Histogram for Delta T to previous Trigger.
Definition: TTDDQMModule.h:50
TH2I * hTrigAfterInjHER
Histogram Veto tuning triggers after HER injection.
Definition: TTDDQMModule.h:45
TTDDQMModule()
Constructor defining the parameters.
Definition: TTDDQMModule.cc:24
TH2I * hTrigBunchInjLER
Histogram correlation triggered and injected bunch LER.
Definition: TTDDQMModule.h:47
TH1I * hBunchInjHER
Histogram injected LER bunch (triggers)
Definition: TTDDQMModule.h:54
void defineHisto() override final
defineHisto function
Definition: TTDDQMModule.cc:38
TH1I * hTrigBunchInjHERproj
Histogram offset triggered and injected bunch HER.
Definition: TTDDQMModule.h:57
TH1I * hBunchInjLER
Histogram injected HER bunch (triggers)
Definition: TTDDQMModule.h:53
void event() override final
event function
Definition: TTDDQMModule.cc:98
TH1I * hTrigBunchInjLERproj
Histogram offset triggered and injected bunch LER.
Definition: TTDDQMModule.h:56
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
Definition: TTDDQMModule.h:38
TH2I * hTrigBunchInjHER
Histogram correlation triggered and injected bunch HER.
Definition: TTDDQMModule.h:48
TH2I * hTrigAfterInjLER
Histogram Veto tuning triggers after LER injection.
Definition: TTDDQMModule.h:44
void beginRun() override final
beginRun function
Definition: TTDDQMModule.cc:83
StoreObjPtr< EventLevelTriggerTimeInfo > m_EventLevelTriggerTimeInfo
Input object for TTD mdst object.
Definition: TTDDQMModule.h:41
TH1I * hTriggersPerBunch
Histogram for Triggers per Bunch
Definition: TTDDQMModule.h:51
Abstract base class for different kinds of events.