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 "SimCore/Event/PhotonuclearInteraction.h"
6
#include "
Tools/AnalysisUtils.h
"
7
8
namespace
dqm {
9
10
class
PhotoNuclearDQM
:
public
NuclearDQM
{
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
26
void
analyzeInteractionDetails
(
const
framework::Event
& event);
27
28
std::string pn_collection_name_;
29
std::string pn_pass_name_;
30
};
31
32
}
// namespace dqm
33
34
#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:24
dqm::PhotoNuclearDQM
Definition
PhotoNuclearDQM.h:10
dqm::PhotoNuclearDQM::analyze
void analyze(const framework::Event &event) override
Process the event and make histograms or summaries.
Definition
PhotoNuclearDQM.cxx:84
dqm::PhotoNuclearDQM::findRecoilProperties
void findRecoilProperties(const ldmx::SimParticle *recoil)
Fill recoil-electron vertex histograms.
Definition
PhotoNuclearDQM.cxx:17
dqm::PhotoNuclearDQM::analyzeInteractionDetails
void analyzeInteractionDetails(const framework::Event &event)
Analyze the PhotonuclearInteraction collection when present.
Definition
PhotoNuclearDQM.cxx:25
dqm::PhotoNuclearDQM::configure
void configure(framework::config::Parameters ¶meters) override
Read common configuration parameters: sim_particles_coll_name, sim_particles_passname,...
Definition
PhotoNuclearDQM.cxx:10
framework::Analyzer::process
virtual void process(Event &event) final
Processing an event for an Analyzer is calling analyze.
Definition
EventProcessor.h:316
framework::Event
Implements an event buffer system for storing event data.
Definition
Event.h:42
framework::Process
Class which represents the process under execution.
Definition
Process.h:37
framework::config::Parameters
Class encapsulating parameters for configuring a processor.
Definition
Parameters.h:29
ldmx::SimParticle
Class representing a simulated particle.
Definition
SimParticle.h:24
Generated by
1.12.0