1#include "DQM/EventSummaryDQM.h"
28 for (
auto id : summary.getSystemIds())
histograms_.
fill(
"system_id",
id);
30 const uint32_t flags = summary.getErrorFlags();
32 for (
int bit{0}; bit < 7; bit++) {
38 const uint64_t ts = summary.getTimestampNs();
#define DECLARE_ANALYZER(CLASS)
Macro which allows the framework to construct an analyzer given its name during configuration.
Class that provides a summary of event assembly with metadata and error flags.
Histograms of the EventBuilder's EventSummary.
uint64_t last_timestamp_
timestamp [ns] of the previous built event, 0 before the first
std::string summary_name_
EventSummary collection name.
void analyze(const framework::Event &event) override
Process the event and make histograms or summaries.
void configure(framework::config::Parameters &ps) override
Callback for the EventProcessor to configure itself from the given set of parameters.
std::string summary_pass_
EventSummary pass name.
void onProcessStart() override
Callback for the EventProcessor to take any necessary action when the processing of events starts,...
HistogramPool histograms_
helper object for making and filling histograms
TDirectory * getHistoDirectory()
Access/create a directory in the histogram file for this event processor to create histograms and ana...
Implements an event buffer system for storing event data.
bool exists(const std::string &name, const std::string &passName, bool unique=true) const
Check for the existence of an object or collection with the given name and pass name in the event.
void create(const config::Parameters &p)
Create a histogram from the input configuration parameters.
void fill(const std::string &name, const T &val)
Fill a 1D histogram.
Class encapsulating parameters for configuring a processor.
const T & get(const std::string &name) const
Retrieve the parameter of the given name.
Provides summary information about an assembled event, including error flags for data quality assessm...