10#include <klm/dataobjects/KLMHit2d.h>
13#include <framework/logging/Logger.h>
26 B2FATAL(
"Trying to construct a KLMHit2d using KLMDigit from BKLM.");
54 B2WARNING(
"Attempt to form a 2D hit from distinct-module 1D hits");
static bool hitsFromSameModule(int module1, int module2)
Check whether the hits are from the same module.
Store one reconstructed BKLM 1D hit as a ROOT object.
int getStripMin() const
Get lowest strip number of this 1D hit.
int getLayer() const
Get layer number.
int getSection() const
Get section number.
int getSector() const
Get sector number.
int getModuleID() const
Get detector-module identifier.
float getEnergyDeposit() const
Get energy deposition.
int getStripMax() const
Get highest strip number of this 1D hit.
KLM digit (class representing a digitized hit in RPCs or scintillators).
int getSubdetector() const
Get subdetector number.
int getLayer() const
Get layer number.
int getSection() const
Get section number.
int getStrip() const
Get strip number.
int getSector() const
Get sector number.
int getLastStrip() const
Get last strip number (for multi-strip digits).
int m_LastStrip[KLMElementNumbers::getMaximalPlaneNumber()]
Number of last strip in each plane.
int m_Strip[KLMElementNumbers::getMaximalPlaneNumber()]
Number of strip in each plane.
float m_GlobalY
Global position Y coordinate.
void setSection(int section)
Set section number.
float m_Time
Time of the hit.
int m_Section
Number of section.
void setXStripMin(int strip)
Set first strip number for EKLM hit in the x-measuring plane.
float m_EnergyDeposit
Energy deposition.
int getSector() const
Get sector number.
float m_GlobalZ
Global position Z coordinate.
void setYStripMin(int strip)
Set first strip number for EKLM hit in the y-measuring plane.
int m_Sector
Number of sector.
void setSector(int sector)
Set sector number.
int m_Layer
Number of layer.
int m_Subdetector
Number of subdetector.
void setXStripMax(int strip)
Set last strip number for EKLM hit in the x-measuring plane.
float m_GlobalX
Global position X coordinate.
void setYStripMax(int strip)
Set last strip number for EKLM hit in y-measuring plane.
void setLayer(int layer)
Set layer number.
Defines interface for accessing relations of objects in StoreArray.
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).
Abstract base class for different kinds of events.