Belle II Software development
DQMHistAnalysisSVDClustersOnTrack.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// File : DQMHistAnalysisSVDClustersOnTrack.h
10// Description : module for DQM histogram analysis of SVD sensors occupancies
11//-
12
13#pragma once
14
15#include <dqm/analysis/modules/DQMHistAnalysisSVD.h>
16#include <vxd/dataobjects/VxdID.h>
17#include <svd/dataobjects/SVDSummaryPlots.h>
18
19#include <TFile.h>
20#include <TText.h>
21#include <TPaveText.h>
22#include <TCanvas.h>
23#include <TH2F.h>
24
25namespace Belle2 {
33
34 // Public functions
35 public:
36
41
46
50 void initialize() override final;
51
55 void beginRun() override final;
56
60 void event() override final;
61
65 void endRun() override final;
66
70 void terminate() override final;
71
72 private:
79 float m_refMeanP;
80 float m_refMeanC;
82 int getCanvasStatus(TH1F& histo);
85 TCanvas* m_cClusterOnTrackTime_L456V = nullptr;
90 TString m_runtype = nullptr;
92 std::string m_pvPrefix;
94 };
96} // end namespace Belle2
97
Class definition for the output module of Sequential ROOT I/O.
TCanvas * m_cClusterOnTrackTimeL456V3Samples
time for clusters on Track for L456V canvas for 3 sampples
double m_statThreshold
minimal number of events to compare histograms
double m_timeThreshold
difference between mean of cluster time for present and reference run
TString m_runtype
string with runtype: physics or cosmic
float m_refMeanC
mean of the signal time peak from Cosmic reference run
void terminate() override final
This method is called at the end of the event processing.
void event() override final
This method is called for each event.
bool m_printCanvas
Parameters accesible from basf2 scripts.
bool m_3Samples
if true enable 3 samples histograms analysis
TH1F m_hClusterOnTrackTime_L456V
time for clusters on Track for L456V histo
void endRun() override final
This method is called if the current run ends.
TCanvas * m_cClusterOnTrackTime_L456V
time for clusters on Track for L456V canvas
void beginRun() override final
Called when entering a new run.
float m_refMeanP
mean of the signal time peak from Physics reference run
TH1F m_hClusterOnTrackTimeL456V3Samples
time for clusters on Track for L456V histo for 3 samples
Class definition for common method.
Abstract base class for different kinds of events.