9#ifndef QCSMONITORDIGITIZERMODULE_H
10#define QCSMONITORDIGITIZERMODULE_H
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <beast/qcsmonitor/dataobjects/QcsmonitorHit.h>
17const Int_t MAXSIZE = 10000;
19const Int_t MAXtSIZE = 1000;
26 namespace qcsmonitor {
62 virtual void event()
override;
68 virtual void endRun()
override;
Accessor to arrays stored in the data store.
Qcsmonitor tube digitizer.
double hitsarrayinMIP[1000][100]
Event MIP array.
virtual void initialize() override
Initialize the Module.
QcsmonitorDigitizerModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
StoreArray< QcsmonitorHit > m_qcsmonitorHit
Array for QcsmonitorHit.
virtual void getXMLData()
reads data from QCSMONITOR.xml: tube location, drift data filename, sigma of impulse response functio...
virtual void terminate() override
Termination action.
virtual ~QcsmonitorDigitizerModule()
Destructor.
double m_TimeStep
Time step.
double m_MaxTime
Upper time limit.
int m_ScintCell
Number of QCSMONITOR scintillator cell.
virtual void beginRun() override
Called when entering a new run.
double m_C_MIP_to_PE
Convertor factor MIP to PE.
double m_MIPthres
Energy threshold.
double m_MinTime
Lower time limit.
double m_C_keV_to_MIP
Convertor factor keV to MIP.
Abstract base class for different kinds of events.