Belle II Software development
TrackingAbortDQMModule.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
14#include <svd/calibration/SVDNoiseCalibrations.h>
15
16#include <framework/core/HistoModule.h>
17#include <string>
18#include <TH2S.h>
19
20namespace Belle2 {
26 class EventMetaData;
27 class EventLevelTrackingInfo;
28 class TRGSummary;
29 class SVDCluster;
30 class SVDShaperDigit;
31 class CDCHit;
32
35
36 public:
37
40
41 /* Destructor */
43
45 void initialize() override final;
47 void beginRun() override final;
49 void event() override final;
50
54 void defineHisto() override final;
55
56 private:
57
60
61
62 //calibration objects
65 static constexpr int m_nStripsL3U = 768 * 2 * 7;
75 //index: 0 = passive veto; 1 = active veto
79 TH1F* m_nCDCExtraHits[2];
80 TH1F* m_svdTime[2];
84 void updateBinContent(int index, int bin, float valueToBeAdded);
85
86 };
87
89}
90
91
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
This class defines the dbobject and the method to access SVD calibrations from the noise local runs.
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
Tracking DQM Module to monitor aborts & background conditions before the HLT filter.
void initialize() override final
Module function initialize.
TH1F * m_svdTime[2]
L3 V-side time for all clusters.
StoreObjPtr< EventLevelTrackingInfo > m_eventLevelTrackingInfo
tracking abort info
TH1D * m_integratedAverages[2]
integrated averages of additional SVD, CDC variables
SVDNoiseCalibrations m_NoiseCal
SVDNoise calibration db object.
TH1F * m_trackingErrorFlagsReasons[2]
stores the reason of the abort
void defineHisto() override final
Defines Histograms.
StoreObjPtr< TRGSummary > m_trgSummary
trg summary
TH1F * m_svdL3uZS5Occupancy[2]
distribution of the SVD L3 V ZS5 occupancy
StoreArray< SVDCluster > m_clusters
SVD clusters.
TH1F * m_nEventsWithAbort[2]
0: no abort; 1: at least one abort
TH1F * m_nCDCExtraHits[2]
distribution of the number of extra CDC hits
static constexpr int m_nStripsL3U
number of U-side L3 strips
StoreObjPtr< EventMetaData > m_eventMetaData
event meta data
void event() override final
Module function event.
StoreArray< SVDShaperDigit > m_strips
SVD strips.
void updateBinContent(int index, int bin, float valueToBeAdded)
function to update the bin content
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
StoreArray< CDCHit > m_cdcHits
CDCHits.
void beginRun() override final
Module function beginRun.
Abstract base class for different kinds of events.