Belle II Software release-09-00-00
PXDROIDQMModule.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 <vxd/geometry/GeoCache.h>
13//#include <framework/datastore/DataStore.h>
14#include <framework/datastore/StoreArray.h>
15#include <pxd/dataobjects/PXDRawROIs.h>
16#include <TH2.h>
17#include <string>
18#include <map>
19
20namespace Belle2 {
26 namespace PXD {
35
36 public:
37
40
41 private:
43 void initialize() override final;
44
46 void beginRun() override final;
47
49 void event() override final;
50
52 void defineHisto() override final;
53
54 private:
57 std::string m_PXDRawROIsName;
59 bool m_eachModule{false};
60 bool m_offlineDQM{false};
61
64
67
69 TH1F* hrawROIcount = nullptr;
70 TH1F* hrawROItype = nullptr;
72 std::map <int, TH2F*> hrawROIHLTmapModule{};
73 std::map <int, TH2F*> hrawROIHLTsizeModule{};
74 std::map <int, TH2F*> hrawROIDCmapModule{};
75 std::map <int, TH2F*> hrawROIDCsizeModule{};
77 TH2F* hrawROIHLTmap = nullptr;
78 TH2F* hrawROIHLTsize = nullptr;
79 TH1F* hrawROIHLT_DHHID = nullptr;
80 TH1F* hrawROIHLTminU = nullptr;
81 TH1F* hrawROIHLTmaxU = nullptr;
82 TH1F* hrawROIHLTminV = nullptr;
83 TH1F* hrawROIHLTmaxV = nullptr;
84 TH1F* hrawROIHLTsizeV = nullptr;
85 TH1F* hrawROIHLTsizeU = nullptr;
87 TH2F* hrawROIDCmap = nullptr;
88 TH2F* hrawROIDCsize = nullptr;
89 TH1F* hrawROIDC_DHHID = nullptr;
90 TH1F* hrawROIDCminU = nullptr;
91 TH1F* hrawROIDCmaxU = nullptr;
92 TH1F* hrawROIDCminV = nullptr;
93 TH1F* hrawROIDCmaxV = nullptr;
94 TH1F* hrawROIDCsizeV = nullptr;
95 TH1F* hrawROIDCsizeU = nullptr;
97 TH2F* hrawROINrDCvsNrHLT = nullptr;
99 };//end class declaration
100
101
102 } //end PXD namespace;
104} // end namespace Belle2
105
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
The raw PXD DQM module.
void initialize() override final
Initialize.
StoreArray< PXDRawROIs > m_storeROIs
Storearray for ROIs
void defineHisto() override final
Define histograms.
TH2F * hrawROINrDCvsNrHLT
Histogram
bool m_eachModule
create a histo per module
bool m_offlineDQM
create 2d plots for offline checks
void event() override final
Event.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
std::map< int, TH2F * > hrawROIHLTmapModule
Histogram
void beginRun() override final
Begin run.
VXD::GeoCache & m_vxdGeometry
the VXD geometry
TH1F * hrawROIHLT_DHHID
Histogram
std::map< int, TH2F * > hrawROIHLTsizeModule
Histogram
TH1F * hrawROIcount
Histogram 2d hitmap.
PXDROIDQMModule()
Constructor defining the parameters.
std::map< int, TH2F * > hrawROIDCmapModule
Histogram
std::map< int, TH2F * > hrawROIDCsizeModule
Histogram
std::string m_PXDRawROIsName
RawROI StoreArray name.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Class to faciliate easy access to sensor information of the VXD like coordinate transformations or pi...
Definition: GeoCache.h:39
Abstract base class for different kinds of events.