Belle II Software development
DQMHistAnalysisPXDInjection.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// File : DQMHistAnalysisPXDInjection.h
10// Description : DQM module, which gives occupancies in time after injection
11// PXD specific per module plots without EPICS export
12//-
13
14#pragma once
15
16#include <dqm/core/DQMHistAnalysis.h>
17#include <vxd/geometry/GeoCache.h>
18
19
20namespace Belle2 {
28
29 // Public functions
30 public:
31
36
40 void initialize(void) override final;
41
45 void beginRun(void) override final;
46
50 void event(void) override final;
51
55 void terminate(void) override final;
56
57 private:
58
59 // Data members
62
64 TH1F* m_hInjectionLERPXD = nullptr;
66 TCanvas* m_cInjectionLERPXD = nullptr;
68 TH1F* m_hInjectionHERPXD = nullptr;
70 TCanvas* m_cInjectionHERPXD = nullptr;
71
73 std::vector<VxdID> m_sensors;
75 std::map <VxdID, TCanvas*> m_cInjectionLERPXDMod;
77 std::map <VxdID, TCanvas*> m_cInjectionHERPXDMod;
79 std::map <VxdID, TH1F*> m_hInjectionLERPXDMod;
81 std::map <VxdID, TH1F*> m_hInjectionHERPXDMod;
83 std::map <VxdID, TCanvas*> m_cInjectionLERPXDModNorm;
85 std::map <VxdID, TCanvas*> m_cInjectionHERPXDModNorm;
87 std::map <VxdID, TH1F*> m_hInjectionLERPXDModNorm;
89 std::map <VxdID, TH1F*> m_hInjectionHERPXDModNorm;
90
91 };
93} // end namespace Belle2
94
The base class for the histogram analysis module.
DQM Histogram Analysis for PXD occupancy after Injection.
void terminate(void) override final
This method is called at the end of the event processing.
std::map< VxdID, TCanvas * > m_cInjectionLERPXDModNorm
Canvases per sensor for LER normalized.
std::map< VxdID, TH1F * > m_hInjectionHERPXDModNorm
Histogram per sensor for HER normalized.
void initialize(void) override final
Initializer.
std::map< VxdID, TCanvas * > m_cInjectionHERPXDModNorm
Canvases per sensor for HER normalized.
std::string m_histogramDirectoryName
name of histogram directory
std::map< VxdID, TCanvas * > m_cInjectionLERPXDMod
Canvases per sensor for LER.
std::map< VxdID, TH1F * > m_hInjectionHERPXDMod
Histogram per sensor for HER.
std::map< VxdID, TH1F * > m_hInjectionLERPXDMod
Histogram per sensor for LER.
std::map< VxdID, TH1F * > m_hInjectionLERPXDModNorm
Histogram per sensor for LER normalized.
std::vector< VxdID > m_sensors
List of PXD sensors.
std::map< VxdID, TCanvas * > m_cInjectionHERPXDMod
Canvases per sensor for HER.
void beginRun(void) override final
Called when entering a new run.
void event(void) override final
This method is called for each event.
Abstract base class for different kinds of events.