Belle II Software  release-08-01-10
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 
21 namespace Belle2 {
32  class PXDTrackClusterDQMModule : public HistoModule { // <- derived from HistoModule class
33 
34  public:
35 
38 
39 
40  private:
41 
43  void initialize() override final;
45  void beginRun() override final;
47  void event() override final;
49  void defineHisto() override final;
50 
52  bool m_moreHistos;
53  bool m_ASICHistos;
57 
62 
67  std::map <VxdID, TH1F*> m_trackClusterCharge{};
69  std::map <VxdID, TH1F*> m_trackClusterChargeUC{};
71  std::map <VxdID, std::array<std::array<TH1F*, 4>, 6>> m_trackASICClusterCharge{};
72 
75 
77  std::map<VxdID, int> m_vxd_to_dhe;
78 
79  }; //end class declaration
80 
82 } // end namespace Belle2
83 
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.
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.