Belle II Software development
eclDQMOutOfTimeDigits.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/* Basf2 headers. */
12#include <framework/core/HistoModule.h>
13#include <framework/core/ModuleParam.templateDetails.h>
14#include <framework/datastore/StoreObjPtr.h>
15
16class TH1F;
17
18namespace Belle2 {
24 class TRGSummary;
25
37 public:
38
41
44
46 virtual void initialize() override;
48 virtual void beginRun() override;
50 virtual void event() override;
51
53 virtual void defineHisto() override;
54
55 private:
56
61 bool isRandomTrigger();
62
64 std::string getEventType();
65
75 std::map<std::string, TH1F*> h_out_of_time{};
76
79
82 };
84}; // end Belle2 namespace
This module produces DQM histograms to monitor the distribution of out-of-time ECLCalDigits.
virtual void initialize() override
Initialize the module.
StoreObjPtr< TRGSummary > m_l1Trigger
StoreObjPtr TRGSummary
virtual void event() override
Event processor.
ECLDQMOutOfTimeDigitsModule()
< derived from HistoModule class.
virtual void beginRun() override
Call when a run begins.
std::string m_histogramDirectoryName
Histogram directory in ROOT file.
std::string getEventType()
Return type of the current event.
std::map< std::string, TH1F * > h_out_of_time
Single-value histograms to hold the average value for out-of-time ECLCalDigits.
virtual void defineHisto() override
Function to define histograms.
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
Abstract base class for different kinds of events.