 |
Belle II Software
release-05-01-25
|
10 #include <dqm/modules/DAQMonitor.h>
13 #include <TDirectory.h>
21 setDescription(
"This module produces general DAQ DQM histograms.");
22 setPropertyFlags(c_ParallelProcessingCertified);
27 TDirectory* oldDir = gDirectory;
30 h_nEvt =
new TH1F(
"Nevent",
"Total Number of Events", 3, 0.0, 2.0);
31 h_pxdSize =
new TH1F(
"PXDDataSize",
"PXD Data Size", 100, 0.0, 100000.0);
32 h_svdSize =
new TH1F(
"SVDDataSize",
"SVD Data Size", 100, 0.0, 100000.0);
33 h_cdcSize =
new TH1F(
"CDCDataSize",
"CDC Data Size", 100, 0.0, 100000.0);
34 h_topSize =
new TH1F(
"TOPDataSize",
"TOP Data Size", 100, 0.0, 100000.0);
35 h_arichSize =
new TH1F(
"ARICHDataSize",
"ARICH Data Size", 100, 0.0, 40000.0);
36 h_eclSize =
new TH1F(
"ECLDataSize",
"ECL Data Size", 100, 0.0, 100000.0);
37 h_klmSize =
new TH1F(
"KLMDataSize",
"KLM Data Size", 100, 0.0, 40000.0);
38 h_trgSize =
new TH1F(
"TRGDataSize",
"TRG Data Size", 100, 0.0, 40000.0);
39 h_hltSize =
new TH1F(
"HLTDataSize",
"HLT Data Size", 100, 0.0, 300000.0);
40 h_totalSize =
new TH1F(
"TotalDataSize",
"Total (HLT + PXD) Data Size", 100, 0.0, 300000.0);
65 pxdSize += (pxdRaw.size()) *
sizeof(
unsigned int);
66 h_pxdSize->Fill(
static_cast<float>(pxdSize));
71 svdSize += svdRaw.GetBlockNwords(0) *
sizeof(
unsigned int);
72 h_svdSize->Fill(
static_cast<float>(svdSize));
77 cdcSize += cdcRaw.GetBlockNwords(0) *
sizeof(
unsigned int);
78 h_cdcSize->Fill(
static_cast<float>(cdcSize));
83 topSize += topRaw.GetBlockNwords(0) *
sizeof(
unsigned int);
84 h_topSize->Fill(
static_cast<float>(topSize));
89 arichSize += arichRaw.GetBlockNwords(0) *
sizeof(
unsigned int);
95 eclSize += eclRaw.GetBlockNwords(0) *
sizeof(
unsigned int);
96 h_eclSize->Fill(
static_cast<float>(eclSize));
101 klmSize += klmRaw.GetBlockNwords(0) *
sizeof(
unsigned int);
102 h_klmSize->Fill(
static_cast<float>(klmSize));
107 trgSize += trgRaw.GetBlockNwords(0) *
sizeof(
unsigned int);
108 h_trgSize->Fill(
static_cast<float>(trgSize));
111 int hltSize = svdSize + cdcSize + topSize + arichSize + eclSize + klmSize + trgSize;
112 h_hltSize->Fill(
static_cast<float>(hltSize));
113 int totalSize = pxdSize + hltSize;
void defineHisto() override final
Histograms definition.
StoreArray< RawECL > m_eclRaw
ECL raw data.
The Raw TOP class Class for RawCOPPER class data taken by TOP Currently, this class is almost same as...
TH1F * h_svdSize
Histogram for SVD data size.
TH1F * h_klmSize
Histogram for KLM data size.
TH1F * h_trgSize
Histogram for TRG data size.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
The Raw SVD class Class for RawCOPPER class data taken by SVD Currently, this class is almost same as...
StoreArray< RawCDC > m_cdcRaw
CDC raw data.
void initialize() override final
Initialize.
The Raw TOP class Class for RawCOPPER class data taken by TOP Currently, this class is almost same as...
The Raw ECL class Class for RawCOPPER class data taken by ECL Currently, this class is almost same as...
StoreArray< RawKLM > m_klmRaw
KLM raw data.
TH1F * h_cdcSize
Histogram for CDC data size.
The Raw ARICH class Class for RawCOPPER class data taken by ARICH Currently, this class is almost sam...
TH1F * h_hltSize
Histogram for HLT data size.
TH1F * h_topSize
Histogram for TOP data size.
TH1F * h_arichSize
Histogram for ARICH data size.
StoreArray< RawSVD > m_svdRaw
SVD raw data.
The Raw CDC class Class for RawCOPPER class data taken by CDC Currently, this class is almost same as...
Abstract base class for different kinds of events.
The Raw KLM class Class for RawCOPPER class data taken by KLM.
StoreArray< RawTRG > m_trgRaw
TRG raw data.
TH1F * h_totalSize
Histogram for total data size.
StoreArray< RawARICH > m_arichRaw
ARICH raw data.
TH1F * h_eclSize
Histogram for ECL data size.
StoreArray< RawTOP > m_topRaw
TOP raw data.
TH1F * h_pxdSize
Histogram for PXD data size.
TH1F * h_nEvt
Histogram for total number of events.
void event() override final
Event.
StoreArray< RawPXD > m_pxdRaw
PXD raw data.
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
A module for producing general DAQ DQM histograms.