![]() |
ATLAS Offline Software
|
Conditions data object to calibrate the timeoff set of each individual channel in the NSW. More...
#include <NswT0Data.h>
Public Member Functions | |
| NswT0Data (const Muon::IMuonIdHelperSvc *idHelperSvc) | |
| ~NswT0Data ()=default | |
| void | setData (const Identifier &channelId, const float channelT0) |
| Set the t0 calibration constant for a given nsw channel. | |
| std::optional< float > | getT0 (const Identifier &channelId) const |
| Retrieve the t0 calibration constant for a given NSW channel. | |
Private Types | |
| using | ChannelArray = std::vector<std::vector<std::optional<float>>> |
Private Member Functions | |
| std::size_t | identToModuleIdx (const Identifier &channelId) const |
| The calibration data is internally stored as two jagged vectors, one for MM the other for sTGC. | |
Private Attributes | |
| const Muon::IMuonIdHelperSvc * | m_idHelperSvc {} |
| ChannelArray | m_data_mmg {} |
| ChannelArray | m_data_stg {} |
Conditions data object to calibrate the timeoff set of each individual channel in the NSW.
Definition at line 26 of file NswT0Data.h.
|
private |
Definition at line 54 of file NswT0Data.h.
| NswT0Data::NswT0Data | ( | const Muon::IMuonIdHelperSvc * | idHelperSvc | ) |
Definition at line 15 of file NswT0Data.cxx.
|
default |
| std::optional< float > NswT0Data::getT0 | ( | const Identifier & | channelId | ) | const |
Retrieve the t0 calibration constant for a given NSW channel.
| channelId | Identifier of the readout channel to calibrate |
Definition at line 62 of file NswT0Data.cxx.
|
private |
The calibration data is internally stored as two jagged vectors, one for MM the other for sTGC.
The outer vector is sorted by the module index which is a composition of the detElementHash && the gasgap. Transform the channel identifier to the module Index
| channelId | Identifier of the channel to transform |
Definition at line 28 of file NswT0Data.cxx.
| void NswT0Data::setData | ( | const Identifier & | channelId, |
| const float | channelT0 ) |
Set the t0 calibration constant for a given nsw channel.
| channelId | Identifier of the readout channel to calibrate |
| channelT0 | Calibration constantto be applied |
Definition at line 42 of file NswT0Data.cxx.
|
private |
Definition at line 55 of file NswT0Data.h.
|
private |
Definition at line 56 of file NswT0Data.h.
|
private |
Definition at line 52 of file NswT0Data.h.