Belle II Software development
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
25namespace Belle2 {
32 class PXDDQMCorrModule : public HistoModule { // <- derived from HistoModule class
33
34 public:
35
38
39 private:
41 void initialize() override final;
43 void beginRun() override final;
45 void event() override final;
46
51 void defineHisto() override final;
52
53 private:
58
61
62 // +1 in dimensions to protect against noisy VXDID values.
68 TH1F* m_DeltaU{};
70 TH1F* m_DeltaV{};
71 };
72
74}
75
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.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.