Belle II Software  release-08-01-10
PXDDQMCorrModule.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 <vxd/dataobjects/VxdID.h>
13 #include <pxd/geometry/SensorInfo.h>
14 #include <vxd/geometry/GeoCache.h>
15 
16 #include <framework/datastore/DataStore.h>
17 #include <framework/datastore/StoreArray.h>
18 #include <framework/datastore/RelationArray.h>
19 #include <pxd/dataobjects/PXDCluster.h>
20 
21 #include <vector>
22 #include "TH1F.h"
23 #include "TH2F.h"
24 
25 namespace Belle2 {
35  class PXDDQMCorrModule : public HistoModule { // <- derived from HistoModule class
36 
37  public:
38 
41 
42  private:
44  void initialize() override final;
46  void beginRun() override final;
48  void event() override final;
49 
54  void defineHisto() override final;
55 
56  private:
58  std::string m_storeClustersName;
61 
64 
65  // +1 in dimensions to protect against noisy VXDID values.
67  TH2F* m_CorrelationU{};
69  TH2F* m_CorrelationV{};
71  TH1F* m_DeltaU{};
73  TH1F* m_DeltaV{};
74  };
75 
77 }
78 
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
PXD DQM Corr Module.
TH2F * m_CorrelationV
Correlation Sensor 1 vs 2.
void initialize() override final
Initialize.
StoreArray< PXDCluster > m_storeClusters
Storearray for clusters
void defineHisto() override final
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
void event() override final
Event.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
TH2F * m_CorrelationU
Correlation Sensor 1 vs 2.
TH1F * m_DeltaV
Correlation Sensor 1 vs 2.
std::string m_storeClustersName
PXDClusters StoreArray name.
void beginRun() override final
Begin run.
TH1F * m_DeltaU
Correlation Sensor 1 vs 2.
Abstract base class for different kinds of events.