15#include <dqm/core/DQMHistAnalysis.h>
39 static double getThreshold(
const TH1* hist,
const double lower_bound,
const double widthFraction = 0.01);
61 void endRun(
void)
override final;
66 void event(
void)
override final;
The base class for the histogram analysis module.
DQM Trigger Histogram code and example.
void terminate(void) override final
This method is called at the end of the event processing.
static double getThreshold(const TH1 *hist, const double lower_bound, const double widthFraction=0.01)
A utility function to find the location of the tail of histograms.
void initialize(void) override final
Initializer.
void endRun(void) override final
Called when run ends.
DQMHistAnalysisTRGModule()
Constructor.
std::string m_pvPrefix
prefix for EPICS PVs
TCanvas * m_canvas
Final Canvas.
void doHistAnalysis()
Do the actual processing.
~DQMHistAnalysisTRGModule()
Destructor.
void beginRun(void) override final
Called when entering a new run.
void event(void) override final
This method is called for each event.
Abstract base class for different kinds of events.