Belle II Software development
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
20namespace Belle2 {
27 class PXDRawDQMCorrModule : public HistoModule { // <- derived from HistoModule class
28
29 public:
30
33
34 private:
36 void initialize() override final;
38 void beginRun() override final;
40 void event() override final;
41
46 void defineHisto() override final;
47
48 private:
49
50 std::string m_storeRawHitsName;
55
56 TH2F* m_CorrelationU = nullptr;
57 TH2F* m_CorrelationV = nullptr;
58 TH1F* m_DeltaU = nullptr;
59 TH1F* m_DeltaV = nullptr;
61 TH2F* m_In1CorrelationU = nullptr;
62 TH2F* m_In1CorrelationV = nullptr;
63 TH1F* m_In1DeltaU = nullptr;
64 TH1F* m_In1DeltaV = nullptr;
66 TH2F* m_In2CorrelationU = nullptr;
67 TH2F* m_In2CorrelationV = nullptr;
68 TH1F* m_In2DeltaU = nullptr;
69 TH1F* m_In2DeltaV = nullptr;
71 };
73}
74
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.