12 #include <simulation/dataobjects/SimHitBase.h>
59 m_x = (float) position.X();
60 m_y = (float) position.Y();
Class ARICHSimHit - Geant4 simulated hit for ARICH.
ClassDefOverride(ARICHSimHit, 1)
the class title
float m_globalTime
Global time of hit.
ARICHSimHit()
Default constructor.
float getGlobalTime() const override
Get global time of hit.
float m_energy
Energy of detected photon.
double getEnergy() const
Get detected photon energy.
int m_moduleID
ID number of module that registered hit.
int getModuleID() const
Get ID number of module that registered hit.
TVector2 getLocalPosition() const
Get local position of hit (in module coordinates)
ARICHSimHit(int moduleID, TVector2 position, double globalTime, double energy)
Full constructor.
float m_y
Local position of hit, y component (in module coordinates)
void shiftInTime(float delta) override
Shift the SimHit in time (needed for beam background mixing)
float m_x
Local position of hit, x component (in module coordinates)
Class SimHitBase - A common base for subdetector SimHits.
Abstract base class for different kinds of events.