9#ifndef CLAWSDIGITIZERMODULE_H
10#define CLAWSDIGITIZERMODULE_H
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <beast/claws/dataobjects/ClawsHit.h>
18const Int_t MAXSIZE = 10000;
20const Int_t MAXtSIZE = 1000;
63 virtual void event()
override;
69 virtual void endRun()
override;
Accessor to arrays stored in the data store.
std::vector< Double_t > m_C_MIP_to_PE
Convertor factor MIP to PE.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
virtual void getXMLData()
reads data from CLAWS.xml: tube location, drift data filename, sigma of impulse response function
virtual void terminate() override
Termination action.
double m_TimeStep
Time step.
virtual ~ClawsDigitizerModule()
Destructor.
double m_MaxTime
Upper time limit.
int m_ScintCell
Number of CLAWS scintillator cell.
virtual void beginRun() override
Called when entering a new run.
ClawsDigitizerModule()
Constructor: Sets the description, the properties and the parameters of the module.
double m_PEthres
Energy threshold.
double m_MinTime
Lower time limit.
double m_C_keV_to_MIP
Convertor factor keV to MIP.
StoreArray< ClawsHit > m_clawsHit
Array for ClawsHit.
Abstract base class for different kinds of events.