![]() |
ATLAS Offline Software
|
#include <IChargeCalibrationParser.h>
Public Member Functions | |
| IChargeCalibrationParser (const PixelModuleData *pModData, const InDetDD::SiDetectorElementCollection *pElements, const PixelID *pId) | |
| template<class T> | |
| ChargeCalibrationBundle | parse (unsigned int hash, const T &data) |
| template<class T> | |
| ChargeCalibrationBundle | parse (unsigned int hash, const T &data, int inputSource) |
| virtual | ~IChargeCalibrationParser ()=default |
Protected Member Functions | |
| template<typename T, typename b = std::is_integral<T>> | |
| std::function< T(size_t)> | getFunc (const std::vector< std::string > &data) |
| Return function converting a string to number type T at index i of data vector. | |
| template<typename T> | |
| std::function< T(size_t)> | getFunc (const nlohmann::json &data) |
| Return function converting an item to number type T at index i of json data. | |
Protected Attributes | |
| const PixelModuleData * | m_configData {} |
| const InDetDD::SiDetectorElementCollection * | m_elements {} |
| const PixelID * | m_pixelID {} |
Static Protected Attributes | |
| static constexpr float | m_chargeLimit = 1e5 |
| If the calculated charge exceeds this limit, a linear extrapolation is used at this point. | |
Private Member Functions | |
| virtual ChargeCalibrationBundle | parseImpl (unsigned int, const nlohmann::json &, int)=0 |
| virtual ChargeCalibrationBundle | parseImpl (unsigned int, const nlohmann::json &)=0 |
| virtual ChargeCalibrationBundle | parseImpl (unsigned int, const std::string &)=0 |
Definition at line 31 of file IChargeCalibrationParser.h.
|
inline |
Definition at line 33 of file IChargeCalibrationParser.h.
|
virtualdefault |
|
inlineprotected |
Return function converting an item to number type T at index i of json data.
Definition at line 69 of file IChargeCalibrationParser.h.
|
inlineprotected |
|
inline |
Definition at line 41 of file IChargeCalibrationParser.h.
|
inline |
Definition at line 45 of file IChargeCalibrationParser.h.
|
privatepure virtual |
|
privatepure virtual |
|
privatepure virtual |
|
staticconstexprprotected |
If the calculated charge exceeds this limit, a linear extrapolation is used at this point.
Definition at line 55 of file IChargeCalibrationParser.h.
|
protected |
Definition at line 51 of file IChargeCalibrationParser.h.
|
protected |
Definition at line 52 of file IChargeCalibrationParser.h.
Definition at line 53 of file IChargeCalibrationParser.h.