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
15#include <string>
16#include <TH1F.h>
17#include <TProfile.h>
18
19namespace Belle2 {
24 class EventMetaData;
25 class TRGSummary;
26 class BKLMHit1d;
27 class KLMDigit;
29 class ARICHHit;
30 class TOPDigit;
31 class ECLCalDigit;
32
33
36
37 public:
38
41
42 /* Destructor */
44
46 void initialize() override final;
48 void beginRun() override final;
50 void event() override final;
51
55 void defineHisto() override final;
56
57 private:
58
61
64
65 //KLM stuff
69
70 //ARICH stuff
72
73 //TOP stuff
75
76 //ECL stuff
79
80 //histograms (all)
81 //index: 0 = passive veto; 1 = active veto
85 TH1F* m_BKLM_TimeRPC[2]; ;
89 TH1F* m_TOP_Occupancy[2];
90 TProfile* m_ECL_Occupancy[2];
91 };
92
94}
95
96
Datastore class that holds photon hits. Input to the reconstruction.
Definition ARICHHit.h:23
Store one reconstructed BKLM 1D hit as a ROOT object.
Definition BKLMHit1d.h:30
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.
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
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
Abstract base class for different kinds of events.