Belle II Software  release-05-02-19
PXDDQMExpressRecoModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Peter Kodys *
7  * *
8  * Prepared for Phase 2 and Belle II geometry *
9  * *
10  * This software is provided "as is" without any warranty. *
11  **************************************************************************/
12 
13 #pragma once
14 
15 #include <framework/core/HistoModule.h>
16 #include <framework/datastore/StoreArray.h>
17 #include <pxd/dataobjects/PXDDigit.h>
18 #include <pxd/dataobjects/PXDCluster.h>
19 
20 #include "TH1D.h"
21 
22 namespace Belle2 {
32  class PXDDQMExpressRecoModule : public HistoModule { // <- derived from HistoModule class
33 
34  public:
35 
38 
39  private:
41  void initialize() override final;
42  void beginRun() override final;
43  void event() override final;
44 
49  void defineHisto() override final;
50 
51  private:
52 
54  int m_CutMinCharge;
61 
62  std::string m_histogramDirectoryName;
65  std::string m_storePXDDigitsName;
67  std::string m_storePXDClustersName;
68 
73 
75  TH1D* m_hitMapCounts = {};
79  TH1D* m_hitMapClCounts = {};
81  TH1D* m_hitMapClFilterCounts = {};
82 
84  TH1D* m_hitMapCountsChip = {};
86  TH1D* m_hitMapClCountsChip = {};
88  std::vector <TH1D*> m_fired = {};
90  std::vector<TH1D*> m_goodfired = {};
92  std::vector <TH1D*> m_clusters = {};
94  std::vector<TH1D*> m_goodclusters = {};
95  // FIXME: Startrow related histos are expert debugging, not for shifter (-> remove this)
97  //std::vector <TH1D*> m_startRow={};
99  //std::vector <TH1D*> m_chargStartRow={};
101  //std::vector <TH1D*> m_startRowCount={};
103  std::vector <TH1D*> m_clusterCharge = {};
105  std::vector <TH1D*> m_pixelSignal = {};
107  std::vector <TH1D*> m_clusterSizeU = {};
109  std::vector <TH1D*> m_clusterSizeV = {};
111  std::vector <TH1D*> m_clusterSizeUV = {};
112 
113  };
114 
116 }
117 
Belle2::PXDDQMExpressRecoModule::m_pixelSignal
std::vector< TH1D * > m_pixelSignal
Charge of pixels.
Definition: PXDDQMExpressRecoModule.h:115
Belle2::PXDDQMExpressRecoModule::m_hitMapClCounts
TH1D * m_hitMapClCounts
Hitmaps of Clusters.
Definition: PXDDQMExpressRecoModule.h:89
Belle2::PXDDQMExpressRecoModule::m_hitMapClFilterCounts
TH1D * m_hitMapClFilterCounts
Hitmaps of filtered Clusters.
Definition: PXDDQMExpressRecoModule.h:91
Belle2::PXDDQMExpressRecoModule::m_clusterSizeU
std::vector< TH1D * > m_clusterSizeU
u cluster size
Definition: PXDDQMExpressRecoModule.h:117
Belle2::PXDDQMExpressRecoModule::m_storePXDDigitsName
std::string m_storePXDDigitsName
PXDDigits StoreArray name.
Definition: PXDDQMExpressRecoModule.h:75
Belle2::PXDDQMExpressRecoModule::defineHisto
void defineHisto() override final
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
Definition: PXDDQMExpressRecoModule.cc:65
Belle2::PXDDQMExpressRecoModule::m_CutMinClusterCharge
int m_CutMinClusterCharge
cut for accepting filtered cluster, using cluster charge
Definition: PXDDQMExpressRecoModule.h:66
Belle2::PXDDQMExpressRecoModule::m_CutMinCharge
int m_CutMinCharge
cut for accepting filtered pixel
Definition: PXDDQMExpressRecoModule.h:64
Belle2::PXDDQMExpressRecoModule::m_clusterCharge
std::vector< TH1D * > m_clusterCharge
Start row distribution.
Definition: PXDDQMExpressRecoModule.h:113
Belle2::PXDDigit
The PXD digit class.
Definition: PXDDigit.h:38
Belle2::PXDDQMExpressRecoModule::m_goodfired
std::vector< TH1D * > m_goodfired
Filtered fired pixels per event.
Definition: PXDDQMExpressRecoModule.h:100
Belle2::PXDDQMExpressRecoModule::PXDDQMExpressRecoModule
PXDDQMExpressRecoModule()
Constructor.
Definition: PXDDQMExpressRecoModule.cc:40
Belle2::PXDDQMExpressRecoModule::m_CutMaxClusterSize
int m_CutMaxClusterSize
cut for accepting to filtered hitmap histogram, maximum cluster size
Definition: PXDDQMExpressRecoModule.h:70
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PXDDQMExpressRecoModule::m_histogramDirectoryName
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
Definition: PXDDQMExpressRecoModule.h:72
Belle2::PXDDQMExpressRecoModule::m_CutMinSeedCharge
int m_CutMinSeedCharge
cut for accepting to filtered hitmap histogram, using cluster seed
Definition: PXDDQMExpressRecoModule.h:68
Belle2::PXDDQMExpressRecoModule::m_storePXDClusters
StoreArray< PXDCluster > m_storePXDClusters
Storearray for Cluster
Definition: PXDDQMExpressRecoModule.h:82
Belle2::PXDDQMExpressRecoModule::m_clusterSizeUV
std::vector< TH1D * > m_clusterSizeUV
Cluster size.
Definition: PXDDQMExpressRecoModule.h:121
Belle2::PXDDQMExpressRecoModule::m_hitMapCounts
TH1D * m_hitMapCounts
Hitmaps of Digits.
Definition: PXDDQMExpressRecoModule.h:85
Belle2::PXDDQMExpressRecoModule::event
void event() override final
Function to process event record.
Definition: PXDDQMExpressRecoModule.cc:313
Belle2::PXDDQMExpressRecoModule::m_clusterSizeV
std::vector< TH1D * > m_clusterSizeV
v cluster size
Definition: PXDDQMExpressRecoModule.h:119
Belle2::PXDDQMExpressRecoModule::m_storePXDClustersName
std::string m_storePXDClustersName
PXDClusters StoreArray name.
Definition: PXDDQMExpressRecoModule.h:77
Belle2::PXDCluster
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
Definition: PXDCluster.h:41
Belle2::PXDDQMExpressRecoModule::m_hitMapFilterCounts
TH1D * m_hitMapFilterCounts
Hitmaps of filtered Digits.
Definition: PXDDQMExpressRecoModule.h:87
Belle2::PXDDQMExpressRecoModule::m_clusters
std::vector< TH1D * > m_clusters
Clusters per event.
Definition: PXDDQMExpressRecoModule.h:102
Belle2::PXDDQMExpressRecoModule::m_storePXDDigits
StoreArray< PXDDigit > m_storePXDDigits
Storearray for Digits
Definition: PXDDQMExpressRecoModule.h:80
Belle2::PXDDQMExpressRecoModule::m_goodclusters
std::vector< TH1D * > m_goodclusters
filtered Clusters per event
Definition: PXDDQMExpressRecoModule.h:104
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::PXDDQMExpressRecoModule::m_fired
std::vector< TH1D * > m_fired
Fired pixels per event.
Definition: PXDDQMExpressRecoModule.h:98
Belle2::PXDDQMExpressRecoModule::initialize
void initialize() override final
Module functions.
Definition: PXDDQMExpressRecoModule.cc:269
Belle2::PXDDQMExpressRecoModule::m_hitMapCountsChip
TH1D * m_hitMapCountsChip
Hitmaps of digits on chips.
Definition: PXDDQMExpressRecoModule.h:94
Belle2::PXDDQMExpressRecoModule::beginRun
void beginRun() override final
Function to process begin_run record.
Definition: PXDDQMExpressRecoModule.cc:282
Belle2::PXDDQMExpressRecoModule::m_hitMapClCountsChip
TH1D * m_hitMapClCountsChip
Hitmaps of clusters on chips.
Definition: PXDDQMExpressRecoModule.h:96