11#include <simulation/dataobjects/SimHitBase.h>
12#include <Math/Point2D.h>
Class SimHitBase - A common base for subdetector SimHits.
Class to store simulated hits of Cherenkov photons on PMT's input for digitization module (TOPDigitiz...
float m_globalTime
detection time
double getX() const
Returns local x position of hit (in PMT frame)
ClassDefOverride(TOPSimHit, 3)
ClassDef.
float getGlobalTime() const override
Returns detection time (implementation of base class function)
float m_energy
photon energy in [eV]
double getEnergy() const
Returns photon energy.
ROOT::Math::XYPoint getPosition() const
Returns local position of hit (in PMT frame)
int m_moduleID
TOP module ID.
int getModuleID() const
Returns module ID.
TOPSimHit()
Default constructor.
double getY() const
Returns local y position of hit (in PMT frame)
float m_y
detection position in local PMT frame, y component
void shiftInTime(float delta) override
Shift SimHit in time (needed for beam background mixing)
float m_x
detection position in local PMT frame, x component
int getPmtID() const
Returns PMT ID.
TOPSimHit(int moduleID, int pmtID, double xLocal, double yLocal, double globalTime, double energy_eV)
Full constructor.
double getTime() const
Returns detection time.
Abstract base class for different kinds of events.