 |
Belle II Software
release-05-02-19
|
14 #include <klm/dataobjects/bklm/BKLMElementNumbers.h>
15 #include <klm/dataobjects/bklm/BKLMHit1d.h>
16 #include <klm/dataobjects/bklm/BKLMStatus.h>
19 #include <framework/datastore/RelationsObject.h>
25 #include <CLHEP/Vector/ThreeVector.h>
44 BKLMHit2d(
const BKLMHit1d* hitPhi,
const BKLMHit1d* hitZ,
const CLHEP::Hep3Vector& globalPos,
double time);
139 return (
m_ModuleID & BKLM_OUTOFTIME_MASK) != 0;
153 return (
m_ModuleID & BKLM_ONSTATRACK_MASK) != 0;
int getPhiStripMin() const
Get lowest phi-measuring strip number.
static constexpr int BKLM_ZMAXSTRIP_MASK
BKLMHit2d Zstrips bit mask for maxStrip-1 [0..47].
int m_ModuleID
detector-module identifier
float getEnergyDeposit() const
Get reconstructed energy deposition.
static int getStripByModule(int module)
Get strip number by module identifier.
static int getSectorByModule(int module)
Get sector number by module identifier.
bool isOnTrack()
Determine whether this 2D hit is associated with a muid-extrapolated track.
static int getMaximalStrip(int module)
Get maximal strip number.
bool match(const BKLMHit2d *h) const
Determine whether the two BKLMHit2ds are in the same module.
virtual ~BKLMHit2d()
Destructor.
float m_Time
reconstructed hit time relative to trigger (ns)
BKLMHit2d & operator=(const BKLMHit2d &)
Assignment operator.
int getSection() const
Get section number.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
static int getLayerByModule(int module)
Get layer number by module identifier.
int getZStripMin() const
Get lowest z-measuring strip number.
static constexpr int BKLM_ZSTRIP_MASK
BKLMHit2d Zstrips bit mask for strip-1 [0..47].
TVector3 getGlobalPosition(void) const
Get 3D hit position in global coordinates.
int m_ZStrips
z-measuring strip numbers of the 2D hit
static int getSectionByModule(int module)
Get section number by module identifier.
BKLMHit2d()
Empty constructor for ROOT IO (needed to make the class storable)
int getSector() const
Get sector number.
bool isOnStaTrack()
Determine whether this 2D hit is associated with a BKLM-stand-alone track.
Abstract base class for different kinds of events.
bool isOutOfTime()
Determine whether this 2D hit is outside the trigger-coincidence window.
double getPhiStripAve() const
Get average phi-measuring strip number.
float getGlobalPositionZ(void) const
Get 3D hit position's z coordinate in global coordinates.
int getZStripMax() const
Get highest z-measuring strip number.
static bool hitsFromSameModule(int module1, int module2)
Check whether the hits are from the same module.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
float m_GlobalPosition[3]
position of the 2D hit in global coordinates (cm)
float m_EnergyDeposit
reconstructed pulse height (MeV)
int getModuleID() const
Get detector-module identifier.
static constexpr int BKLM_ZSTRIP_BIT
BKLMHit2d Zstrips bit position for strip-1 [0..47].
@ c_FirstRPCLayer
First RPC layer.
float getTime() const
Get reconstructed hit time.
bool inRPC() const
Determine whether this 2D hit is in RPC or scintillator.
float getGlobalPositionX(void) const
Get 3D hit position's x coordinate in global coordinates.
Store one BKLM strip hit as a ROOT object.
int getLayer() const
Get layer number.
static constexpr int BKLM_ZMAXSTRIP_BIT
BKLMHit2d Zstrips bit position for maxStrip-1 [0..47].
double getZStripAve() const
Get average z-measuring strip number.
float getGlobalPositionY(void) const
Get 3D hit position's y coordinate in global coordinates.
int getPhiStripMax() const
Get highest phi-measuring strip number.