12 #include <klm/dbobjects/KLMScintillatorDigitizationParameters.h>
15 #include <framework/core/Module.h>
16 #include <framework/database/DBObjPtr.h>
17 #include <framework/dbobjects/HardwareClockSettings.h>
60 void event()
override;
Class for accessing objects in the database.
void generateHistogram(const char *name, double l, double d, int npe)
Generate output histogram.
~EKLMADCModule()
Destructor.
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.
EKLMADCModule()
Constructor.
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.
Class to store KLM scintillator simulation parameters in the database.
Abstract base class for different kinds of events.