15 #include <framework/datastore/StoreObjPtr.h>
16 #include <framework/dataobjects/EventMetaData.h>
17 #include <dqm/analysis/modules/DQMHistAnalysis.h>
72 virtual void event()
override;
77 virtual void endRun()
override;
The base class for the histogram analysis module.
Class for generating snapshots for histograms.
virtual ~DQMHistDeltaHistoModule()
Destructor.
virtual void initialize() override
Initializer.
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 called for each event.
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
Called when entering a new run.
void clear_node(SSNODE *n)
Clear content of SSNODE.
int m_interval
Interval between checks in second.
DQMHistDeltaHistoModule()
Constructor.
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.