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