9#ifndef CLAWDIGITIZERMODULE_H
10#define CLAWDIGITIZERMODULE_H
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <beast/claw/dataobjects/ClawHit.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 ~ClawDigitizerModule()
Destructor.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
ClawDigitizerModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void endRun() override
End-of-run action.
virtual void getXMLData()
reads data from CLAW.xml: tube location, drift data filename, sigma of impulse response function
virtual void terminate() override
Termination action.
double m_TimeStep
Time step.
double m_MaxTime
Upper time limit.
int m_ScintCell
Number of CLAW scintillator cell.
virtual void beginRun() override
Called when entering a new run.
double m_PEthres
Energy threshold.
double m_MinTime
Lower time limit.
double m_C_keV_to_MIP
Convertor factor keV to MIP.
StoreArray< ClawHit > m_clawHit
array for ClawHit
Abstract base class for different kinds of events.