12#include <klm/dbobjects/KLMScintillatorDigitizationParameters.h>
15#include <framework/core/Module.h>
16#include <framework/database/DBObjPtr.h>
17#include <framework/dbobjects/HardwareClockSettings.h>
61 void event()
override;
Class for accessing objects in the database.
Class to store KLM scintillator simulation parameters in the database.
Module KLMScintillatorSimulatorModule.
~KLMScintillatorSimulatorModule()
Destructor.
void generateHistogram(const char *name, double l, double d, int npe)
Generate output histogram.
void initialize() override
Initializer.
float * m_hRef
Reflected histogram.
void event() override
This method is called for each event.
TFile * m_fout
Output file.
void endRun() override
This method is called if the current run ends.
void terminate() override
This method is called at the end of the event processing.
KLMScintillatorDigitizationParameters * m_SciSimPar
Scintillator simulation parameters.
float * m_hDir
Direct histogram.
void beginRun() override
Called when entering a new run.
std::string m_out
Name of output file.
DBObjPtr< HardwareClockSettings > m_HardwareClockSettings
Hardware clock settings.
DBObjPtr< KLMScintillatorDigitizationParameters > m_SciSimParDatabase
Scintillator simulation parameters.
std::string m_mode
Operation mode.
KLMScintillatorSimulatorModule()
Constructor.
Abstract base class for different kinds of events.