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/core/HistoModule.h>
14#include <mdst/dataobjects/TRGSummary.h>
15#include <klm/time/KLMTime.h>
16
17#include <string>
18#include <TH1F.h>
19#include <TH2F.h>
20#include <TProfile.h>
21
22namespace Belle2 {
27 class EventMetaData;
28 class TRGSummary;
29 class KLMDigit;
31 class ARICHHit;
32 class TOPDigit;
33 class ECLCalDigit;
34
35
38
39 public:
40
43
44 /* Destructor */
46
48 void initialize() override final;
50 void beginRun() override final;
52 void event() override final;
53
57 void defineHisto() override final;
58
59 private:
60
63
66
67 //KLM stuff
72 // parameters for KLM histograms
79
80
81 //ARICH stuff
83
84 //TOP stuff
86
87 //ECL stuff
90
91 //histograms (all)
92 //index: 0 = passive veto; 1 = active veto
98 TH1F* m_TOP_Occupancy[2];
99 TProfile* m_ECL_Occupancy[2];
100 };
101
103}
104
105
Datastore class that holds photon hits. Input to the reconstruction.
Definition ARICHHit.h:23
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.
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.
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.
Class to store calibrated ECLDigits: ECLCalDigits.
Definition ECLCalDigit.h:23
Store event, run, and experiment numbers.
HistoModule()
Constructor.
Definition HistoModule.h:32
KLM digit (class representing a digitized hit in RPCs or scintillators).
Definition KLMDigit.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
Class to store TOP digitized hits (output of TOPDigitizer or raw data unpacker) relations to TOPSimHi...
Definition TOPDigit.h:24
Trigger Summary Information input bits input bits from subdetectors ftdl (Final Trigger Decision Logi...
Definition TRGSummary.h:32
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.