Belle II Software development
PXDRawDQMModule.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/StoreArray.h>
13#include <framework/datastore/StoreObjPtr.h>
14#include <pxd/dataobjects/PXDRawHit.h>
15#include <pxd/dataobjects/PXDRawAdc.h>
16#include <pxd/dataobjects/PXDDAQStatus.h>
17#include <rawdata/dataobjects/RawPXD.h>
18#include <string>
19#include <TH2.h>
20
21namespace Belle2 {
27 namespace PXD {
33
34 public:
35
38
39 // virtual ~PXDRawDQMModule();
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
55 private:
56
60 std::string m_storeRawHitsName;
61 std::string m_storeRawAdcsName;
71
73 TH1F* hrawPxdPackets = nullptr;
75 TH1F* hrawPxdPacketSize = nullptr;
77 TH1F* hrawPxdHitsCount = nullptr;
79 TH2F* hrawPxdHitMapAll = nullptr;
81 TH2F* hrawPxdAdcMapAll = nullptr;
83 TH2F* hrawPxdHitMap[64] = {};
85 TH2F* hrawPxdChargeMap[64] = {};
87 TH1F* hrawPxdHitsCharge[64] = {};
89 TH1F* hrawPxdHitTimeWindow[64] = {};
91 TH1F* hrawPxdGateTimeWindow[64] = {};
92
93 };//end class declaration
94
95
96 } //end PXD namespace;
98} // end namespace Belle2
99
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.
TH2F * hrawPxdAdcMapAll
Histogram Adc 2d hitmap (full frames only) (all pxd)
void initialize() override final
Initialize.
std::string m_storeRawAdcsName
RawAdcs StoreArray name.
TH1F * hrawPxdGateTimeWindow[64]
Histogram raw pixel trigger gate window.
TH1F * hrawPxdPacketSize
Histogram raw packet size.
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Input array for DAQ Status.
StoreArray< RawPXD > m_storeRawPxdrarray
Storearray for raw data packets
TH1F * hrawPxdHitsCharge[64]
Histogram raw pixel charge.
void defineHisto() override final
Define histograms.
std::string m_storeRawHitsName
PXDRawHits StoreArray name.
std::string m_storeRawPxdrarrayName
RawPXD StoreArray name.
void event() override final
Event.
TH1F * hrawPxdHitsCount
Histogram pixelcount/???
TH2F * hrawPxdHitMapAll
Histogram 2d hitmap (all)
PXDRawDQMModule()
Constructor defining the parameters.
StoreArray< PXDRawAdc > m_storeRawAdcs
Storearray for ADC from full frames
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
TH1F * hrawPxdPackets
Histogram number of raw packets.
TH2F * hrawPxdHitMap[64]
Histogram 2d hitmap.
void beginRun() override final
Begin run.
TH1F * hrawPxdHitTimeWindow[64]
Histogram raw pixel hit "time" window.
StoreArray< PXDRawHit > m_storeRawHits
Storearray for raw pixels
TH2F * hrawPxdChargeMap[64]
Histogram 2d chargemap.
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
Abstract base class for different kinds of events.