Belle II Software  release-08-01-10
PXDRawDQMCorrModule.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 
13 #include <framework/datastore/StoreArray.h>
14 
15 #include <pxd/dataobjects/PXDRawHit.h>
16 
17 #include "TH1F.h"
18 #include "TH2F.h"
19 
20 namespace Belle2 {
30  class PXDRawDQMCorrModule : public HistoModule { // <- derived from HistoModule class
31 
32  public:
33 
36 
37  private:
39  void initialize() override final;
41  void beginRun() override final;
43  void event() override final;
44 
49  void defineHisto() override final;
50 
51  private:
52 
53  std::string m_storeRawHitsName;
58 
59  TH2F* m_CorrelationU = nullptr;
60  TH2F* m_CorrelationV = nullptr;
61  TH1F* m_DeltaU = nullptr;
62  TH1F* m_DeltaV = nullptr;
64  TH2F* m_In1CorrelationU = nullptr;
65  TH2F* m_In1CorrelationV = nullptr;
66  TH1F* m_In1DeltaU = nullptr;
67  TH1F* m_In1DeltaV = nullptr;
69  TH2F* m_In2CorrelationU = nullptr;
70  TH2F* m_In2CorrelationV = nullptr;
71  TH1F* m_In2DeltaU = nullptr;
72  TH1F* m_In2DeltaV = nullptr;
74  };
76 }
77 
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
TH2F * m_In1CorrelationU
Correlation Sensor 1 vs 2.
TH2F * m_CorrelationV
Correlation Sensor 1 vs 2.
void initialize() override final
Initialize.
TH1F * m_In1DeltaV
Correlation Sensor 1 vs 2.
TH2F * m_In2CorrelationV
Correlation Sensor 1 vs 2.
TH1F * m_In2DeltaV
Correlation Sensor 1 vs 2.
void defineHisto() override final
Histogram definitions such as TH1(), TH2()TNtuple(), TTree()....
std::string m_storeRawHitsName
PXDRawHits StoreArray name.
void event() override final
Event.
TH2F * m_In1CorrelationV
Correlation Sensor 1 vs 2.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
TH1F * m_In1DeltaU
Correlation Sensor 1 vs 2.
TH2F * m_CorrelationU
Correlation Sensor 1 vs 2.
TH1F * m_DeltaV
Correlation Sensor 1 vs 2.
void beginRun() override final
Begin run.
TH1F * m_DeltaU
Correlation Sensor 1 vs 2.
StoreArray< PXDRawHit > m_storeRawHits
Storearray for raw pixels
TH2F * m_In2CorrelationU
Correlation Sensor 1 vs 2.
TH1F * m_In2DeltaU
Correlation Sensor 1 vs 2.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.