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 <vxd/geometry/GeoCache.h>
15
16#include <TH2.h>
17#include <TH1.h>
18#include <string>
19#include <map>
20
21namespace Belle2 {
26 class PXDDAQStatus;
27 class RawSVD;
29
30 namespace PXD {
36
37 public:
38
41
42 private:
44
47
50
53
56
64 // TH1F* hDAQErrorPacket{}; /**< per packet (event builder input) errors */
65 TH2D* hDAQErrorDHC{};
66 TH2D* hDAQErrorDHE{};
69 std::map<VxdID, TH1D*> hDAQDHETriggerGate;
70 std::map<VxdID, TH1D*> hDAQDHEReduction;
71 std::map<VxdID, TH2D*> hDAQCM;
72 std::map<VxdID, TH1D*> hDAQCM2;
73 std::map<int, TH1D*> hDAQDHCReduction;
74
83 TH1I* hEODBTrgDiff{};
84 TH1I* hCM63TrgDiff{};
85 TH1I* hTruncTrgDiff{};
86 TH1I* hMissTrgDiff{};
87 TH1D* hDAQStat{};
88
90 void initialize() override final;
91
93 void beginRun() override final;
94
96 void event() override final;
97
99 void defineHisto() override final;
100
102 std::vector<std::string> err;
103
104 };//end class declaration
105
106
107 } //end PXD namespace;
109} // end namespace Belle2
Storage element for information from the Trigger Timing Distribution (TTD) and EventT0-related inform...
HistoModule()
Constructor.
Definition HistoModule.h:32
The PXD DAQ Status class.
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 Usable/unusable 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 Usable/unusable 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.
The Raw SVD class Class for RawCOPPER class data taken by SVD Currently, this class is almost same as...
Definition RawSVD.h:26
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 facilitate easy access to sensor information of the VXD like coordinate transformations or p...
Definition GeoCache.h:38
STL class.
Namespace to encapsulate code needed for simulation and reconstrucion of the PXD.
Abstract base class for different kinds of events.
STL namespace.