9#ifndef HE3DIGITIZERMODULE_H
10#define HE3DIGITIZERMODULE_H
12#include <beast/he3tube/dataobjects/He3tubeSimHit.h>
14#include <framework/core/Module.h>
15#include <framework/datastore/StoreArray.h>
16#include <beast/he3tube/dataobjects/He3tubeHit.h>
59 virtual void event()
override;
65 virtual void endRun()
override;
ClassHe3tubeSimHit - Geant4 simulated hit for the He3tube detector.
Accessor to arrays stored in the data store.
StoreArray< He3tubeHit > m_he3tubeHit
Array for He3tubeHit.
void ProcessHit(He3tubeSimHit *aHit, double *lowTime, double *edepDet, double *NbEle_tot)
Process the he3tube simhits.
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 HE3TUBE.xml: tube location, drift data filename, sigma of impulse response function
bool m_mcpExist
Whether or not mcparticle array exists.
virtual void terminate() override
Termination action.
double m_ConversionFactor
Conversion to ADC counts, set in steering file.
virtual ~He3DigitizerModule()
Destructor.
int numOfTubes
number of detectors.
virtual void beginRun() override
Called when entering a new run.
double m_Workfct
ionization energy of He3
He3DigitizerModule()
Constructor: Sets the description, the properties and the parameters of the module.
double m_Fanofac
fano factor
Abstract base class for different kinds of events.