Belle II Software  release-05-01-25
PXDRawDQMModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2013 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Klemens Lautenbach, Bjoern Spruck *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/core/HistoModule.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <framework/datastore/StoreObjPtr.h>
16 #include <pxd/dataobjects/PXDRawHit.h>
17 #include <pxd/dataobjects/PXDRawAdc.h>
18 #include <pxd/dataobjects/PXDDAQStatus.h>
19 #include <rawdata/dataobjects/RawPXD.h>
20 #include <string>
21 #include <TH2.h>
22 
23 namespace Belle2 {
29  namespace PXD {
37  class PXDRawDQMModule : public HistoModule {
38 
39  public:
40 
43 
44  // virtual ~PXDRawDQMModule();
45 
46  private:
47  void initialize() override final;
48 
49  void beginRun() override final;
50 
51  void event() override final;
52 
53  void defineHisto() override final;
54 
55 
56  private:
57 
58  std::string m_histogramDirectoryName;
60  std::string m_storeRawPxdrarrayName;
61  std::string m_storeRawHitsName;
62  std::string m_storeRawAdcsName;
72 
74  TH1F* hrawPxdPackets = nullptr;
76  TH1F* hrawPxdPacketSize = nullptr;
78  TH1F* hrawPxdHitsCount = nullptr;
80  TH2F* hrawPxdHitMapAll = nullptr;
82  TH2F* hrawPxdAdcMapAll = nullptr;
84  TH2F* hrawPxdHitMap[64] = {};
86  TH2F* hrawPxdChargeMap[64] = {};
88  TH1F* hrawPxdHitsCharge[64] = {};
90  TH1F* hrawPxdHitTimeWindow[64] = {};
92  TH1F* hrawPxdGateTimeWindow[64] = {};
93 
94  };//end class declaration
95 
96 
97  } //end PXD namespace;
99 } // end namespace Belle2
100 
Belle2::PXD::PXDRawDQMModule::hrawPxdHitsCount
TH1F * hrawPxdHitsCount
Histogram pixelcount/???
Definition: PXDRawDQMModule.h:86
Belle2::PXD::PXDRawDQMModule::PXDRawDQMModule
PXDRawDQMModule()
Constructor defining the parameters.
Definition: PXDRawDQMModule.cc:34
Belle2::PXDRawAdc
The PXD Raw Adc class This class stores information about Raw Adc for Pedestals.
Definition: PXDRawAdc.h:41
Belle2::PXD::PXDRawDQMModule::m_storeRawPxdrarrayName
std::string m_storeRawPxdrarrayName
RawPXD StoreArray name.
Definition: PXDRawDQMModule.h:68
Belle2::PXD::PXDRawDQMModule::initialize
void initialize() override final
Function for dynamic initialization of module.
Definition: PXDRawDQMModule.cc:99
Belle2::PXD::PXDRawDQMModule::hrawPxdAdcMapAll
TH2F * hrawPxdAdcMapAll
Histogram Adc 2d hitmap (full frames only) (all pxd)
Definition: PXDRawDQMModule.h:90
Belle2::PXD::PXDRawDQMModule::hrawPxdPacketSize
TH1F * hrawPxdPacketSize
Histogram raw packet size.
Definition: PXDRawDQMModule.h:84
Belle2::PXD::PXDRawDQMModule::m_storeRawAdcsName
std::string m_storeRawAdcsName
RawAdcs StoreArray name.
Definition: PXDRawDQMModule.h:70
Belle2::PXD::PXDRawDQMModule::hrawPxdPackets
TH1F * hrawPxdPackets
Histogram number of raw packets.
Definition: PXDRawDQMModule.h:82
Belle2::PXD::PXDRawDQMModule::hrawPxdChargeMap
TH2F * hrawPxdChargeMap[64]
Histogram 2d chargemap.
Definition: PXDRawDQMModule.h:94
Belle2::PXDRawHit
The PXD Raw Hit class This class stores information about PXD Pixel hits and makes them available in ...
Definition: PXDRawHit.h:36
Belle2::PXD::PXDRawDQMModule::defineHisto
void defineHisto() override final
Function to define histograms.
Definition: PXDRawDQMModule.cc:47
Belle2::RawPXD
The Raw PXD class.
Definition: RawPXD.h:28
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::PXD::PXDRawDQMModule::hrawPxdHitMap
TH2F * hrawPxdHitMap[64]
Histogram 2d hitmap.
Definition: PXDRawDQMModule.h:92
Belle2::PXD::PXDRawDQMModule::beginRun
void beginRun() override final
Function to process begin_run record.
Definition: PXDRawDQMModule.cc:108
Belle2::PXD::PXDRawDQMModule::m_storeRawPxdrarray
StoreArray< RawPXD > m_storeRawPxdrarray
Storearray for raw data packets
Definition: PXDRawDQMModule.h:73
Belle2::PXD::PXDRawDQMModule::hrawPxdHitMapAll
TH2F * hrawPxdHitMapAll
Histogram 2d hitmap (all)
Definition: PXDRawDQMModule.h:88
Belle2::PXDDAQStatus
The PXD DAQ Status class.
Definition: PXDDAQStatus.h:45
Belle2::PXD::PXDRawDQMModule::hrawPxdGateTimeWindow
TH1F * hrawPxdGateTimeWindow[64]
Histogram raw pixel trigger gate window.
Definition: PXDRawDQMModule.h:100
Belle2::PXD::PXDRawDQMModule::hrawPxdHitTimeWindow
TH1F * hrawPxdHitTimeWindow[64]
Histogram raw pixel hit "time" window.
Definition: PXDRawDQMModule.h:98
Belle2::PXD::PXDRawDQMModule::m_storeRawAdcs
StoreArray< PXDRawAdc > m_storeRawAdcs
Storearray for ADC from full frames
Definition: PXDRawDQMModule.h:77
Belle2::PXD::PXDRawDQMModule::m_storeRawHits
StoreArray< PXDRawHit > m_storeRawHits
Storearray for raw pixels
Definition: PXDRawDQMModule.h:75
Belle2::PXD::PXDRawDQMModule::hrawPxdHitsCharge
TH1F * hrawPxdHitsCharge[64]
Histogram raw pixel charge.
Definition: PXDRawDQMModule.h:96
Belle2::PXD::PXDRawDQMModule::event
void event() override final
Function to process event record.
Definition: PXDRawDQMModule.cc:125
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::PXD::PXDRawDQMModule::m_histogramDirectoryName
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
Definition: PXDRawDQMModule.h:66
Belle2::PXD::PXDRawDQMModule::m_storeDAQEvtStats
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Input array for DAQ Status.
Definition: PXDRawDQMModule.h:79
Belle2::PXD::PXDRawDQMModule::m_storeRawHitsName
std::string m_storeRawHitsName
PXDRawHits StoreArray name.
Definition: PXDRawDQMModule.h:69