Belle II Software release-09-00-14
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#include <tracking/trackFindingCDC/rootification/StoreWrappedObjPtr.h>
14#include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
15#include <mdst/dataobjects/Track.h>
16
17#include <svd/calibration/SVDNoiseCalibrations.h>
18
19#include <framework/core/HistoModule.h>
20#include <string>
21#include <TH2S.h>
22
23namespace Belle2 {
29 class EventMetaData;
30 class EventLevelTrackingInfo;
31 class TRGSummary;
32 class SVDCluster;
33 class SVDShaperDigit;
34
37
38 public:
39
42
43 /* Destructor */
45
47 void initialize() override final;
49 void beginRun() override final;
51 void event() override final;
52
56 void defineHisto() override final;
57
58 private:
59
62
63
64 //calibration objects
67 static constexpr int m_nStripsL3U = 768 * 2 * 7;
78 //index: 0 = passive veto; 1 = active veto
84 TH1F* m_nCDCExtraHits[2];
85 TH1F* m_svdTime[2];
87 TH1F* m_nCDCExtraHitsSL[2][9];
88 TH1F* m_nCDCHitsSL[2][9];
89 TH1F* m_noCDCHitsInSL[2];
91 void updateBinContent(int index, int bin, float valueToBeAdded);
92
93 };
94
96}
97
98
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
This class is for convenience access and registration of objects, that are stored inside the StoreWra...
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.
TH1F * m_svdL3uZS5Occupancy_toSVDCKFaborts[2]
distribution of the SVD L3 V ZS5 occupancy when toSVDCKF aborts
TH1F * m_nCDCHitsSL[2][9]
distribution of the number of signal CDC hits divided by SL
TH1F * m_svdL3uZS5Occupancy_VXDTF2aborts[2]
distribution of the SVD L3 V ZS5 occupancy when VXDTF2 aborts
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
TrackFindingCDC::StoreWrappedObjPtr< std::vector< TrackFindingCDC::CDCWireHit > > m_wireHitVector
CDC wire hits.
TH1F * m_noCDCHitsInSL[2]
number of tracks without CDC hits in each SL
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
TH1F * m_nCDCExtraHitsSL[2][9]
distribution of the number of extra CDC hits divided by SL
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< Track > m_tracks
tracks
void beginRun() override final
Module function beginRun.
Abstract base class for different kinds of events.