12#include <klm/dbobjects/KLMScintillatorDigitizationParameters.h>
15#include <framework/core/Module.h>
16#include <framework/database/DBObjPtr.h>
17#include <framework/dbobjects/HardwareClockSettings.h>
Class for accessing objects in the database.
Class to store KLM scintillator simulation parameters in the database.
void generateHistogram(const char *name, double l, double d, int npe)
Generate output histogram.
void initialize() override
Initializer.
float * m_hRef
Reflected histogram.
~KLMScintillatorSimulatorModule() override
Destructor.
TFile * m_fout
Output file.
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.
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.