KLM database importer.
More...
#include <KLMElectronicsMapImporter.h>
|
| 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. More...
|
|
void | loadEKLMElectronicsMap (int version, bool mc) |
| Load EKLM electronics map. More...
|
|
void | setLane (int subdetector, int section, int sector, int layer, int lane) |
| Set non-default lane for all channels in a module. More...
|
|
void | setLane (int subdetector, int section, int sector, int layer, int plane, int lane) |
| Set non-default lane for all channels in a plane. More...
|
|
void | importElectronicsMap () |
| Import electronics map.
|
|
|
int | getEKLMStripFirmwareBySoftware (int stripSoftware) const |
| Get EKLM firmware strip number by software strip number. More...
|
|
void | setChannelsEKLMSegment (int section, int sector, int layer, int plane, int segment, int firmwareSegment) |
| Set channels for EKLM segment. More...
|
|
void | addEKLMLane (int section, int sector, int layer, int copper, int slot, int lane) |
| Add EKLM electronics map lane. More...
|
|
KLM database importer.
Definition at line 37 of file KLMElectronicsMapImporter.h.
◆ addEKLMLane()
void addEKLMLane |
( |
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
copper, |
|
|
int |
slot, |
|
|
int |
lane |
|
) |
| |
|
private |
Add EKLM electronics map lane.
- Parameters
-
[in] | section | Section. |
[in] | sector | Sector. |
[in] | layer | Layer. |
[in] | copper | Copper. |
[in] | slot | Slot. |
[in] | lane | Lane. |
Definition at line 189 of file KLMElectronicsMapImporter.cc.
194 int axis = plane - 1;
197 section, sector, layer, plane, strip);
199 std::pair<uint16_t, KLMElectronicsChannel>(
◆ getEKLMStripFirmwareBySoftware()
int getEKLMStripFirmwareBySoftware |
( |
int |
stripSoftware | ) |
const |
|
private |
Get EKLM firmware strip number by software strip number.
- Parameters
-
[in] | stripSoftware | Software strip number. |
Definition at line 177 of file KLMElectronicsMapImporter.cc.
◆ loadBKLMElectronicsMap()
void loadBKLMElectronicsMap |
( |
int |
version | ) |
|
Load BKLM electronics map.
- Parameters
-
[in] | version | map version: 1) Before experiment 10. 2) Experiment 10 and later (mapping in chimney sector has changed) |
Definition at line 49 of file KLMElectronicsMapImporter.cc.
◆ loadEKLMElectronicsMap()
void loadEKLMElectronicsMap |
( |
int |
version, |
|
|
bool |
mc |
|
) |
| |
Load EKLM electronics map.
- Parameters
-
[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 224 of file KLMElectronicsMapImporter.cc.
◆ setChannelsEKLMSegment()
void setChannelsEKLMSegment |
( |
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
plane, |
|
|
int |
segment, |
|
|
int |
firmwareSegment |
|
) |
| |
|
private |
◆ setLane() [1/2]
void setLane |
( |
int |
subdetector, |
|
|
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
lane |
|
) |
| |
Set non-default lane for all channels in a module.
- Parameters
-
[in] | subdetector | Subdetector. |
[in] | section | Section. |
[in] | sector | Sector. |
[in] | layer | Layer. |
[in] | lane | Lane. |
Definition at line 393 of file KLMElectronicsMapImporter.cc.
◆ setLane() [2/2]
void setLane |
( |
int |
subdetector, |
|
|
int |
section, |
|
|
int |
sector, |
|
|
int |
layer, |
|
|
int |
plane, |
|
|
int |
lane |
|
) |
| |
Set non-default lane for all channels in a plane.
- Parameters
-
[in] | subdetector | Subdetector. |
[in] | section | Section. |
[in] | sector | Sector. |
[in] | layer | Layer. |
[in] | plane | Plane. |
[in] | lane | Lane. |
Definition at line 412 of file KLMElectronicsMapImporter.cc.
The documentation for this class was generated from the following files: