Belle II Software development
|
DBObject used to store the efficiencies of KLM strips. More...
#include <KLMStripEfficiency.h>
Public Member Functions | |
KLMStripEfficiency () | |
Default constructor. | |
~KLMStripEfficiency () | |
Default destructor. | |
void | setEfficiency (KLMChannelNumber stripId, float efficiency, float efficiencyError=0.) |
Set efficiency and relative error for a single KLM strip using directly the stripId. | |
void | setBarrelEfficiency (int section, int sector, int layer, int plane, int strip, float efficiency, float efficiencyError=0.) |
Set efficiency and relative error for a single BKLM strip using the geometrical infos. | |
void | setEndcapEfficiency (int section, int sector, int layer, int plane, int strip, float efficiency, float efficiencyError=0.) |
Set efficiency and relative error for a single EKLM strip using the geometrical infos. | |
float | getEfficiency (KLMChannelNumber stripId) const |
Returns efficiency of a given KLM strip using directly the stripId. | |
float | getBarrelEfficiency (int section, int sector, int layer, int plane, int strip) const |
Returns efficiency of a given BKLM strip using the geometrical infos. | |
float | getEndcapEfficiency (int section, int sector, int layer, int plane, int strip) const |
Returns efficiency of a given EKLM strip using the geometrical infos. | |
float | getEfficiencyError (KLMChannelNumber stripId) const |
Returns error on efficiency of a given KLM strip using directly the stripId. | |
float | getBarrelEfficiencyError (int section, int sector, int layer, int plane, int strip) const |
Returns error on efficiency of a given BKLM strip using the geometrical infos. | |
float | getEndcapEfficiencyError (int section, int sector, int layer, int plane, int strip) const |
Returns error on efficiency of a given EKLM strip using the geometrical infos. | |
Private Member Functions | |
ClassDef (KLMStripEfficiency, 1) | |
Class version. | |
Private Attributes | |
std::map< KLMChannelNumber, float > | m_efficiency |
KLM strip efficiency. | |
std::map< KLMChannelNumber, float > | m_efficiencyError |
KLM strip efficiency error. | |
DBObject used to store the efficiencies of KLM strips.
Needed for the Muid calculation.
Definition at line 31 of file KLMStripEfficiency.h.
|
inline |
|
inline |
|
inline |
Returns efficiency of a given BKLM strip using the geometrical infos.
section | 1 for BF sectors, 0 for BB sectors |
sector | sector number |
layer | layer number |
plane | plane number |
strip | strip number |
Definition at line 114 of file KLMStripEfficiency.h.
|
inline |
Returns error on efficiency of a given BKLM strip using the geometrical infos.
section | 1 for BF sectors, 0 for BB sectors |
sector | sector number |
layer | layer number |
plane | plane number |
strip | strip number |
Definition at line 156 of file KLMStripEfficiency.h.
|
inline |
Returns efficiency of a given KLM strip using directly the stripId.
stripId | KLM strip identifier |
Definition at line 98 of file KLMStripEfficiency.h.
|
inline |
Returns error on efficiency of a given KLM strip using directly the stripId.
stripId | KLM strip identifier |
Definition at line 140 of file KLMStripEfficiency.h.
|
inline |
Returns efficiency of a given EKLM strip using the geometrical infos.
section | 2 for EF sectors, 1 for EB sectors |
sector | sector number |
layer | layer number |
plane | plane number |
strip | strip number |
Definition at line 129 of file KLMStripEfficiency.h.
|
inline |
Returns error on efficiency of a given EKLM strip using the geometrical infos.
section | 2 for EF sectors, 1 for EB sectors |
sector | sector number |
layer | layer number |
plane | plane number |
strip | strip number |
Definition at line 171 of file KLMStripEfficiency.h.
|
inline |
Set efficiency and relative error for a single BKLM strip using the geometrical infos.
section | 1 for BF sectors, 0 for BB sectors |
sector | sector number |
layer | layer number |
plane | plane number |
strip | strip number |
efficiency | efficiency of the strip |
efficiencyError | error on the efficiency of the strip |
Definition at line 70 of file KLMStripEfficiency.h.
|
inline |
Set efficiency and relative error for a single KLM strip using directly the stripId.
stripId | KLM strip identifier |
efficiency | efficiency of the strip |
efficiencyError | error on the efficiency of the strip |
Definition at line 54 of file KLMStripEfficiency.h.
|
inline |
Set efficiency and relative error for a single EKLM strip using the geometrical infos.
section | 2 for EF sectors, 1 for EB sectors |
sector | sector number |
layer | layer number |
plane | plane number |
strip | strip number |
efficiency | efficiency of the strip |
efficiencyError | error on the efficiency of the strip |
Definition at line 87 of file KLMStripEfficiency.h.
|
private |
KLM strip efficiency.
Definition at line 181 of file KLMStripEfficiency.h.
|
private |
KLM strip efficiency error.
Definition at line 184 of file KLMStripEfficiency.h.