Belle II Software development
PXDTrackClusterDQMModule.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/geometry/GeoCache.h>
13#include <framework/datastore/StoreArray.h>
14#include <mdst/dataobjects/Track.h>
15#include <tracking/dataobjects/RecoTrack.h>
16#include <TH1F.h>
17
18#include <map>
19#include <array>
20
21namespace Belle2 {
29 class PXDTrackClusterDQMModule : public HistoModule { // <- derived from HistoModule class
30
31 public:
32
35
36
37 private:
38
40 void initialize() override final;
42 void beginRun() override final;
44 void event() override final;
46 void defineHisto() override final;
47
54
59
64 std::map <VxdID, TH1F*> m_trackClusterCharge{};
66 std::map <VxdID, TH1F*> m_trackClusterChargeUC{};
68 std::map <VxdID, std::array<std::array<TH1F*, 4>, 6>> m_trackASICClusterCharge{};
69
72
74 std::map<VxdID, int> m_vxd_to_dhe;
75
76 }; //end class declaration
77
79} // end namespace Belle2
80
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
DQM of cluster in matched tracks.
void initialize() override final
Initialize.
bool m_ASICHistos
Fill aditional histograms per ASCI region.
std::map< VxdID, TH1F * > m_trackClusterChargeUC
Cluster Charge for PXD clusters, uncorrected.
std::string m_TracksStoreArrayName
StoreArray name where Tracks are written.
void defineHisto() override final
Define histograms.
TH1F * m_trackedClusters
Number of Tracked Clusters per module.
std::map< VxdID, std::array< std::array< TH1F *, 4 >, 6 > > m_trackASICClusterCharge
Cluster Charge for ASIC combinations for PXD clusters.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
StoreArray< Track > m_tracks
reco track store array
bool m_moreHistos
Fill aditional histograms.
StoreArray< RecoTrack > m_recoTracks
reco track store array
void beginRun() override final
Begin run.
VXD::GeoCache & m_vxdGeometry
the geometry
std::map< VxdID, TH1F * > m_trackClusterCharge
Cluster Charge for PXD clusters.
std::map< VxdID, int > m_vxd_to_dhe
map vxd id to dhe id
std::string m_RecoTracksStoreArrayName
StoreArray name where RecoTracks are written.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Class to faciliate easy access to sensor information of the VXD like coordinate transformations or pi...
Definition: GeoCache.h:39
Abstract base class for different kinds of events.