![]() |
Belle II Software development
|
Class to store per-hit time resolution (sigma) for KLM EventT0, separated by detector type. More...
#include <KLMEventT0HitResolution.h>
Public Types | |
| enum | Category { c_EKLMScint = 1 , c_BKLMScint = 2 , c_RPC = 3 , c_RPCPhi = 4 , c_RPCZ = 5 } |
| Detector category for per-hit resolution. More... | |
Public Member Functions | |
| KLMEventT0HitResolution () | |
| Constructor. | |
| ~KLMEventT0HitResolution () | |
| Destructor. | |
| void | setSigmaEKLMScint (float sigma, float sigmaErr) |
| Set per-hit sigma for EKLM scintillator. | |
| void | setSigmaBKLMScint (float sigma, float sigmaErr) |
| Set per-hit sigma for BKLM scintillator. | |
| void | setSigmaRPC (float sigma, float sigmaErr) |
| Set per-hit sigma for BKLM RPC (combined). | |
| void | setSigmaRPCPhi (float sigma, float sigmaErr) |
| Set per-hit sigma for BKLM RPC Phi-readout. | |
| void | setSigmaRPCZ (float sigma, float sigmaErr) |
| Set per-hit sigma for BKLM RPC Z-readout. | |
| void | setSigma (float sigma, float sigmaErr, int category) |
| Generic setter by category. | |
| float | getSigmaEKLMScint () const |
| Get per-hit sigma for EKLM scintillator [ns]. | |
| float | getSigmaEKLMScintErr () const |
| Get per-hit sigma uncertainty for EKLM scintillator [ns]. | |
| float | getSigmaBKLMScint () const |
| Get per-hit sigma for BKLM scintillator [ns]. | |
| float | getSigmaBKLMScintErr () const |
| Get per-hit sigma uncertainty for BKLM scintillator [ns]. | |
| float | getSigmaRPC () const |
| Get per-hit sigma for BKLM RPC (combined) [ns]. | |
| float | getSigmaRPCErr () const |
| Get per-hit sigma uncertainty for BKLM RPC (combined) [ns]. | |
| float | getSigmaRPCPhi () const |
| Get per-hit sigma for BKLM RPC Phi-readout [ns]. | |
| float | getSigmaRPCPhiErr () const |
| Get per-hit sigma uncertainty for BKLM RPC Phi-readout [ns]. | |
| float | getSigmaRPCZ () const |
| Get per-hit sigma for BKLM RPC Z-readout [ns]. | |
| float | getSigmaRPCZErr () const |
| Get per-hit sigma uncertainty for BKLM RPC Z-readout [ns]. | |
| float | getSigma (int category) const |
| Get per-hit sigma for a given category. | |
| float | getSigmaErr (int category) const |
| Get per-hit sigma uncertainty for a given category. | |
Private Member Functions | |
| ClassDef (KLMEventT0HitResolution, 1) | |
| Class version. | |
Private Attributes | |
| float | m_SigmaEKLMScint = 0.0 |
| Per-hit sigma for EKLM scintillator [ns]. | |
| float | m_SigmaEKLMScintErr = 0.0 |
| Uncertainty on per-hit sigma for EKLM scintillator [ns]. | |
| float | m_SigmaBKLMScint = 0.0 |
| Per-hit sigma for BKLM scintillator [ns]. | |
| float | m_SigmaBKLMScintErr = 0.0 |
| Uncertainty on per-hit sigma for BKLM scintillator [ns]. | |
| float | m_SigmaRPC = 0.0 |
| Per-hit sigma for BKLM RPC (combined) [ns]. | |
| float | m_SigmaRPCErr = 0.0 |
| Uncertainty on per-hit sigma for BKLM RPC (combined) [ns]. | |
| float | m_SigmaRPCPhi = 0.0 |
| Per-hit sigma for BKLM RPC Phi-readout [ns]. | |
| float | m_SigmaRPCPhiErr = 0.0 |
| Uncertainty on per-hit sigma for BKLM RPC Phi-readout [ns]. | |
| float | m_SigmaRPCZ = 0.0 |
| Per-hit sigma for BKLM RPC Z-readout [ns]. | |
| float | m_SigmaRPCZErr = 0.0 |
| Uncertainty on per-hit sigma for BKLM RPC Z-readout [ns]. | |
Class to store per-hit time resolution (sigma) for KLM EventT0, separated by detector type.
All sigmas are in nanoseconds.
Definition at line 26 of file KLMEventT0HitResolution.h.
| enum Category |
Detector category for per-hit resolution.
| Enumerator | |
|---|---|
| c_EKLMScint | EKLM scintillator. |
| c_BKLMScint | BKLM scintillator. |
| c_RPC | BKLM RPC (combined phi/z). |
| c_RPCPhi | BKLM RPC Phi-readout. |
| c_RPCZ | BKLM RPC Z-readout. |
Definition at line 33 of file KLMEventT0HitResolution.h.
| float getSigma | ( | int | category | ) | const |
Get per-hit sigma for a given category.
| [in] | category | Detector category. |
Definition at line 127 of file KLMEventT0HitResolution.cc.
| float getSigmaBKLMScint | ( | ) | const |
Get per-hit sigma for BKLM scintillator [ns].
Definition at line 87 of file KLMEventT0HitResolution.cc.
| float getSigmaBKLMScintErr | ( | ) | const |
Get per-hit sigma uncertainty for BKLM scintillator [ns].
Definition at line 92 of file KLMEventT0HitResolution.cc.
| float getSigmaEKLMScint | ( | ) | const |
Get per-hit sigma for EKLM scintillator [ns].
Definition at line 77 of file KLMEventT0HitResolution.cc.
| float getSigmaEKLMScintErr | ( | ) | const |
Get per-hit sigma uncertainty for EKLM scintillator [ns].
Definition at line 82 of file KLMEventT0HitResolution.cc.
| float getSigmaErr | ( | int | category | ) | const |
Get per-hit sigma uncertainty for a given category.
| [in] | category | Detector category. |
Definition at line 144 of file KLMEventT0HitResolution.cc.
| float getSigmaRPC | ( | ) | const |
Get per-hit sigma for BKLM RPC (combined) [ns].
Definition at line 97 of file KLMEventT0HitResolution.cc.
| float getSigmaRPCErr | ( | ) | const |
Get per-hit sigma uncertainty for BKLM RPC (combined) [ns].
Definition at line 102 of file KLMEventT0HitResolution.cc.
| float getSigmaRPCPhi | ( | ) | const |
Get per-hit sigma for BKLM RPC Phi-readout [ns].
Definition at line 107 of file KLMEventT0HitResolution.cc.
| float getSigmaRPCPhiErr | ( | ) | const |
Get per-hit sigma uncertainty for BKLM RPC Phi-readout [ns].
Definition at line 112 of file KLMEventT0HitResolution.cc.
| float getSigmaRPCZ | ( | ) | const |
Get per-hit sigma for BKLM RPC Z-readout [ns].
Definition at line 117 of file KLMEventT0HitResolution.cc.
| float getSigmaRPCZErr | ( | ) | const |
Get per-hit sigma uncertainty for BKLM RPC Z-readout [ns].
Definition at line 122 of file KLMEventT0HitResolution.cc.
| void setSigma | ( | float | sigma, |
| float | sigmaErr, | ||
| int | category ) |
Generic setter by category.
| [in] | sigma | Resolution [ns]. |
| [in] | sigmaErr | Uncertainty on resolution [ns]. |
| [in] | category | Detector category. |
Definition at line 55 of file KLMEventT0HitResolution.cc.
| void setSigmaBKLMScint | ( | float | sigma, |
| float | sigmaErr ) |
Set per-hit sigma for BKLM scintillator.
| [in] | sigma | Resolution [ns]. |
| [in] | sigmaErr | Uncertainty on resolution [ns]. |
Definition at line 31 of file KLMEventT0HitResolution.cc.
| void setSigmaEKLMScint | ( | float | sigma, |
| float | sigmaErr ) |
Set per-hit sigma for EKLM scintillator.
| [in] | sigma | Resolution [ns]. |
| [in] | sigmaErr | Uncertainty on resolution [ns]. |
Definition at line 25 of file KLMEventT0HitResolution.cc.
| void setSigmaRPC | ( | float | sigma, |
| float | sigmaErr ) |
Set per-hit sigma for BKLM RPC (combined).
| [in] | sigma | Resolution [ns]. |
| [in] | sigmaErr | Uncertainty on resolution [ns]. |
Definition at line 37 of file KLMEventT0HitResolution.cc.
| void setSigmaRPCPhi | ( | float | sigma, |
| float | sigmaErr ) |
Set per-hit sigma for BKLM RPC Phi-readout.
| [in] | sigma | Resolution [ns]. |
| [in] | sigmaErr | Uncertainty on resolution [ns]. |
Definition at line 43 of file KLMEventT0HitResolution.cc.
| void setSigmaRPCZ | ( | float | sigma, |
| float | sigmaErr ) |
Set per-hit sigma for BKLM RPC Z-readout.
| [in] | sigma | Resolution [ns]. |
| [in] | sigmaErr | Uncertainty on resolution [ns]. |
Definition at line 49 of file KLMEventT0HitResolution.cc.
|
private |
Per-hit sigma for BKLM scintillator [ns].
Definition at line 157 of file KLMEventT0HitResolution.h.
|
private |
Uncertainty on per-hit sigma for BKLM scintillator [ns].
Definition at line 160 of file KLMEventT0HitResolution.h.
|
private |
Per-hit sigma for EKLM scintillator [ns].
Definition at line 151 of file KLMEventT0HitResolution.h.
|
private |
Uncertainty on per-hit sigma for EKLM scintillator [ns].
Definition at line 154 of file KLMEventT0HitResolution.h.
|
private |
Per-hit sigma for BKLM RPC (combined) [ns].
Definition at line 163 of file KLMEventT0HitResolution.h.
|
private |
Uncertainty on per-hit sigma for BKLM RPC (combined) [ns].
Definition at line 166 of file KLMEventT0HitResolution.h.
|
private |
Per-hit sigma for BKLM RPC Phi-readout [ns].
Definition at line 169 of file KLMEventT0HitResolution.h.
|
private |
Uncertainty on per-hit sigma for BKLM RPC Phi-readout [ns].
Definition at line 172 of file KLMEventT0HitResolution.h.
|
private |
Per-hit sigma for BKLM RPC Z-readout [ns].
Definition at line 175 of file KLMEventT0HitResolution.h.
|
private |
Uncertainty on per-hit sigma for BKLM RPC Z-readout [ns].
Definition at line 178 of file KLMEventT0HitResolution.h.