LDMX Software
PhotoNuclearDQM.h
1#ifndef DQM_PHOTONUCLEARDQM_H
2#define DQM_PHOTONUCLEARDQM_H
3
4#include "DQM/NuclearDQM.h"
6
7namespace dqm {
8
9class PhotoNuclearDQM : public NuclearDQM {
10 public:
11 PhotoNuclearDQM(const std::string& name, framework::Process& process);
12 virtual ~PhotoNuclearDQM() = default;
13
14 void configure(framework::config::Parameters& parameters) override;
15 void analyze(const framework::Event& event) override;
16
17 private:
19 void findRecoilProperties(const ldmx::SimParticle* recoil);
20
26
27 std::string pn_collection_name_;
28 std::string pn_pass_name_;
29};
30
31} // namespace dqm
32
33#endif // DQM_PHOTONUCLEARDQM_H
Collection of utility functions useful for analysis.
Base class for nuclear interaction DQM analyzers.
Definition NuclearDQM.h:20
void analyze(const framework::Event &event) override
Process the event and make histograms or summaries.
void findRecoilProperties(const ldmx::SimParticle *recoil)
Fill recoil-electron vertex histograms.
void analyzeInteractionDetails(const framework::Event &event)
Analyze the PhotonuclearInteraction collection when present.
void configure(framework::config::Parameters &parameters) override
Read common configuration parameters: sim_particles_coll_name, sim_particles_passname,...
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
Class representing a simulated particle.
Definition SimParticle.h:25