Belle II Software development
PXDDAQDQMModule.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 <framework/datastore/StoreObjPtr.h>
13#include <framework/datastore/StoreArray.h>
14#include <pxd/dataobjects/PXDDAQStatus.h>
15#include <vxd/geometry/GeoCache.h>
16#include <rawdata/dataobjects/RawSVD.h>
17#include <mdst/dataobjects/EventLevelTriggerTimeInfo.h>
18
19#include <TH2.h>
20#include <TH1.h>
21#include <string>
22#include <vector>
23#include <map>
24
25namespace Belle2 {
31 namespace PXD {
37
38 public:
39
42
43 private:
48
51
54
57
65 // TH1F* hDAQErrorPacket{}; /**< per packet (event builder input) errors */
66 TH2D* hDAQErrorDHC{};
67 TH2D* hDAQErrorDHE{};
70 std::map<VxdID, TH1D*> hDAQDHETriggerGate;
71 std::map<VxdID, TH1D*> hDAQDHEReduction;
72 std::map<VxdID, TH2D*> hDAQCM;
73 std::map<VxdID, TH1D*> hDAQCM2;
74 std::map<int, TH1D*> hDAQDHCReduction;
84 TH1I* hEODBTrgDiff{};
85 TH1I* hCM63TrgDiff{};
86 TH1I* hTruncTrgDiff{};
87 TH1I* hMissTrgDiff{};
88 TH1D* hDAQStat{};
91 void initialize() override final;
92
94 void beginRun() override final;
95
97 void event() override final;
98
100 void defineHisto() override final;
101
103 std::vector<std::string> err;
104
105 };//end class declaration
106
107
108 } //end PXD namespace;
110} // end namespace Belle2
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
The PXD DAQ DQM module.
TH1I * hCM63AfterInjLER
Histogram of CM63 after LER injection.
void initialize() override final
Initialize.
PXDDAQDQMModule()
Constructor defining the parameters.
std::map< VxdID, TH1D * > hDAQDHETriggerGate
DHE Trigger Gate ("start Row")
std::vector< std::string > err
vector of errors
TH1D * hDAQNotUseableModule
Count Useable/unuseable decision.
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Input array for DAQ Status.
TH1I * hTruncAfterInjHER
Histogram Truncation after HER injection.
StoreArray< RawSVD > m_rawSVD
Input array for SVD/x-check HLT EODB .
TH1D * hDAQErrorEvent
Remark: Because of DHH load balancing and sub event building, the very same DHE and DHC can show up i...
TH1I * hEODBTrgDiff
Histogram of EODB after last trigger.
std::map< VxdID, TH2D * > hDAQCM
Common Mode per DHE to gate and DHP level.
TH1D * hDAQUseableModule
Count Useable/unuseable decision.
void defineHisto() override final
Define histograms.
TH1I * hMissTrgDiff
Histogram MissFrame after last trigger.
TH1I * hMissAfterInjHER
Histogram MissFrame after HER injection.
void event() override final
Event.
TH2D * hDAQErrorDHC
individual DHC errors
TH2D * hDAQEndErrorDHE
individual DHE END errors
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
TH1I * hCM63TrgDiff
Histogram of CM63 after last trigger.
TH1I * hCM63AfterInjHER
Histogram of CM63 after HER injection.
TH1I * hTruncTrgDiff
Histogram Truncation after last trigger.
std::map< VxdID, TH1D * > hDAQDHEReduction
DHE data reduction
TH1I * hEODBAfterInjHER
Histogram of EODB after HER injection.
TH2D * hDAQEndErrorDHC
individual DHC END errors
TH2D * hDAQErrorDHE
individual DHE errors
void beginRun() override final
Begin run.
std::map< VxdID, TH1D * > hDAQCM2
Common Mode per DHE to gate and DHP level.
VXD::GeoCache & m_vxdGeometry
the geometry
TH1I * hMissAfterInjLER
Histogram MissFrame after LER injection.
TH1D * hDAQDHPDataMissing
Count Missing DHP data.
std::map< int, TH1D * > hDAQDHCReduction
DHC data reduction
TH1D * hDAQStat
Histogram for Truncation etc Stats.
TH1I * hTruncAfterInjLER
Histogram Truncation after LER injection.
StoreObjPtr< EventLevelTriggerTimeInfo > m_EventLevelTriggerTimeInfo
Object for TTD mdst object.
TH1I * hEODBAfterInjLER
Histogram of EODB after LER injection.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
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.
STL namespace.