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#include "Math/Vector3D.h"
8
9namespace dqm {
10
17 public:
18 SampleValidation(const std::string& name, framework::Process& process)
19 : Analyzer(name, process) {}
20 virtual void configure(framework::config::Parameters& ps) override;
21 virtual void analyze(const framework::Event& event) override;
22 int pdgidLabel(const int pdgid);
23
24 private:
25 std::string target_scoring_plane_passname_;
26 std::string sim_particles_passname_;
27};
28} // namespace dqm
29
30#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.
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.
virtual void process(Event &event) final
Processing an event for an Analyzer is calling analyze.
Analyzer(const std::string &name, Process &process)
Class constructor.
Implements an event buffer system for storing event data.
Definition Event.h:42
Class which represents the process under execution.
Definition Process.h:36
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:29