 |
Belle II Software
release-05-01-25
|
12 #include <klm/dataobjects/bklm/BKLMHit2d.h>
15 #include <klm/dataobjects/bklm/BKLMHit1d.h>
18 #include <framework/logging/Logger.h>
27 m_GlobalPosition{0, 0, 0},
41 B2WARNING(
"Attempt to form a 2D hit from distinct-module 1D hits");
57 m_ModuleID(h.m_ModuleID),
58 m_ZStrips(h.m_ZStrips),
60 m_EnergyDeposit(h.m_EnergyDeposit)
int m_ModuleID
detector-module identifier
Store one reconstructed BKLM 1D hit as a ROOT object.
float m_Time
reconstructed hit time relative to trigger (ns)
BKLMHit2d & operator=(const BKLMHit2d &)
Assignment operator.
void addRelationTo(const RelationsInterface< BASE > *object, float weight=1.0, const std::string &namedRelation="") const
Add a relation from this object to another object (with caching).
int m_ZStrips
z-measuring strip numbers of the 2D hit
BKLMHit2d()
Empty constructor for ROOT IO (needed to make the class storable)
Abstract base class for different kinds of events.
static bool hitsFromSameModule(int module1, int module2)
Check whether the hits are from the same module.
float m_GlobalPosition[3]
position of the 2D hit in global coordinates (cm)
float m_EnergyDeposit
reconstructed pulse height (MeV)
float getEnergyDeposit() const
Get energy deposition.
static constexpr int BKLM_ZSTRIP_BIT
BKLMHit2d Zstrips bit position for strip-1 [0..47].
int getStripMin() const
Get lowest strip number of this 1D hit.
int getModuleID() const
Get detector-module identifier.
Defines interface for accessing relations of objects in StoreArray.
Store one BKLM strip hit as a ROOT object.
static constexpr int BKLM_ZMAXSTRIP_BIT
BKLMHit2d Zstrips bit position for maxStrip-1 [0..47].
int getStripMax() const
Get highest strip number of this 1D hit.