Belle II Software release-09-00-11
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#include <mdst/dataobjects/TRGSummary.h>
16#include <klm/time/KLMTime.h>
17
18#include <ecl/dataobjects/ECLCalDigit.h>
19#include <ecl/dataobjects/ECLElementNumbers.h>
20#include <mdst/dataobjects/EventLevelTrackingInfo.h>
21#include <mdst/dataobjects/TRGSummary.h>
22#include <klm/dataobjects/bklm/BKLMElementNumbers.h>
23#include <klm/dataobjects/bklm/BKLMHit1d.h>
24#include <klm/dataobjects/KLMDigit.h>
25#include <arich/dataobjects/ARICHHit.h>
26#include <top/dataobjects/TOPDigit.h>
27
28#include <string>
29#include <TH1F.h>
30#include <TH2F.h>
31#include <TProfile.h>
32
33namespace Belle2 {
38 class EventMetaData;
39 class TRGSummary;
40 class KLMDigit;
41 class EKLMElementNumbers;
42 class ARICHHit;
43 class TOPDigit;
44 class ECLCalDigit;
45
46
52
53 public:
54
57
58 /* Destructor */
60
62 void initialize() override final;
64 void beginRun() override final;
66 void event() override final;
67
71 void defineHisto() override final;
72
73 private:
74
77
81 //KLM stuff
86 // parameters for KLM histograms
95 //ARICH stuff
98 //TOP stuff
101 //ECL stuff
105 //histograms (all)
106 //index: 0 = passive veto; 1 = active veto
113 TProfile* m_ECL_Occupancy[2];
114 };
115
117}
118
119
DQM Module for basic detector quantities before the HLT filter.
void initialize() override final
Module function initialize.
TH2F * m_EKLM_Plane_Occupancy[2]
EKLM plane integrated occupancy.
TH2F * m_BKLM_PlaneTrg_Occupancy[2]
BKLM plane integrated occupancy w/ trgs.
TH2F * m_EKLM_PlaneTrg_Occupancy[2]
EKLM plane integrated occupancy w/ trgs.
double m_EKLMTimeMax
Max time for EKLM Scint.
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
StoreObjPtr< EventMetaData > m_eventMetaData
event meta data
const TRGSummary::ETimingType m_klmBackTriggers[1]
Background Trigger bit(s) of interest.
void event() override final
Module function event.
double m_EKLMTimeMin
Min time for EKLM Scint.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
double m_eclEnergyThr
Energy threshold (in MeV) for ECL occupancy histogram.
void beginRun() override final
Module function beginRun.
TH1F * m_ARICH_Occupancy[2]
ARICH Digit Occupancy.
StoreArray< ARICHHit > m_ARICHHits
ARICH hits.
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
TH2F * m_BKLM_Plane_Occupancy[2]
BKLM 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
KLM time conversion.
Definition: KLMTime.h:27
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
ETimingType
types of trigger timing source defined in b2tt firmware
Definition: TRGSummary.h:43
@ TTYP_DPHY
delayed physics events for background
Definition: TRGSummary.h:65
Abstract base class for different kinds of events.