Belle II Software  release-08-01-10
SVDDQMInjectionModule.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 <rawdata/dataobjects/RawFTSW.h>
15 #include <svd/dataobjects/SVDShaperDigit.h>
16 #include <TH1.h>
17 #include <TH2.h>
18 #include <string>
19 
20 namespace Belle2 {
26  namespace SVD {
36 
37  public:
38 
41 
42  private:
44  std::string m_SVDShaperDigitsName;
48 
51 
54 
55  TH1F* m_hOccAfterInjLER = nullptr;
56  TH1F* m_hOccAfterInjHER = nullptr;
58  TH1F* m_hTrgOccAfterInjLER = nullptr;
59  TH1F* m_hTrgOccAfterInjHER = nullptr;
61  TH1F* m_hMaxOccAfterInjLER = nullptr;
62  TH1F* m_hMaxOccAfterInjHER = nullptr;
64  TH2F* m_hBunchNumVSNStrips = nullptr;
66  void initialize() override final;
68  void beginRun() override final;
70  void event() override final;
72  void defineHisto() override final;
74  };//end class declaration
75 
76 
77  } //end SVD namespace;
79 } // end namespace Belle2
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
The SVD Occupancy after Injection DQM module.
void initialize() override final
initialize function
TH1F * m_hOccAfterInjLER
Histogram Occupancy after LER injection.
TH1F * m_hMaxOccAfterInjLER
Histogram Max Occupancy after LER injection.
TH1F * m_hMaxOccAfterInjHER
Histogram Max Occupancy after HER injection.
StoreArray< RawFTSW > m_rawTTD
Input array for DAQ Status.
void defineHisto() override final
defineHisto function
void event() override final
event function
TH1F * m_hTrgOccAfterInjHER
Histogram for Nr Entries (=Triggrs) for normalization after HER injection.
TH1F * m_hOccAfterInjHER
Histogram Occupancy after HER injection.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
StoreArray< SVDShaperDigit > m_digits
Input array for SVD Raw Hits.
void beginRun() override final
beginRun function
VXD::GeoCache & m_vxdGeometry
the VXD geometry
TH2F * m_hBunchNumVSNStrips
Histogram Bunch Number VS Number of strips.
SVDDQMInjectionModule()
Constructor defining the parameters.
std::string m_SVDShaperDigitsName
The name of the StoreArray of SVDShaperDigit to be generated.
TH1F * m_hTrgOccAfterInjLER
Histogram for Nr Entries (=Triggrs) for normalization after LER injection.
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.