15 #include <framework/datastore/StoreObjPtr.h>
16 #include <framework/dataobjects/EventMetaData.h>
17 #include <dqm/analysis/modules/DQMHistAnalysis.h>
58 virtual void event()
override;
59 virtual void endRun()
override;
The base class for the histogram analysis module.
Class for generating snapshots for histograms.
virtual void initialize() override
Module functions to be called from main process.
std::map< std::string, std::queue< SSNODE * > > m_histos_queues
Map of histogram names to queues of monitoring objects.
virtual void event() override
This method is the core of the module.
StoreObjPtr< EventMetaData > m_evtMetaDataPtr
The metadata for each event.
virtual void endRun() override
This method is called if the current run ends.
virtual void terminate() override
This method is called at the end of the event processing.
std::vector< std::string > m_monitored_histos
Names of the histograms that should be monitored.
virtual void beginRun() override
Module functions to be called from event process.
void clear_node(SSNODE *n)
Clear content of SSNODE.
int m_interval
Interval between checks in second.
DQMHistDeltaHistoModule()
Constructor / Destructor.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.
The struct for the snapshots.
TH1 * diff_histo
The histogram for snapshot.
TH1 * histo
The histogram for snapshot.
time_t time_modified
Whether the histogram is not updated for a long time.