LDMX Software
PhotoNuclearDQM.h
1#ifndef DQM_PHOTONUCLEARDQM_H
2#define DQM_PHOTONUCLEARDQM_H
3
4#include "DQM/NuclearDQM.h"
5#include "SimCore/Event/PhotonuclearInteraction.h"
7
8namespace dqm {
9
11 public:
12 PhotoNuclearDQM(const std::string& name, framework::Process& process);
13 virtual ~PhotoNuclearDQM() = default;
14
15 void configure(framework::config::Parameters& parameters) override;
16 void analyze(const framework::Event& event) override;
17
18 private:
20 void findRecoilProperties(const ldmx::SimParticle* recoil);
21
27
28 std::string pn_collection_name_;
29 std::string pn_pass_name_;
30};
31
32} // namespace dqm
33
34#endif // DQM_PHOTONUCLEARDQM_H
Collection of utility functions useful for analysis.
Base class for nuclear interaction DQM analyzers.
Definition NuclearDQM.h:24
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:42
Class which represents the process under execution.
Definition Process.h:37
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:29
Class representing a simulated particle.
Definition SimParticle.h:24