Belle II Software development
PXDDQMClustersModule.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 <pxd/dataobjects/PXDDAQStatus.h>
13#include <framework/datastore/StoreObjPtr.h>
14#include "TH1D.h"
15#include "TH2D.h"
16
17namespace Belle2 {
24 class PXDDQMClustersModule : public HistoModule { // <- derived from HistoModule class
25
26 public:
27
30
31 private:
33 void initialize() override final;
35 void beginRun() override final;
37 void event() override final;
38
43 void defineHisto() override final;
44
45 private:
46
55
60
67
68
70 TH1D* m_hitMapCounts = {};
74 TH1D* m_hitMapClCounts = {};
77
83 std::vector<TH1D*> m_fired = {};
85 std::vector<TH1D*> m_goodfired = {};
87 std::vector<TH1D*> m_clusters = {};
89 std::vector<TH1D*> m_goodclusters = {};
91 std::vector<TH1D*> m_startRow = {};
93 std::vector<TH1D*> m_chargStartRow = {};
95 std::vector<TH1D*> m_startRowCount = {};
97 std::vector<TH1D*> m_clusterCharge = {};
99 std::vector<TH1D*> m_clusterEnergy = {};
101 std::vector<TH1D*> m_pixelSignal = {};
103 std::vector<TH1D*> m_clusterSizeU = {};
105 std::vector<TH1D*> m_clusterSizeV = {};
107 std::vector<TH1D*> m_clusterSizeUV = {};
108
110 std::vector<TH1D*> m_hitMapU = {};
112 std::vector<TH1D*> m_hitMapV = {};
114 std::vector<TH2D*> m_hitMap = {};
116 std::vector<TH1D*> m_hitMapUCl = {};
118 std::vector<TH1D*> m_hitMapVCl = {};
120 std::vector<TH2D*> m_hitMapCl = {};
122 std::vector<TH1D*> m_seed = {};
123
124 };
125
127}
128
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
std::vector< TH1D * > m_goodfired
Filtered fired pixels per event.
TH1D * m_hitMapClFilterCounts
Hitmaps of filtered Clusters.
void initialize() override final
Initialize.
std::string m_relPXDClusterDigitName
PXDClustersToPXDDigits RelationArray name.
std::vector< TH1D * > m_hitMapUCl
Hitmaps clusters for u.
std::vector< TH2D * > m_hitMapCl
Hitmaps clusters.
std::vector< TH1D * > m_fired
Fired pixels per event.
int m_CutMinSeedCharge
cut for accepting to filtered hitmap histogram, using cluster seed
std::vector< TH1D * > m_clusterSizeUV
Cluster size.
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Input array for DAQ Status.
std::vector< TH2D * > m_hitMap
Hitmaps pixels.
std::vector< TH1D * > m_clusterEnergy
Deposited energy of clusters.
std::string m_storePXDClustersName
PXDClusters StoreArray name.
std::vector< TH1D * > m_hitMapVCl
Hitmaps clusters for v.
std::vector< TH1D * > m_chargStartRow
Cluster seed charge by distance from the start row.
std::vector< TH1D * > m_startRow
Start row distribution.
TH1D * m_hitMapFilterCounts
Hitmaps of filtered Digits.
void defineHisto() override final
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
int m_CutMinCharge
cut for accepting filtered pixel
std::vector< TH1D * > m_hitMapU
Hitmaps pixels for u.
void event() override final
Event.
std::vector< TH1D * > m_pixelSignal
Charge of pixels.
std::vector< TH1D * > m_clusterSizeV
v cluster size
TH1D * m_hitMapCounts
Hitmaps of Digits.
TH1D * m_hitMapCountsChip
Hitmaps of digits on chips.
TH1D * m_hitMapClCounts
Hitmaps of Clusters.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
int m_CutMinClusterCharge
cut for accepting filtered cluster, using cluster charge
std::vector< TH1D * > m_startRowCount
counter for Cluster seed charge by distance from the start row
std::vector< TH1D * > m_hitMapV
Hitmaps pixels for v.
std::vector< TH1D * > m_goodclusters
filtered Clusters per event
std::vector< TH1D * > m_clusterSizeU
u cluster size
std::vector< TH1D * > m_clusters
Clusters per event.
void beginRun() override final
Begin run.
int m_CutMaxClusterSize
cut for accepting to filtered hitmap histogram, maximum cluster size
std::vector< TH1D * > m_seed
Seed.
TH1D * m_hitMapClCountsChip
Hitmaps of clusters on chips.
std::vector< TH1D * > m_clusterCharge
Charge of clusters.
std::string m_storePXDDigitsName
PXDDigits StoreArray name.
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.