Belle II Software development
PXDRawDQMChipsModule.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 <framework/datastore/StoreArray.h>
13#include <pxd/dataobjects/PXDRawHit.h>
14
15#include <TH1F.h>
16
17#include <string>
18
19namespace Belle2 {
24
25 namespace PXD {
31 enum {eNumSwitcher = 6, eNumDCD = 4, eNumSensors = 64};
32
33 public:
34
37
38 // virtual ~PXDRawDQMChipsModule();
39
41 virtual void initialize() override;
42
44 virtual void beginRun() override;
45
47 virtual void event() override;
48
49 private:
50
52
53 std::string m_storeRawHitsName;
54
57
59 TH1F* hrawPxdHitsCount[eNumSensors][eNumSwitcher][eNumDCD] = {};
61 TH1F* hrawPxdHitsCharge[eNumSensors][eNumSwitcher][eNumDCD] = {};
62
64 virtual void defineHisto() override;
65
66 };//end class declaration
67
68
69 } //end PXD namespace;
71} // end namespace Belle2
72
HistoModule()
Constructor.
Definition HistoModule.h:32
virtual void initialize() override
Initialize.
virtual void event() override
Event.
TH1F * hrawPxdHitsCharge[eNumSensors][eNumSwitcher][eNumDCD]
Histogram raw pixel charge.
std::string m_storeRawHitsName
PXDRawHits StoreArray name.
TH1F * hrawPxdHitsCount[eNumSensors][eNumSwitcher][eNumDCD]
Histogram pixelcount/?
virtual void beginRun() override
Begin run.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
PXDRawDQMChipsModule()
Constructor defining the parameters.
StoreArray< PXDRawHit > m_storeRawHits
Storearray for raw pixels.
virtual void defineHisto() override
Define histograms.
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Namespace to encapsulate code needed for simulation and reconstrucion of the PXD.
Abstract base class for different kinds of events.