 |
Belle II Software
release-05-02-19
|
14 #include <klm/dataobjects/bklm/BKLMElementNumbers.h>
15 #include <klm/dataobjects/bklm/BKLMStatus.h>
18 #include <simulation/dataobjects/SimHitBase.h>
26 class BKLMSimHit :
public SimHitBase {
40 BKLMSimHit(
int moduleID,
double x,
double t,
double dE);
int m_ModuleID
detector-module identifier
static int getStripByModule(int module)
Get strip number by module identifier.
static int getSectorByModule(int module)
Get sector number by module identifier.
static int getMaximalStrip(int module)
Get maximal strip number.
int getSection() const
Get section number.
int getLayer() const
Get layer number.
int getStrip() const
Get strip number of this hit.
bool isPhiReadout() const
Get readout coordinate.
static int getLayerByModule(int module)
Get layer number by module identifier.
BKLMSimHit()
Empty constructor for ROOT IO (needed to make the class storable)
void shiftInTime(float delta) override
Adjust time (for background-overlay hit)
int getSector() const
Get sector number.
double getEnergyDeposit() const
Get energy deposition.
ClassDefOverride(BKLMSimHit, 5)
Needed to make the ROOT object storable.
bool inRPC() const
Determine whether this hit is in an RPC or scintillator.
float m_EDep
energy deposition (MeV)
static int getSectionByModule(int module)
Get section number by module identifier.
float m_PropagationTime
time-of-propagation (ns) from hit to sensor
int getStripMax() const
Get highest readout strip number of a contiguous set.
double getTime() const
Get the hit time.
Abstract base class for different kinds of events.
static int getPlaneByModule(int module)
Get plane number (0 = z, 1 = phi) by module identifier.
virtual ~BKLMSimHit()
Destructor.
int getModuleID() const
Get detector-module identifier.
float m_Time
event hit time (ns)
int getStripMin() const
Get lowest readout strip number of a contiguous set.
Store one simulation hit as a ROOT object.
@ c_FirstRPCLayer
First RPC layer.
BKLMSimHit & operator=(const BKLMSimHit &)
Assignment operator.
float getPropagationTime() const
Get signal propagation time alont strip.
float getGlobalTime() const override
Get the hit time (implementation of base class function.
int getPlane() const
Get plane number.