9 #ifndef ARICHDIGITIZERMODULE_H
10 #define ARICHDIGITIZERMODULE_H
12 #include <framework/core/Module.h>
13 #include <arich/dbobjects/ARICHGeometryConfig.h>
14 #include <arich/dbobjects/ARICHSimulationPar.h>
15 #include <arich/dbobjects/ARICHModulesInfo.h>
16 #include <arich/dbobjects/ARICHChannelMask.h>
17 #include <arich/dbobjects/ARICHChannelMapping.h>
18 #include <framework/database/DBObjPtr.h>
66 virtual void event()
override;
80 virtual void endRun()
override;
double m_maxQE
QE at 400nm (from QE curve applied in SensitveDetector)
std::string m_outColName
Output collection name: digitized photons hits.
double m_bkgLevel
Number of background hits ped hapd per readout (electronics noise)
DBObjPtr< ARICHSimulationPar > m_simPar
simulation parameters from the DB
DBObjPtr< ARICHModulesInfo > m_modInfo
information on installed modules from the DB (QEs etc.)
DBObjPtr< ARICHGeometryConfig > m_geoPar
geometry configuration parameters from the DB
bool m_bgOverlay
True if BG overlay detected.
void printModuleParams() const
Prints module parameters.
double m_timeWindow
Readout time window width.
int m_bdistort
apply distorsion due to magnetic field
std::string m_inColName
Input collection name from simulation.
DBObjPtr< ARICHChannelMapping > m_chnMap
HAPD (x,y) to asic channel mapping.
DBObjPtr< ARICHChannelMask > m_chnMask
list of dead channels from the DB
Class for accessing objects in the database.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
virtual void terminate() override
Termination action.
virtual ~ARICHDigitizerModule()
Destructor.
virtual void beginRun() override
Called when entering a new run.
void magFieldDistorsion(TVector2 &hit, int copyno)
Apply correction to hit position due to non-perpendicular component of magnetic field.
ARICHDigitizerModule()
Constructor.
Abstract base class for different kinds of events.