Class to keep track of delta histograms.
double m_entries
entries in previous/current for update check
bool isUpdated(void)
Check if hist was updated.
bool update(TH1 *hist)
Check if update of histogram is necessary.
void resetBeforeEvent(void)
Reset histogram and update flag, not the entries.
TH1 * getHist(void)
Get hist pointer.
HistObject(void)
Constructor.
~HistObject(void)
Destructor.
bool m_updated
flag if update since last event
std::unique_ptr< TH1 > m_hist
Pointer to histogram.
Abstract base class for different kinds of events.