DBObject used to store the efficiencies of KLM strips.
More...
#include <KLMStripEfficiency.h>
|
| 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. More...
|
|
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. More...
|
|
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. More...
|
|
float | getEfficiency (KLMChannelNumber stripId) const |
| Returns efficiency of a given KLM strip using directly the stripId. More...
|
|
float | getBarrelEfficiency (int section, int sector, int layer, int plane, int strip) const |
| Returns efficiency of a given BKLM strip using the geometrical infos. More...
|
|
float | getEndcapEfficiency (int section, int sector, int layer, int plane, int strip) const |
| Returns efficiency of a given EKLM strip using the geometrical infos. More...
|
|
float | getEfficiencyError (KLMChannelNumber stripId) const |
| Returns error on efficiency of a given KLM strip using directly the stripId. More...
|
|
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. More...
|
|
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. More...
|
|
DBObject used to store the efficiencies of KLM strips.
Needed for the Muid calculation.
Definition at line 31 of file KLMStripEfficiency.h.
◆ getBarrelEfficiency()
float getBarrelEfficiency |
( |
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
plane, |
|
|
int |
strip |
|
) |
| const |
|
inline |
Returns efficiency of a given BKLM strip using the geometrical infos.
- Parameters
-
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.
117 KLMChannelNumber stripId = elementNumbers->channelNumberBKLM(section, sector, layer, plane, strip);
static const KLMElementNumbers & Instance()
Instantiation.
float getEfficiency(KLMChannelNumber stripId) const
Returns efficiency of a given KLM strip using directly the stripId.
uint16_t KLMChannelNumber
Channel number.
◆ getBarrelEfficiencyError()
float getBarrelEfficiencyError |
( |
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
plane, |
|
|
int |
strip |
|
) |
| const |
|
inline |
Returns error on efficiency of a given BKLM strip using the geometrical infos.
- Parameters
-
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.
◆ getEfficiency()
Returns efficiency of a given KLM strip using directly the stripId.
- Parameters
-
stripId | KLM strip identifier |
Definition at line 98 of file KLMStripEfficiency.h.
◆ getEfficiencyError()
Returns error on efficiency of a given KLM strip using directly the stripId.
- Parameters
-
stripId | KLM strip identifier |
Definition at line 140 of file KLMStripEfficiency.h.
◆ getEndcapEfficiency()
float getEndcapEfficiency |
( |
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
plane, |
|
|
int |
strip |
|
) |
| const |
|
inline |
Returns efficiency of a given EKLM strip using the geometrical infos.
- Parameters
-
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.
◆ getEndcapEfficiencyError()
float getEndcapEfficiencyError |
( |
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
plane, |
|
|
int |
strip |
|
) |
| const |
|
inline |
Returns error on efficiency of a given EKLM strip using the geometrical infos.
- Parameters
-
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.
◆ setBarrelEfficiency()
void setBarrelEfficiency |
( |
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
plane, |
|
|
int |
strip, |
|
|
float |
efficiency, |
|
|
float |
efficiencyError = 0. |
|
) |
| |
|
inline |
Set efficiency and relative error for a single BKLM strip using the geometrical infos.
- Parameters
-
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.
◆ setEfficiency()
void setEfficiency |
( |
KLMChannelNumber |
stripId, |
|
|
float |
efficiency, |
|
|
float |
efficiencyError = 0. |
|
) |
| |
|
inline |
Set efficiency and relative error for a single KLM strip using directly the stripId.
- Parameters
-
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.
◆ setEndcapEfficiency()
void setEndcapEfficiency |
( |
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
plane, |
|
|
int |
strip, |
|
|
float |
efficiency, |
|
|
float |
efficiencyError = 0. |
|
) |
| |
|
inline |
Set efficiency and relative error for a single EKLM strip using the geometrical infos.
- Parameters
-
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.
The documentation for this class was generated from the following file: