Belle II Software  release-08-01-10
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 
20 namespace 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 
52  private:
53 
54  // Data members
57 
59  TH1F* m_hInjectionLERPXD = nullptr;
61  TCanvas* m_cInjectionLERPXD = nullptr;
63  TH1F* m_hInjectionHERPXD = nullptr;
65  TCanvas* m_cInjectionHERPXD = nullptr;
66 
68  std::vector<VxdID> m_sensors;
70  std::map <VxdID, TCanvas*> m_cInjectionLERPXDMod;
72  std::map <VxdID, TCanvas*> m_cInjectionHERPXDMod;
74  std::map <VxdID, TH1F*> m_hInjectionLERPXDMod;
76  std::map <VxdID, TH1F*> m_hInjectionHERPXDMod;
78  std::map <VxdID, TCanvas*> m_cInjectionLERPXDModNorm;
80  std::map <VxdID, TCanvas*> m_cInjectionHERPXDModNorm;
82  std::map <VxdID, TH1F*> m_hInjectionLERPXDModNorm;
84  std::map <VxdID, TH1F*> m_hInjectionHERPXDModNorm;
85 
86  };
88 } // end namespace Belle2
89 
The base class for the histogram analysis module.
DQM Histogram Analysis for PXD occupancy after Injection.
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.