12#include <klm/dataobjects/bklm/BKLMHit1d.h>
13#include <klm/dataobjects/KLMElementNumbers.h>
16#include <framework/datastore/RelationsObject.h>
19#include <Math/Vector3D.h>
22#include <CLHEP/Vector/ThreeVector.h>
65 const CLHEP::Hep3Vector& globalPos,
double time);
@ c_FirstRPCLayer
First RPC layer.
Store one reconstructed BKLM 1D hit as a ROOT object.
KLM digit (class representing a digitized hit in RPCs or scintillators).
static constexpr int getMaximalPlaneNumber()
Get maximal plane number.
void setEnergyDeposit(float energyDeposit)
Set energy deposit.
bool inRPC() const
Determine whether this 2D hit is in RPC or scintillator.
float m_ChiSq
Chi^2 of the hit.
int m_LastStrip[KLMElementNumbers::getMaximalPlaneNumber()]
Number of last strip in each plane.
int getSubdetector() const
Get subdetector number.
int m_Strip[KLMElementNumbers::getMaximalPlaneNumber()]
Number of strip in each plane.
void isOutOfTime(bool outOfTime)
Set whether this 2D hit is outside the trigger-coincidence window.
int getYStripMin() const
Get first strip number for EKLM hit in the y-measuring plane.
int getLayer() const
Get layer number.
float m_GlobalY
Global position Y coordinate.
float getChiSq() const
Get Chi^2 of the crossing point.
double getZStripAve() const
Get average strip number for z plane.
double getPhiStripAve() const
Get average strip number for phi plane.
void setSection(int section)
Set section number.
float m_Time
Time of the hit.
float getTime() const
Get hit time.
void setChiSq(float chisq)
Set Chi^2 of the crossing point.
int getZStripMax() const
Get last strip number for z plane.
int m_Section
Number of section.
int getSection() const
Get section number.
float getPositionZ() const
Get hit global position z coordinate.
ClassDef(Belle2::KLMHit2d, 1)
Class version.
void isOnStaTrack(bool onStaTrack)
Set whether this 2D hit is associated with a BKLM stand-alone track.
void setXStripMin(int strip)
Set first strip number for EKLM hit in the x-measuring plane.
float m_EnergyDeposit
Energy deposition.
bool isOnStaTrack() const
Determine whether this 2D hit is associated with a BKLM stand-alone track.
int getSector() const
Get sector number.
float getPositionX() const
Get hit global position x coordinate.
float m_GlobalZ
Global position Z coordinate.
int getPhiStripMin() const
Get strip number for phi plane.
void setTime(float time)
Set hit time.
void setYStripMin(int strip)
Set first strip number for EKLM hit in the y-measuring plane.
void setSubdetector(int subdetector)
Set subdetector number.
int m_Sector
Number of sector.
float getMCTime() const
Get MC time.
bool isOnTrack() const
Determine whether this 2D hit is associated with a muid-extrapolated track.
void setSector(int sector)
Set sector number.
int getZStripMin() const
Get strip number for z plane.
int getXStripMax() const
Get last strip number for EKLM hit in the x-measuring plane.
int m_Layer
Number of layer.
ROOT::Math::XYZVector getPosition() const
Get hit global position.
bool m_IsOutOfTime
Whether this 2D hit is outside the trigger-coincidence window.
int getPhiStripMax() const
Get last strip number for phi plane.
float getPositionY() const
Get hit global position y coordinate.
void setMCTime(float t)
Set MC time.
int m_Subdetector
Number of subdetector.
bool m_IsOnTrack
Whether this 2D hit is associated with a muid-extrapolated track.
float getEnergyDeposit() const
Get energy deposit.
void setXStripMax(int strip)
Set last strip number for EKLM hit in the x-measuring plane.
float m_GlobalX
Global position X coordinate.
bool m_IsOnStaTrack
Whether this 2D hit is associated with a BKLM stand-alone track.
int getYStripMax() const
Get last strip number for EKLM hit in the y-measuring plane.
void isOnTrack(bool onTrack)
Set whether this 2D hit is associated with a muid-extrapolated track.
bool isOutOfTime() const
Determine whether this 2D hit is outside the trigger-coincidence window.
void setYStripMax(int strip)
Set last strip number for EKLM hit in y-measuring plane.
int getXStripMin() const
Get first strip number for EKLM hit in the x-measuring plane.
void setLayer(int layer)
Set layer number.
void setPosition(float x, float y, float z)
Set hit global position.
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.