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