Belle II Software  release-06-01-15
KLMHit2d Class Reference

Class for simultaneous handling of the BKLM and EKLM 2d hits. More...

#include <KLMHit2d.h>

Collaboration diagram for KLMHit2d:

Public Member Functions

 KLMHit2d (BKLMHit2d *bklmHit2d)
 Constructor. More...
 
 KLMHit2d (EKLMHit2d *eklmHit2d)
 Constructor. More...
 
 ~KLMHit2d ()
 Destructor.
 
bool inBKLM () const
 Whether hit is in BKLM.
 
BKLMHit2dgetBKLMHit2d () const
 Get BKLM hit.
 
EKLMHit2dgetEKLMHit2d () const
 Get EKLM hit.
 
TVector3 getPosition () const
 Get hit position.
 
float getTime () const
 Get hit time.
 
int getLayer () const
 Get hit layer.
 

Private Attributes

bool m_bklmHit
 True if BKLM hit, false - EKLM.
 
BKLMHit2dm_bklmHit2d
 BKLM hit.
 
EKLMHit2dm_eklmHit2d
 EKLM hit.
 

Detailed Description

Class for simultaneous handling of the BKLM and EKLM 2d hits.

Definition at line 24 of file KLMHit2d.h.

Constructor & Destructor Documentation

◆ KLMHit2d() [1/2]

KLMHit2d ( BKLMHit2d bklmHit2d)
explicit

Constructor.

Parameters
[in]bklmHit2dBKLM 2d hit.

Definition at line 14 of file KLMHit2d.cc.

14  :
15  m_bklmHit(true),
16  m_bklmHit2d(bklmHit2d),
17  m_eklmHit2d(nullptr)
18 {
19 }
bool m_bklmHit
True if BKLM hit, false - EKLM.
Definition: KLMHit2d.h:87
EKLMHit2d * m_eklmHit2d
EKLM hit.
Definition: KLMHit2d.h:93
BKLMHit2d * m_bklmHit2d
BKLM hit.
Definition: KLMHit2d.h:90

◆ KLMHit2d() [2/2]

KLMHit2d ( EKLMHit2d eklmHit2d)
explicit

Constructor.

Parameters
[in]eklmHit2dEKLM 2d hit.

Definition at line 21 of file KLMHit2d.cc.


The documentation for this class was generated from the following files: