9#ifndef PRINTEVENTRATE_H
10#define PRINTEVENTRATE_H
12#include <framework/core/Module.h>
14#include <framework/dataobjects/EventMetaData.h>
15#include <framework/datastore/StoreArray.h>
16#include <framework/datastore/StoreObjPtr.h>
18#include <rawdata/dataobjects/RawDataBlock.h>
19#include <rawdata/dataobjects/RawFTSW.h>
20#include <rawdata/dataobjects/RawTLU.h>
21#include <rawdata/dataobjects/RawCOPPER.h>
22#include <rawdata/dataobjects/RawSVD.h>
23#include <rawdata/dataobjects/RawCDC.h>
24#include <rawdata/dataobjects/RawTOP.h>
25#include <rawdata/dataobjects/RawARICH.h>
26#include <rawdata/dataobjects/RawECL.h>
27#include <rawdata/dataobjects/RawKLM.h>
28#include <rawdata/dataobjects/RawPXD.h>
29#include <rawdata/dataobjects/RawTRG.h>
52 virtual void event()
override;
58 virtual void endRun()
override;
Print event rate of input data.
virtual ~PrintEventRateModule()
Destructor.
unsigned int m_start_utime
unixtime at the beginning
int m_subrun
subrun number
unsigned int m_prev_event
previous event number
virtual void initialize() override
Module function to be called from main process.
unsigned int m_cur_utime
current unixtime
virtual void event() override
Module function to be called from event process.
double m_prev_tot_bytes
previous value of processed data size
virtual void endRun() override
Module function to be called after main process.
unsigned int m_start_event
the first event number
int m_first_evt
first event number
double m_tot_bytes
total processed data size
virtual void printCOPPEREvent(RawCOPPER *raw_array, int i)
print an event
unsigned int m_n_basf2evt
StoreObjPtr< EventMetaData > m_eventMetaDataPtr
Event Meta Data.
unsigned int m_cur_event
current event number
unsigned int m_prev_utime
previous unixtime
int m_print_interval
output interval
PrintEventRateModule()
Constructor.
The Raw COPPER class This class stores data received by COPPER via belle2linkt Data from all detector...
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.