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