![]() |
Belle II Software release-09-00-04
|
KLM database importer. More...
#include <KLMElectronicsMapImporter.h>

Public Member Functions | |
| KLMElectronicsMapImporter () | |
| Constructor. | |
| ~KLMElectronicsMapImporter () | |
| Destructor. | |
| void | setIOV (int experimentLow, int runLow, int experimentHigh, int runHigh) |
| Set interval of validity. | |
| void | clearElectronicsMap () |
| Clear electronics map (to be able to import its multiple versions). | |
| void | loadBKLMElectronicsMap (int version) |
| Load BKLM electronics map. | |
| void | loadEKLMElectronicsMap (int version, bool mc) |
| Load EKLM electronics map. | |
| void | setLane (int subdetector, int section, int sector, int layer, int lane) |
| Set non-default lane for all channels in a module. | |
| void | setLane (int subdetector, int section, int sector, int layer, int plane, int lane) |
| Set non-default lane for all channels in a plane. | |
| void | importElectronicsMap () |
| Import electronics map. | |
Private Member Functions | |
| int | getEKLMStripFirmwareBySoftware (int stripSoftware) const |
| Get EKLM firmware strip number by software strip number. | |
| void | setChannelsEKLMSegment (int section, int sector, int layer, int plane, int segment, int firmwareSegment) |
| Set channels for EKLM segment. | |
| void | addEKLMLane (int section, int sector, int layer, int copper, int slot, int lane) |
| Add EKLM electronics map lane. | |
Private Attributes | |
| const KLMElementNumbers * | m_ElementNumbers |
| Element numbers. | |
| std::map< KLMChannelNumber, KLMElectronicsChannel > | m_ChannelMap |
| Data for creation of the electronics map. | |
| int | m_ExperimentLow = 0 |
| Low experiment. | |
| int | m_RunLow = 0 |
| Low run. | |
| int | m_ExperimentHigh = -1 |
| High experiment. | |
| int | m_RunHigh = -1 |
| High run. | |
KLM database importer.
Definition at line 27 of file KLMElectronicsMapImporter.h.
Constructor.
Definition at line 24 of file KLMElectronicsMapImporter.cc.
|
private |
Add EKLM electronics map lane.
| [in] | section | Section. |
| [in] | sector | Sector. |
| [in] | layer | Layer. |
| [in] | copper | Copper. |
| [in] | slot | Slot. |
| [in] | lane | Lane. |
Definition at line 187 of file KLMElectronicsMapImporter.cc.
| void clearElectronicsMap | ( | ) |
Clear electronics map (to be able to import its multiple versions).
Definition at line 42 of file KLMElectronicsMapImporter.cc.
|
private |
Get EKLM firmware strip number by software strip number.
| [in] | stripSoftware | Software strip number. |
Definition at line 175 of file KLMElectronicsMapImporter.cc.
| void importElectronicsMap | ( | ) |
Import electronics map.
Definition at line 428 of file KLMElectronicsMapImporter.cc.
| void loadBKLMElectronicsMap | ( | int | version | ) |
Load BKLM electronics map.
| [in] | version | map version: 1) Before experiment 10. 2) Experiment 10 and later (mapping in chimney sector has changed) |
Definition at line 47 of file KLMElectronicsMapImporter.cc.
| void loadEKLMElectronicsMap | ( | int | version, |
| bool | mc | ||
| ) |
Load EKLM electronics map.
| [in] | version | Map version: 1) Phase 2, experiment 3. Connection of cables was wrong for backward sectors 2 and 3. 2) Phase 3, starting from experiment 4. |
| [in] | mc | MC or data (MC does not have occasional cable switches that exist in the data). |
Definition at line 222 of file KLMElectronicsMapImporter.cc.
|
private |
Set channels for EKLM segment.
| [in] | section | Section. |
| [in] | sector | Sector. |
| [in] | layer | Layer. |
| [in] | plane | Plane. |
| [in] | segment | Segment. |
| [in] | firmwareSegment | Segment number in firmware. |
Definition at line 204 of file KLMElectronicsMapImporter.cc.
| void setIOV | ( | int | experimentLow, |
| int | runLow, | ||
| int | experimentHigh, | ||
| int | runHigh | ||
| ) |
Set interval of validity.
Definition at line 33 of file KLMElectronicsMapImporter.cc.
| void setLane | ( | int | subdetector, |
| int | section, | ||
| int | sector, | ||
| int | layer, | ||
| int | lane | ||
| ) |
Set non-default lane for all channels in a module.
| [in] | subdetector | Subdetector. |
| [in] | section | Section. |
| [in] | sector | Sector. |
| [in] | layer | Layer. |
| [in] | lane | Lane. |
Definition at line 391 of file KLMElectronicsMapImporter.cc.
| void setLane | ( | int | subdetector, |
| int | section, | ||
| int | sector, | ||
| int | layer, | ||
| int | plane, | ||
| int | lane | ||
| ) |
Set non-default lane for all channels in a plane.
| [in] | subdetector | Subdetector. |
| [in] | section | Section. |
| [in] | sector | Sector. |
| [in] | layer | Layer. |
| [in] | plane | Plane. |
| [in] | lane | Lane. |
Definition at line 410 of file KLMElectronicsMapImporter.cc.
|
private |
Data for creation of the electronics map.
Definition at line 141 of file KLMElectronicsMapImporter.h.
|
private |
Element numbers.
Definition at line 138 of file KLMElectronicsMapImporter.h.
|
private |
High experiment.
Definition at line 150 of file KLMElectronicsMapImporter.h.
|
private |
Low experiment.
Definition at line 144 of file KLMElectronicsMapImporter.h.
|
private |
High run.
Definition at line 153 of file KLMElectronicsMapImporter.h.
|
private |
Low run.
Definition at line 147 of file KLMElectronicsMapImporter.h.