Belle II Software  release-08-01-10
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 
17 namespace Belle2 {
27  class PXDDQMClustersModule : public HistoModule { // <- derived from HistoModule class
28 
29  public:
30 
33 
34  private:
36  void initialize() override final;
38  void beginRun() override final;
40  void event() override final;
41 
46  void defineHisto() override final;
47 
48  private:
49 
58 
63 
65  std::string m_storePXDDigitsName;
70 
71 
73  TH1D* m_hitMapCounts = {};
77  TH1D* m_hitMapClCounts = {};
80 
82  TH1D* m_hitMapCountsChip = {};
86  std::vector<TH1D*> m_fired = {};
88  std::vector<TH1D*> m_goodfired = {};
90  std::vector<TH1D*> m_clusters = {};
92  std::vector<TH1D*> m_goodclusters = {};
94  std::vector<TH1D*> m_startRow = {};
96  std::vector<TH1D*> m_chargStartRow = {};
98  std::vector<TH1D*> m_startRowCount = {};
100  std::vector<TH1D*> m_clusterCharge = {};
102  std::vector<TH1D*> m_clusterEnergy = {};
104  std::vector<TH1D*> m_pixelSignal = {};
106  std::vector<TH1D*> m_clusterSizeU = {};
108  std::vector<TH1D*> m_clusterSizeV = {};
110  std::vector<TH1D*> m_clusterSizeUV = {};
111 
113  std::vector<TH1D*> m_hitMapU = {};
115  std::vector<TH1D*> m_hitMapV = {};
117  std::vector<TH2D*> m_hitMap = {};
119  std::vector<TH1D*> m_hitMapUCl = {};
121  std::vector<TH1D*> m_hitMapVCl = {};
123  std::vector<TH2D*> m_hitMapCl = {};
125  std::vector<TH1D*> m_seed = {};
126 
127  };
128 
130 }
131 
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.