LDMX Software
CascadeHistoryDQM.h
1#ifndef DQM_CASCADEHISTORYDQM_H
2#define DQM_CASCADEHISTORYDQM_H
3
4#include "Framework/Configure/Parameters.h"
5#include "Framework/Event.h"
9
10namespace dqm {
11
21 public:
22 CascadeHistoryDQM(const std::string& name, framework::Process& process);
23 virtual ~CascadeHistoryDQM() = default;
24
25 void configure(framework::config::Parameters& parameters) override;
26 void analyze(const framework::Event& event) override;
27
28 private:
29 void analyzeCascade(const ldmx::CascadeHistory& history);
30
35 int getParticleCategory(int pdgId) const;
36
37 std::string cascade_coll_name_;
38 std::string cascade_pass_name_;
39};
40
41} // namespace dqm
42
43#endif // DQM_CASCADEHISTORYDQM_H
Container for the complete history of a Bertini intranuclear cascade.
Data class representing a single step in the Bertini intranuclear cascade.
Base classes for all user event processing components to extend.
Class implementing an event buffer system for storing event data.
DQM analyzer for Bertini cascade history data.
int getParticleCategory(int pdgId) const
Get particle category for histogram binning Returns: 0=proton, 1=neutron, 2=pi+, 3=pi-,...
void configure(framework::config::Parameters &parameters) override
Callback for the EventProcessor to configure itself from the given set of parameters.
void analyze(const framework::Event &event) override
Process the event and make histograms or summaries.
Base class for a module which does not produce a data product.
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
All CascadeSteps from a single photonuclear interaction.