Belle II Software development
KLMTimeWindow Class Reference

DBObject containing KLM time window parameters used in KLMReconstructor module. More...

#include <KLMTimeWindow.h>

Inheritance diagram for KLMTimeWindow:

Public Member Functions

 KLMTimeWindow ()
 Default constructor.
 
 KLMTimeWindow (double coincidenceWindow, double promptTime, double promptWindow)
 Constructor.
 
 ~KLMTimeWindow ()
 Destructor.
 
void setCoincidenceWindow (double coincidenceWindow)
 Set the coincidence window.
 
void setPromptTime (double promptTime)
 Set the prompt time.
 
void setPromptWindow (double promptWindow)
 Set the prompt time window.
 
double getCoincidenceWindow () const
 Get the coincidence window.
 
double getPromptTime () const
 Get the prompt time.
 
double getPromptWindow () const
 Get the prompt time window.
 

Private Member Functions

 ClassDef (KLMTimeWindow, 1)
 Class version.
 

Private Attributes

double m_CoincidenceWindow
 Half-width of the time coincidence window used to create a 2D hit from 1D digits/hits.
 
double m_PromptTime
 Nominal time of prompt BKLMHit2ds.
 
double m_PromptWindow
 Half-width of the time window relative to the prompt time for BKLMHit2ds.
 

Detailed Description

DBObject containing KLM time window parameters used in KLMReconstructor module.

Unit is ns.

Definition at line 24 of file KLMTimeWindow.h.

Constructor & Destructor Documentation

◆ KLMTimeWindow() [1/2]

KLMTimeWindow ( )
inline

Default constructor.

Definition at line 30 of file KLMTimeWindow.h.

30 :
32 m_PromptTime(0),
34 {
35 }
double m_CoincidenceWindow
Half-width of the time coincidence window used to create a 2D hit from 1D digits/hits.
double m_PromptTime
Nominal time of prompt BKLMHit2ds.
double m_PromptWindow
Half-width of the time window relative to the prompt time for BKLMHit2ds.

◆ KLMTimeWindow() [2/2]

KLMTimeWindow ( double  coincidenceWindow,
double  promptTime,
double  promptWindow 
)
inline

Constructor.

Definition at line 40 of file KLMTimeWindow.h.

41 {
42 m_CoincidenceWindow = coincidenceWindow;
43 m_PromptTime = promptTime;
44 m_PromptWindow = promptWindow;
45 }

◆ ~KLMTimeWindow()

~KLMTimeWindow ( )
inline

Destructor.

Definition at line 50 of file KLMTimeWindow.h.

51 {
52 }

Member Function Documentation

◆ getCoincidenceWindow()

double getCoincidenceWindow ( ) const
inline

Get the coincidence window.

Definition at line 84 of file KLMTimeWindow.h.

85 {
87 }

◆ getPromptTime()

double getPromptTime ( ) const
inline

Get the prompt time.

Definition at line 92 of file KLMTimeWindow.h.

93 {
94 return m_PromptTime;
95 }

◆ getPromptWindow()

double getPromptWindow ( ) const
inline

Get the prompt time window.

Definition at line 100 of file KLMTimeWindow.h.

101 {
102 return m_PromptWindow;
103 }

◆ setCoincidenceWindow()

void setCoincidenceWindow ( double  coincidenceWindow)
inline

Set the coincidence window.

Parameters
[in]coincidenceWindowCoincidence window.

Definition at line 58 of file KLMTimeWindow.h.

59 {
60 m_CoincidenceWindow = coincidenceWindow;
61 }

◆ setPromptTime()

void setPromptTime ( double  promptTime)
inline

Set the prompt time.

Parameters
[in]promptTimePrompt time.

Definition at line 67 of file KLMTimeWindow.h.

68 {
69 m_PromptTime = promptTime;
70 }

◆ setPromptWindow()

void setPromptWindow ( double  promptWindow)
inline

Set the prompt time window.

Parameters
[in]promptWindowPrompt time window.

Definition at line 76 of file KLMTimeWindow.h.

77 {
78 m_PromptWindow = promptWindow;
79 }

Member Data Documentation

◆ m_CoincidenceWindow

double m_CoincidenceWindow
private

Half-width of the time coincidence window used to create a 2D hit from 1D digits/hits.

Definition at line 110 of file KLMTimeWindow.h.

◆ m_PromptTime

double m_PromptTime
private

Nominal time of prompt BKLMHit2ds.

Definition at line 115 of file KLMTimeWindow.h.

◆ m_PromptWindow

double m_PromptWindow
private

Half-width of the time window relative to the prompt time for BKLMHit2ds.

Definition at line 120 of file KLMTimeWindow.h.


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