Belle II Software  release-08-01-10
PXDDQMExpressRecoModule.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 <pxd/dataobjects/PXDDigit.h>
14 #include <pxd/dataobjects/PXDCluster.h>
15 
16 #include "TH1D.h"
17 
18 namespace Belle2 {
28  class PXDDQMExpressRecoModule : public HistoModule { // <- derived from HistoModule class
29 
30  public:
31 
34 
35  private:
37  void initialize() override final;
39  void beginRun() override final;
41  void event() override final;
42 
47  void defineHisto() override final;
48 
49  private:
50 
59 
63  std::string m_storePXDDigitsName;
66 
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 = {};
93  // FIXME: Startrow related histos are expert debugging, not for shifter (-> remove this)
95  //std::vector <TH1D*> m_startRow={};
97  //std::vector <TH1D*> m_chargStartRow={};
99  //std::vector <TH1D*> m_startRowCount={};
101  std::vector <TH1D*> m_clusterCharge = {};
103  std::vector <TH1D*> m_pixelSignal = {};
105  std::vector <TH1D*> m_clusterSizeU = {};
107  std::vector <TH1D*> m_clusterSizeV = {};
109  std::vector <TH1D*> m_clusterSizeUV = {};
110 
111  };
112 
114 }
115 
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::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.
std::string m_storePXDClustersName
PXDClusters StoreArray name.
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_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_goodclusters
filtered Clusters per event
StoreArray< PXDDigit > m_storePXDDigits
Storearray for Digits
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
StoreArray< PXDCluster > m_storePXDClusters
Storearray for Cluster
TH1D * m_hitMapClCountsChip
Hitmaps of clusters on chips.
std::vector< TH1D * > m_clusterCharge
Start row distribution.
std::string m_storePXDDigitsName
PXDDigits StoreArray name.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.