LDMX Software
DQM
include
DQM
ElectroNuclearDQM.h
1
#ifndef DQM_ELECTRONUCLEARDQM_H
2
#define DQM_ELECTRONUCLEARDQM_H
3
4
#include "DQM/NuclearDQM.h"
5
#include "
Tools/AnalysisUtils.h
"
6
7
namespace
dqm {
8
17
class
ElectroNuclearDQM
:
public
NuclearDQM
{
18
public
:
19
ElectroNuclearDQM
(
const
std::string& name,
framework::Process
&
process
);
20
virtual
~ElectroNuclearDQM
() =
default
;
21
22
void
configure
(
framework::config::Parameters
& parameters)
override
;
23
void
analyze
(
const
framework::Event
& event)
override
;
24
25
private
:
33
void
findENElectronProperties
(
34
const
ldmx::SimParticle
* en_electron,
35
const
std::vector<const ldmx::SimParticle*>& en_daughters);
36
49
void
findReconstructableKinematics
(
50
const
std::vector<const ldmx::SimParticle*>& en_daughters);
51
};
52
53
}
// namespace dqm
54
55
#endif
// DQM_ELECTRONUCLEARDQM_H
AnalysisUtils.h
Collection of utility functions useful for analysis.
dqm::ElectroNuclearDQM
DQM analyzer for Geant4 electro-nuclear (EN) interactions.
Definition
ElectroNuclearDQM.h:17
dqm::ElectroNuclearDQM::findReconstructableKinematics
void findReconstructableKinematics(const std::vector< const ldmx::SimParticle * > &en_daughters)
Fill "reconstructable" kinematic histograms applying the semi-inclusive acceptance cuts from the anal...
Definition
ElectroNuclearDQM.cxx:30
dqm::ElectroNuclearDQM::configure
void configure(framework::config::Parameters ¶meters) override
Callback for the EventProcessor to configure itself from the given set of parameters.
Definition
ElectroNuclearDQM.cxx:10
dqm::ElectroNuclearDQM::analyze
void analyze(const framework::Event &event) override
Process the event and make histograms or summaries.
Definition
ElectroNuclearDQM.cxx:153
dqm::ElectroNuclearDQM::findENElectronProperties
void findENElectronProperties(const ldmx::SimParticle *en_electron, const std::vector< const ldmx::SimParticle * > &en_daughters)
Fill histograms describing the EN electron and the interaction vertex.
Definition
ElectroNuclearDQM.cxx:14
dqm::NuclearDQM
Base class for nuclear interaction DQM analyzers.
Definition
NuclearDQM.h:24
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