12#include <klm/dataobjects/bklm/BKLMElementNumbers.h>
13#include <klm/dataobjects/KLMElementNumbers.h>
16#include <simulation/dataobjects/SimHitBase.h>
19#include <Math/Vector4D.h>
20#include <Math/Vector3D.h>
@ c_FirstRPCLayer
First RPC layer.
bool inRPC() const
Determine whether the hit is in RPC or scintillator.
void setParentTrackID(int track)
Set ID of parent track.
void setPropagationTime(float propagationTime)
Set signal propagation time.
int m_parentTrackID
Parent track ID.
int getSubdetector() const
Get subdetector number.
int getLayer() const
Get layer number.
void setLastStrip(int lastStrip)
Set last strip number.
float m_Time
Time of the hit.
int m_PDG
PDG code of the (leading) particle.
float getTime() const
Get hit time.
float m_globalX
Global position X coordinate.
float m_localZ
Local position Z coordinate.
float getGlobalTime() const override
Get hit time (implementation of base class function)
int m_Section
Number of section.
int getSection() const
Get section number.
float getPositionZ() const
Get hit global position z coordinate.
int getPlane() const
Get plane number.
float getPropagationTime() const
Get signal propagation time.
int getStrip() const
Get strip number.
float m_globalZ
Global position Z coordinate.
float m_localX
Local position X coordinate.
float getLocalPositionZ() const
Get hit local position z coordinate.
void setEnergyDeposit(float eDep)
Set EnergyDeposit.
float m_pZ
Momentum Z component.
void setSection(int Section)
Set section number.
ClassDefOverride(Belle2::KLMSimHit, 1)
Class version.
float m_pX
Momentum X component.
int getSector() const
Get sector number.
float getPositionX() const
Get hit global position x coordinate.
bool isPhiReadout() const
Check whether the hit is from phi plane.
void setStrip(int strip)
Set strip number.
float m_EDep
Energy deposition.
void setTrackID(int track)
Set track ID.
float getLocalPositionY() const
Get hit local position y coordinate.
int getTrackID() const
Get track ID.
void setTime(float time)
Set hit time.
void setSubdetector(int subdetector)
Set subdetector number.
int m_Sector
Number of sector.
float m_pY
Momentum Y component.
int getLastStrip() const
Get last strip number.
float getLocalPositionX() const
Get hit local position x coordinate.
int m_LastStrip
Number of last strip (for BKLM RPC hits).
void setPDG(int pdg)
Set the lund code of the (leading) particle.
int getParentTrackID() const
Get ID of parent track.
int getPDG() const
Get the lund code of the (leading) particle.
int m_Plane
Number of plane.
void setSector(int sector)
Set sector number.
void setVolumeID(int id)
Set volume identifier.
float m_PropagationTime
Time of propagation (ns) from hit to sensor.
int m_Layer
Number of layer.
void setLocalPosition(float x, float y, float z)
Set hit local position.
void setPosition(const ROOT::Math::XYZVector &pos)
Set hit global position.
ROOT::Math::XYZVector getPosition() const
Get hit global position.
float getPositionY() const
Get hit global position y coordinate.
int m_Subdetector
Number of subdetector.
void setMomentum(const ROOT::Math::PxPyPzEVector &p)
Set momentum.
void shiftInTime(float delta) override
Shift SimHit in time (implementation of base class function)
float m_localY
Local position Y coordinate.
float getEnergyDeposit() const
Get energy deposit.
ROOT::Math::PxPyPzEVector getMomentum() const
Get momentum.
ROOT::Math::XYZVector getLocalPosition() const
Get ihit local position.
int m_volid
Volume identifier.
int m_Strip
Number of strip.
void setPlane(int plane)
Set plane number.
void setLayer(int layer)
Set layer number.
float m_globalY
Global position Y coordinate.
int getVolumeID() const
Get volume identifier.
void setPosition(float x, float y, float z)
Set hit global position.
Class SimHitBase - A common base for subdetector SimHits.
Abstract base class for different kinds of events.