Belle II Software development
DetectorOccupanciesDQMModule.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/datastore/StoreArray.h>
12#include <framework/datastore/StoreObjPtr.h>
13#include <framework/dataobjects/EventMetaData.h>
14#include <framework/core/HistoModule.h>
15
16#include <ecl/dataobjects/ECLCalDigit.h>
17#include <ecl/dataobjects/ECLElementNumbers.h>
18#include <mdst/dataobjects/EventLevelTrackingInfo.h>
19#include <mdst/dataobjects/TRGSummary.h>
20#include <klm/dataobjects/bklm/BKLMElementNumbers.h>
21#include <klm/dataobjects/bklm/BKLMHit1d.h>
22#include <klm/dataobjects/KLMDigit.h>
23#include <arich/dataobjects/ARICHHit.h>
24#include <top/dataobjects/TOPDigit.h>
25
26#include <string>
27#include <TH1F.h>
28#include <TProfile.h>
29
30namespace Belle2 {
39
40 public:
41
44
45 /* Destructor */
47
49 void initialize() override final;
51 void beginRun() override final;
53 void event() override final;
54
58 void defineHisto() override final;
59
60 private:
61
64
68 //KLM stuff
73 //ARICH stuff
76 //TOP stuff
79 //ECL stuff
83 //histograms (all)
84 //index: 0 = passive veto; 1 = active veto
88 TH1F* m_BKLM_TimeRPC[2]; ;
92 TH1F* m_TOP_Occupancy[2];
93 TProfile* m_ECL_Occupancy[2];
94 };
95
97}
98
99
DQM Module for basic detector quantities before the HLT filter.
void initialize() override final
Module function initialize.
TH1F * m_EKLM_Plane_Occupancy[2]
EKLM plane integrated occupancy.
TH1F * m_TOP_Occupancy[2]
TOP occupancy (good hits only)
StoreArray< KLMDigit > m_KLMDigits
KLM digits.
const EKLMElementNumbers * m_eklmElementNumbers
EKLM Element numbers.
void defineHisto() override final
Defines Histograms.
StoreObjPtr< TRGSummary > m_trgSummary
trg summary
TH1F * m_BKLM_PlanePhi_Occupancy[2]
BKLM phi plane integrated occupancy.
StoreObjPtr< EventMetaData > m_eventMetaData
event meta data
void event() override final
Module function event.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
double m_eclEnergyThr
Energy threshold (in MeV) for ECL occupancy histogram.
StoreArray< BKLMHit1d > m_BklmHit1ds
BKLM hit 1D.
void beginRun() override final
Module function beginRun.
TH1F * m_ARICH_Occupancy[2]
ARICH Digit Occupancy.
TH1F * m_BKLM_TimeScintillator[2]
BKLM Scintillator Hit Time.
StoreArray< ARICHHit > m_ARICHHits
ARICH hits.
TH1F * m_EKLM_TimeScintillator[2]
EKLM Scintillator Hit Time.
TProfile * m_ECL_Occupancy[2]
ECL occupancy (hits above 5 MeV)
StoreArray< TOPDigit > m_topDigits
collection of TOP digits
StoreArray< ECLCalDigit > m_eclCalDigits
collection of ECL digits
TH1F * m_BKLM_PlaneZ_Occupancy[2]
BKLM z plane integrated occupancy.
EKLM element numbers.
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.