LDMX Software
SampleValidation.h
1#ifndef DQM_SAMPLEVALIDATION_H
2#define DQM_SAMPLEVALIDATION_H
3
4// LDMX Framework
5#include "Framework/Configure/Parameters.h"
7
8namespace dqm {
9
16 public:
17 SampleValidation(const std::string& name, framework::Process& process)
18 : Analyzer(name, process) {}
19 virtual void configure(framework::config::Parameters& ps) override;
20 virtual void analyze(const framework::Event& event) override;
21 int pdgid_label(const int pdgid);
23 void onProcessStart() override;
24};
25} // namespace dqm
26
27#endif
Base classes for all user event processing components to extend.
virtual void configure(framework::config::Parameters &ps) override
Callback for the EventProcessor to configure itself from the given set of parameters.
void onProcessStart() override
Method executed before processing of events begins.
virtual void analyze(const framework::Event &event) override
Process the event and make histograms or summaries.
Base class for a module which does not produce a data product.
Analyzer(const std::string &name, Process &process)
Class constructor.
Implements an event buffer system for storing event data.
Definition Event.h:41
Class which represents the process under execution.
Definition Process.h:36
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27