9#ifndef DOSIDIGITIZERMODULE_H
10#define DOSIDIGITIZERMODULE_H
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <beast/dosi/dataobjects/DosiHit.h>
57 virtual void event()
override;
63 virtual void endRun()
override;
Accessor to arrays stored in the data store.
virtual void initialize() override
Initialize the Module.
double m_EnergyResolutionConst[8]
Energy resolution constant.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
virtual void getXMLData()
reads data from DOSI.xml: threshold in MeV, range in MeV, and resolution in %
double m_EnergyResolutionFactor[8]
Energy threshold.
virtual void terminate() override
Termination action.
int nDOSI
number of detectors.
virtual ~DosiDigitizerModule()
Destructor.
virtual void beginRun() override
Called when entering a new run.
StoreArray< DosiHit > m_dosiHit
array for DosiHit
Double_t GetEnergyResolutionGeV(Double_t, Int_t)
Fold energy resolution.
DosiDigitizerModule()
Constructor: Sets the description, the properties and the parameters of the module.
Abstract base class for different kinds of events.