Belle II Software development
DQMHistAnalysisECLShapers.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//DQM
12#include <dqm/core/DQMHistAnalysis.h>
13
14//std
15#include <set>
16
17//ECL
18#include <ecl/dbobjects/ECLChannelMap.h>
19
20namespace Belle2 {
32 public:
33
36
39
41 void initialize() override final;
43 void beginRun() override final;
45 void event() override final;
47 void endRun() override final;
49 void terminate() override final {}
50
51 private:
53 std::string m_pvPrefix;
54
56 const static int c_collector_count = ECL::ECL_CRATES;
57
59 double robust_max(std::multiset<double> values);
60
70 double m_pedwidth_max[4] = {};
71
73 TCanvas* m_c_main = nullptr;
74 };
76} // end namespace Belle2
77
This module is for analysis of ECL DQM histograms.
void initialize() override final
Initialize the module.
DQMHistAnalysisECLShapersModule()
< derived from DQMHistAnalysisModule class.
std::string m_pvPrefix
Prefix to use for PVs registered by this module.
MonitoringObject * m_monObj
monitoring object
double robust_max(std::multiset< double > values)
Remove upper 10% of the values, return the maximum in the remaining 90%.
double m_pedwidth_max[4]
Max pedestal width array [0] -> Max pedestal width in FWD endcap [1] -> Max pedestal width in barrel ...
void event() override final
Event processor.
TCanvas * m_c_main
main panel for monitoring object
void endRun() override final
Call when a run ends.
void beginRun() override final
Call when a run begins.
static const int c_collector_count
Number of ECLCollector modules (normally 52)
The base class for the histogram analysis module.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.