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