12#include <dqm/core/DQMHistAnalysis.h>
18#include <klm/dataobjects/bklm/BKLMElementNumbers.h>
19#include <klm/bklm/geometry/GeometryPar.h>
55 void event()
override final;
60 void endRun()
override final;
76 Double_t& hitRate, Double_t& hitRateErr);
98 const std::string
m_tag[2] = {
"OUT",
"IN"};
101 const std::string
m_title[2] = {
"[Outside Active Veto Window]",
"[Inside Active Veto Window]"};
void initialize() override final
Initializer.
const bklm::GeometryPar * m_bklmGeoPar
BKLM Geometry data.
Double_t m_lookbackWindow
Lookback window in seconds for hit rate calculation (default: 10.4 microseconds)
bool m_IsPhysicsRun
Run type flag for physics runs.
const BKLMElementNumbers * m_BklmElementNumbers
BKLM element numbers.
DQMHistAnalysisKLMMonObjModule()
Constructor.
const std::string m_title[2]
Name of histogram suffix based on tag.
void event() override final
This method is called for each event.
std::string m_histogramDirectoryName
Name of histogram directory.
void CalculateKLMHitRate(auto *hist, int layer, Double_t totalEvents, Double_t layerArea, Double_t &hitRate, Double_t &hitRateErr)
Calculate KLM hit rate for a specific layer from 2D histogram.
~DQMHistAnalysisKLMMonObjModule()
Destructor.
void endRun() override final
This method is called if the current run ends.
void beginRun() override final
Called when entering a new run.
bool m_IsNullRun
Run type flag for null runs.
const std::string m_tag[2]
Tag suffix based on injection veto.
MonitoringObject * m_klmMonObj
KLM Monitoring object.
DQMHistAnalysisModule()
Constructor / Destructor.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Provides BKLM geometry parameters for simulation, reconstruction etc (from Gearbox or DataBase)
Abstract base class for different kinds of events.