LDMX Software
EventSummaryDQM.h
1#ifndef DQM_EVENTSUMMARYDQM_H
2#define DQM_EVENTSUMMARYDQM_H
3
4#include "Framework/Configure/Parameters.h"
6
7namespace dqm {
8
14 public:
15 EventSummaryDQM(const std::string& name, framework::Process& process)
17
19
20 void onProcessStart() override;
21
22 void analyze(const framework::Event& event) override;
23
24 private:
26 std::string summary_name_;
27
29 std::string summary_pass_;
30
32 uint64_t last_timestamp_{0};
33};
34
35} // namespace dqm
36
37#endif // DQM_EVENTSUMMARYDQM_H
Base classes for all user event processing components to extend.
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,...
Base class for a module which does not produce a data product.
virtual void process(Event &event) final
Processing an event for an Analyzer is calling analyze.
Implements an event buffer system for storing event data.
Definition Event.h:40
Class which represents the process under execution.
Definition Process.h:34
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:26