Belle II Software  release-08-01-10
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 
20 namespace Belle2 {
26  class EventMetaData;
27  class EventLevelTrackingInfo;
28  class TRGSummary;
29  class SVDCluster;
30  class SVDShaperDigit;
31  class CDCHit;
32 
38 
39  public:
40 
43 
44  /* Destructor */
45  virtual ~TrackingAbortDQMModule();
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 
64 
65  //calibration objects
68  static constexpr int m_nStripsL3U = 768 * 2 * 7;
78  //index: 0 = passive veto; 1 = active veto
79  TH1F* m_nEventsWithAbort[2]; ;
82  TH1F* m_nCDCExtraHits[2];
83  TH1F* m_svdTime[2];
87  void updateBinContent(int index, int bin, float valueToBeAdded);
88 
89  };
90 
92 }
93 
94 
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.