Belle II Software  release-05-01-25
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  /* Destructor */
39  virtual ~PXDDQMExpressRecoModule();
40 
41  private:
43  void initialize() override final;
44  void beginRun() override final;
45  void event() override final;
46 
51  void defineHisto() override final;
52 
53  private:
54 
56  float m_CutPXDCharge = 0.0;
57 
58  std::string m_histogramDirectoryName;
61  std::string m_storePXDDigitsName;
63  std::string m_storePXDClustersName;
64 
69 
71  TH1D* m_hitMapCounts = {};
73  TH1D* m_hitMapClCounts = {};
75  TH1D* m_hitMapCountsChip = {};
77  TH1D* m_hitMapClCountsChip = {};
79  std::vector <TH1D*> m_fired = {};
81  std::vector <TH1D*> m_clusters = {};
82  // FIXME: Startrow related histos are expert debugging, not for shifter (-> remove this)
84  //std::vector <TH1D*> m_startRow={};
86  //std::vector <TH1D*> m_chargStartRow={};
88  //std::vector <TH1D*> m_startRowCount={};
90  std::vector <TH1D*> m_clusterCharge = {};
92  std::vector <TH1D*> m_pixelSignal = {};
94  std::vector <TH1D*> m_clusterSizeU = {};
96  std::vector <TH1D*> m_clusterSizeV = {};
98  std::vector <TH1D*> m_clusterSizeUV = {};
99 
100  };
101 
103 }
104 
Belle2::PXDDQMExpressRecoModule::m_CutPXDCharge
float m_CutPXDCharge
cut for accepting to hitmap histogram, using pixels only, default = 0
Definition: PXDDQMExpressRecoModule.h:66
Belle2::PXDDQMExpressRecoModule::m_pixelSignal
std::vector< TH1D * > m_pixelSignal
Charge of pixels.
Definition: PXDDQMExpressRecoModule.h:102
Belle2::PXDDQMExpressRecoModule::m_hitMapClCounts
TH1D * m_hitMapClCounts
Hitmaps of Clusters.
Definition: PXDDQMExpressRecoModule.h:83
Belle2::PXDDQMExpressRecoModule::m_clusterSizeU
std::vector< TH1D * > m_clusterSizeU
u cluster size
Definition: PXDDQMExpressRecoModule.h:104
Belle2::PXDDQMExpressRecoModule::m_storePXDDigitsName
std::string m_storePXDDigitsName
PXDDigits StoreArray name.
Definition: PXDDQMExpressRecoModule.h:71
Belle2::PXDDQMExpressRecoModule::defineHisto
void defineHisto() override final
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
Definition: PXDDQMExpressRecoModule.cc:63
Belle2::PXDDQMExpressRecoModule::m_clusterCharge
std::vector< TH1D * > m_clusterCharge
Start row distribution.
Definition: PXDDQMExpressRecoModule.h:100
Belle2::PXDDigit
The PXD digit class.
Definition: PXDDigit.h:38
Belle2::PXDDQMExpressRecoModule::PXDDQMExpressRecoModule
PXDDQMExpressRecoModule()
Constructor.
Definition: PXDDQMExpressRecoModule.cc:40
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:68
Belle2::PXDDQMExpressRecoModule::m_storePXDClusters
StoreArray< PXDCluster > m_storePXDClusters
Storearray for Cluster
Definition: PXDDQMExpressRecoModule.h:78
Belle2::PXDDQMExpressRecoModule::m_clusterSizeUV
std::vector< TH1D * > m_clusterSizeUV
Cluster size.
Definition: PXDDQMExpressRecoModule.h:108
Belle2::PXDDQMExpressRecoModule::m_hitMapCounts
TH1D * m_hitMapCounts
Hitmaps of Digits.
Definition: PXDDQMExpressRecoModule.h:81
Belle2::PXDDQMExpressRecoModule::event
void event() override final
Function to process event record.
Definition: PXDDQMExpressRecoModule.cc:277
Belle2::PXDDQMExpressRecoModule::m_clusterSizeV
std::vector< TH1D * > m_clusterSizeV
v cluster size
Definition: PXDDQMExpressRecoModule.h:106
Belle2::PXDDQMExpressRecoModule::m_storePXDClustersName
std::string m_storePXDClustersName
PXDClusters StoreArray name.
Definition: PXDDQMExpressRecoModule.h:73
Belle2::PXDCluster
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
Definition: PXDCluster.h:41
Belle2::PXDDQMExpressRecoModule::m_clusters
std::vector< TH1D * > m_clusters
Clusters per event.
Definition: PXDDQMExpressRecoModule.h:91
Belle2::PXDDQMExpressRecoModule::m_storePXDDigits
StoreArray< PXDDigit > m_storePXDDigits
Storearray for Digits
Definition: PXDDQMExpressRecoModule.h:76
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:89
Belle2::PXDDQMExpressRecoModule::initialize
void initialize() override final
Module functions.
Definition: PXDDQMExpressRecoModule.cc:237
Belle2::PXDDQMExpressRecoModule::m_hitMapCountsChip
TH1D * m_hitMapCountsChip
Hitmaps of digits on chips.
Definition: PXDDQMExpressRecoModule.h:85
Belle2::PXDDQMExpressRecoModule::beginRun
void beginRun() override final
Function to process begin_run record.
Definition: PXDDQMExpressRecoModule.cc:250
Belle2::PXDDQMExpressRecoModule::m_hitMapClCountsChip
TH1D * m_hitMapClCountsChip
Hitmaps of clusters on chips.
Definition: PXDDQMExpressRecoModule.h:87