LDMX Software
DQM
include
DQM
PhotoNuclearDQM.h
1
#ifndef DQM_PHOTONUCLEARDQM_H
2
#define DQM_PHOTONUCLEARDQM_H
3
4
#include "DQM/NuclearDQM.h"
5
#include "
Tools/AnalysisUtils.h
"
6
7
namespace
dqm {
8
9
class
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
25
void
analyzeInteractionDetails
(
const
framework::Event
& event);
26
27
std::string pn_collection_name_;
28
std::string pn_pass_name_;
29
};
30
31
}
// namespace dqm
32
33
#endif
// DQM_PHOTONUCLEARDQM_H
AnalysisUtils.h
Collection of utility functions useful for analysis.
dqm::NuclearDQM
Base class for nuclear interaction DQM analyzers.
Definition
NuclearDQM.h:20
dqm::PhotoNuclearDQM
Definition
PhotoNuclearDQM.h:9
dqm::PhotoNuclearDQM::analyze
void analyze(const framework::Event &event) override
Process the event and make histograms or summaries.
Definition
PhotoNuclearDQM.cxx:86
dqm::PhotoNuclearDQM::findRecoilProperties
void findRecoilProperties(const ldmx::SimParticle *recoil)
Fill recoil-electron vertex histograms.
Definition
PhotoNuclearDQM.cxx:19
dqm::PhotoNuclearDQM::analyzeInteractionDetails
void analyzeInteractionDetails(const framework::Event &event)
Analyze the PhotonuclearInteraction collection when present.
Definition
PhotoNuclearDQM.cxx:27
dqm::PhotoNuclearDQM::configure
void configure(framework::config::Parameters ¶meters) override
Read common configuration parameters: sim_particles_coll_name, sim_particles_passname,...
Definition
PhotoNuclearDQM.cxx:12
framework::Analyzer::process
virtual void process(Event &event) final
Processing an event for an Analyzer is calling analyze.
Definition
EventProcessor.h:314
framework::Event
Implements an event buffer system for storing event data.
Definition
Event.h:40
framework::Process
Class which represents the process under execution.
Definition
Process.h:34
framework::config::Parameters
Class encapsulating parameters for configuring a processor.
Definition
Parameters.h:26
ldmx::SimParticle
Class representing a simulated particle.
Definition
SimParticle.h:25
Generated by
1.12.0