LDMX Software
GenieTruthDQM.h
1//
2// Created by Wesley Ketchum on 8/1/24.
3//
4
5#ifndef DQM_GENIETRUTH_H
6#define DQM_GENIETRUTH_H
7
8// LDMX Framework
9#include "Framework/Configure/Parameters.h" // Needed to import parameters from configuration file
10#include "Framework/EventProcessor.h" //Needed to declare processor
11
12namespace dqm {
13
19 public:
25 GenieTruthDQM(const std::string& name, framework::Process& process)
26 : framework::Analyzer(name, process) {}
27
32
36 virtual void onProcessStart();
37
41 virtual void onNewRun(const ldmx::RunHeader& runHeader);
42
46 virtual void analyze(const framework::Event& event);
47
48 private:
50 std::string hepmc3_coll_name_;
51 std::string hepmc3_pass_name_;
52
53 int run_number_;
54};
55} // namespace dqm
56
57#endif // DQM_GENIETRUTH_H
Base classes for all user event processing components to extend.
Generate histograms/ntuple to extract genie output info.
virtual void analyze(const framework::Event &event)
Fills histograms/ntuples.
GenieTruthDQM(const std::string &name, framework::Process &process)
Constructor.
virtual void onNewRun(const ldmx::RunHeader &runHeader)
Grab the run number...
virtual void onProcessStart()
Construct histograms/ntuples.
virtual void configure(framework::config::Parameters &ps)
Input python configuration parameters.
std::string hepmc3_coll_name_
Pass Name for genie objects.
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.
Analyzer(const std::string &name, Process &process)
Class constructor.
Implements an event buffer system for storing event data.
Definition Event.h:42
Class which represents the process under execution.
Definition Process.h:36
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:29
Run-specific configuration and data stored in its own output TTree alongside the event TTree in the o...
Definition RunHeader.h:57
All classes in the ldmx-sw project use this namespace.