Belle II Software development
DQMHistAnalysisTrackingAbort.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 <dqm/core/DQMHistAnalysis.h>
12
13#include <TCanvas.h>
14
15namespace Belle2 {
23
24 // Public functions
25 public:
26
31
33 void initialize() override final;
35 void event() override final;
37 void beginRun() override final;
39 void terminate() override final;
40
41 private:
42
43 bool m_printCanvas = false;
45 int m_statThreshold = 1000;
46 double m_failureRateThreshold = 0.01;
50
51 //abort canvases
52 TCanvas* m_cAbortRate = nullptr;
53 TCanvas* m_cAbortRateIN = nullptr;
54 TCanvas* m_cAbortRateOUT = nullptr;
55 TCanvas* m_cAbortRate_BF = nullptr;
56 TCanvas* m_cAbortRateIN_BF = nullptr;
57 TCanvas* m_cAbortRateOUT_BF = nullptr;
59 TH1F* m_hAbort = nullptr;
60 TH1F* m_hAbort_BF = nullptr;
63 void scaleAndSendToMirabelle(TH1F* hAverage, const int nEvents, const TString& tag);
64 };
66} // end namespace Belle2
67
The base class for the histogram analysis module.
void initialize() override final
Module function initialize.
int m_statThreshold
minimal number of events to judge
TH1F * m_hAbort_BF
totla abort (inside + outside) active veto region BEFORE FILTER
double m_failureRateThreshold
above this rate, there is maybe a problem?
TCanvas * m_cAbortRateIN
canvas for the abort rate inside the active veto region
MonitoringObject * m_monObj
Monitoring Object to be produced by this module, which contain defined canvases and monitoring variab...
void terminate() override final
Module function needed to delete pointer.
TCanvas * m_cAbortRate_BF
canvas for the abort rate plot BEFORE FILTER
TCanvas * m_cAbortRate
canvas for the abort rate plot
TH1F * m_hAbort
totla abort (inside + outside) active veto region
TCanvas * m_cAbortRateOUT
canvas for the abort rate outside the active veto region
void event() override final
Module function event.
bool m_printCanvas
if true print the pdf of the canvases
TCanvas * m_cAbortRateIN_BF
canvas for the abort rate inside the active veto region BEFORE FILTER
TCanvas * m_cAbortRateOUT_BF
canvas for the abort rate outside the active veto region BEFORE FILTER
void beginRun() override final
Module function doing stuff at beginning of a run.
void scaleAndSendToMirabelle(TH1F *hAverage, const int nEvents, const TString &tag)
scale hAverage and send bin contents to Mirabelle
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.