Belle II Software development
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 {
32
33 public:
34
37
38 private:
40 void initialize() override final;
41
43 void beginRun() override final;
44
46 void event() override final;
47
49 void defineHisto() override final;
50
51 private:
54 std::string m_PXDRawROIsName;
56 bool m_eachModule{false};
57 bool m_offlineDQM{false};
58
61
64
66 TH1F* hrawROIcount = nullptr;
67 TH1F* hrawROItype = nullptr;
69 std::map <int, TH2F*> hrawROIHLTmapModule{};
70 std::map <int, TH2F*> hrawROIHLTsizeModule{};
71 std::map <int, TH2F*> hrawROIDCmapModule{};
72 std::map <int, TH2F*> hrawROIDCsizeModule{};
74 TH2F* hrawROIHLTmap = nullptr;
75 TH2F* hrawROIHLTsize = nullptr;
76 TH1F* hrawROIHLT_DHHID = nullptr;
77 TH1F* hrawROIHLTminU = nullptr;
78 TH1F* hrawROIHLTmaxU = nullptr;
79 TH1F* hrawROIHLTminV = nullptr;
80 TH1F* hrawROIHLTmaxV = nullptr;
81 TH1F* hrawROIHLTsizeV = nullptr;
82 TH1F* hrawROIHLTsizeU = nullptr;
84 TH2F* hrawROIDCmap = nullptr;
85 TH2F* hrawROIDCsize = nullptr;
86 TH1F* hrawROIDC_DHHID = nullptr;
87 TH1F* hrawROIDCminU = nullptr;
88 TH1F* hrawROIDCmaxU = nullptr;
89 TH1F* hrawROIDCminV = nullptr;
90 TH1F* hrawROIDCmaxV = nullptr;
91 TH1F* hrawROIDCsizeV = nullptr;
92 TH1F* hrawROIDCsizeU = nullptr;
94 TH2F* hrawROINrDCvsNrHLT = nullptr;
96 };//end class declaration
97
98
99 } //end PXD namespace;
101} // end namespace Belle2
102
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.