![]() |
ATLAS Offline Software
|
#include <PixelChargeCalibCondData.h>
Public Types | |
| enum class | CalibrationStrategy { RUN1PIX , RUN3PIX , LUTFEI4 , RD53 } |
| using | IBLCalibration = std::array<float, IBLCalibrationSize> |
| using | IBLModule = std::vector<IBLCalibration> |
Public Member Functions | |
| PixelChargeCalibCondData ()=default | |
| PixelChargeCalibCondData (std::size_t max_module_hash) | |
| void | setAllFromBundle (unsigned int moduleHash, const PixelChargeCalib::ChargeCalibrationBundle &b) |
| void | setAllFromConfigData (unsigned int moduleHash, const PixelModuleData *configData, const std::pair< int, int > &becLayer, unsigned int numFE) |
| void | setThresholds (InDetDD::PixelDiodeType type, unsigned int moduleHash, const std::vector< PixelChargeCalib::Thresholds > &thresholds) |
| void | setAnalogThreshold (InDetDD::PixelDiodeType type, unsigned int moduleHash, std::vector< int > &&value) |
| void | setLegacyFitParameters (InDetDD::PixelDiodeType type, unsigned int moduleHash, const std::vector< PixelChargeCalib::LegacyFitParameters > ¶meters) |
| void | setLinearFitParameters (InDetDD::PixelDiodeType type, unsigned int moduleHash, const std::vector< PixelChargeCalib::LinearFitParameters > ¶meters) |
| void | setTotResolutions (unsigned int moduleHash, const std::vector< PixelChargeCalib::Resolutions > &value) |
| PixelChargeCalib::Thresholds | getThresholds (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const |
| PixelChargeCalib::LegacyFitParameters | getLegacyFitParameters (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const |
| PixelChargeCalib::LinearFitParameters | getLinearFitParameters (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const |
| float | getQ2TotF (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const |
| float | getQ2TotG (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const |
| float | getTotRes (unsigned int moduleHash, unsigned int FE, float Q) const |
| float | getToT (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE, float Q) const |
| float | getCharge (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE, float ToT) const |
| float | getCharge (InDetDD::PixelDiodeType type, const CalibrationStrategy calibStrategy, unsigned int moduleHash, unsigned int FE, float ToT) const |
| void | setCalibrationStrategy (unsigned int moduleHash, CalibrationStrategy strategy) |
| void | setTot2Charges (unsigned int moduleHash, IBLModule charges) |
| const IBLCalibration & | getTot2Charges (unsigned int moduleHash, unsigned int FE) const |
| CalibrationStrategy | getCalibrationStrategy (unsigned int moduleHash) const |
| float | getChargeLUTFEI4 (unsigned int moduleHash, unsigned int FE, unsigned int ToT) const |
| float | getToTLUTFEI4 (unsigned int moduleHash, unsigned int FE, float Q) const |
| constexpr int | getFEI4OverflowToT () const |
Static Public Attributes | |
| static constexpr size_t | IBLCalibrationSize {16} |
Private Attributes | |
| std::size_t | m_sizeOfHashVector = 0 |
| std::array< std::vector< std::vector< PixelChargeCalib::Thresholds > >, s_NPixelDiodes > | m_thresholds |
| std::array< std::vector< std::vector< PixelChargeCalib::LegacyFitParameters > >, s_NPixelDiodes > | m_legacyFit |
| std::array< std::vector< std::vector< PixelChargeCalib::LinearFitParameters > >, s_NPixelDiodes > | m_linFit |
| std::vector< std::vector< PixelChargeCalib::Resolutions > > | m_totRes |
| std::map< int, CalibrationStrategy > | m_calibrationStrategy |
| std::map< int, IBLModule > | m_tot2Charges |
Static Private Attributes | |
| static constexpr std::size_t | s_NPixelDiodes = enum2uint(InDetDD::PixelDiodeType::N_DIODETYPES) |
Definition at line 23 of file PixelChargeCalibCondData.h.
| using PixelChargeCalibCondData::IBLCalibration = std::array<float, IBLCalibrationSize> |
Definition at line 30 of file PixelChargeCalibCondData.h.
| using PixelChargeCalibCondData::IBLModule = std::vector<IBLCalibration> |
Definition at line 31 of file PixelChargeCalibCondData.h.
|
strong |
| Enumerator | |
|---|---|
| RUN1PIX | |
| RUN3PIX | |
| LUTFEI4 | |
| RD53 | |
Definition at line 33 of file PixelChargeCalibCondData.h.
|
default |
| PixelChargeCalibCondData::PixelChargeCalibCondData | ( | std::size_t | max_module_hash | ) |
Definition at line 46 of file PixelChargeCalibCondData.cxx.
| PixelChargeCalibCondData::CalibrationStrategy PixelChargeCalibCondData::getCalibrationStrategy | ( | unsigned int | moduleHash | ) | const |
Definition at line 254 of file PixelChargeCalibCondData.cxx.
| float PixelChargeCalibCondData::getCharge | ( | InDetDD::PixelDiodeType | type, |
| const CalibrationStrategy | calibStrategy, | ||
| unsigned int | moduleHash, | ||
| unsigned int | FE, | ||
| float | ToT ) const |
Definition at line 193 of file PixelChargeCalibCondData.cxx.
| float PixelChargeCalibCondData::getCharge | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| unsigned int | FE, | ||
| float | ToT ) const |
Definition at line 223 of file PixelChargeCalibCondData.cxx.
| float PixelChargeCalibCondData::getChargeLUTFEI4 | ( | unsigned int | moduleHash, |
| unsigned int | FE, | ||
| unsigned int | ToT ) const |
Definition at line 283 of file PixelChargeCalibCondData.cxx.
|
inlineconstexpr |
Definition at line 112 of file PixelChargeCalibCondData.h.
| PixelChargeCalib::LegacyFitParameters PixelChargeCalibCondData::getLegacyFitParameters | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| unsigned int | FE ) const |
Definition at line 120 of file PixelChargeCalibCondData.cxx.
| PixelChargeCalib::LinearFitParameters PixelChargeCalibCondData::getLinearFitParameters | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| unsigned int | FE ) const |
Definition at line 143 of file PixelChargeCalibCondData.cxx.
| float PixelChargeCalibCondData::getQ2TotF | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| unsigned int | FE ) const |
| float PixelChargeCalibCondData::getQ2TotG | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| unsigned int | FE ) const |
| PixelChargeCalib::Thresholds PixelChargeCalibCondData::getThresholds | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| unsigned int | FE ) const |
Definition at line 99 of file PixelChargeCalibCondData.cxx.
| float PixelChargeCalibCondData::getToT | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| unsigned int | FE, | ||
| float | Q ) const |
Definition at line 174 of file PixelChargeCalibCondData.cxx.
| const PixelChargeCalibCondData::IBLCalibration & PixelChargeCalibCondData::getTot2Charges | ( | unsigned int | moduleHash, |
| unsigned int | FE ) const |
Definition at line 274 of file PixelChargeCalibCondData.cxx.
| float PixelChargeCalibCondData::getToTLUTFEI4 | ( | unsigned int | moduleHash, |
| unsigned int | FE, | ||
| float | Q ) const |
Definition at line 292 of file PixelChargeCalibCondData.cxx.
| float PixelChargeCalibCondData::getTotRes | ( | unsigned int | moduleHash, |
| unsigned int | FE, | ||
| float | Q ) const |
Definition at line 163 of file PixelChargeCalibCondData.cxx.
| void PixelChargeCalibCondData::setAllFromBundle | ( | unsigned int | moduleHash, |
| const PixelChargeCalib::ChargeCalibrationBundle & | b ) |
Definition at line 51 of file PixelChargeCalibCondData.cxx.
| void PixelChargeCalibCondData::setAllFromConfigData | ( | unsigned int | moduleHash, |
| const PixelModuleData * | configData, | ||
| const std::pair< int, int > & | becLayer, | ||
| unsigned int | numFE ) |
Definition at line 70 of file PixelChargeCalibCondData.cxx.
| void PixelChargeCalibCondData::setAnalogThreshold | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| std::vector< int > && | value ) |
| void PixelChargeCalibCondData::setCalibrationStrategy | ( | unsigned int | moduleHash, |
| CalibrationStrategy | strategy ) |
Definition at line 246 of file PixelChargeCalibCondData.cxx.
| void PixelChargeCalibCondData::setLegacyFitParameters | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| const std::vector< PixelChargeCalib::LegacyFitParameters > & | parameters ) |
Definition at line 110 of file PixelChargeCalibCondData.cxx.
| void PixelChargeCalibCondData::setLinearFitParameters | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| const std::vector< PixelChargeCalib::LinearFitParameters > & | parameters ) |
Definition at line 132 of file PixelChargeCalibCondData.cxx.
| void PixelChargeCalibCondData::setThresholds | ( | InDetDD::PixelDiodeType | type, |
| unsigned int | moduleHash, | ||
| const std::vector< PixelChargeCalib::Thresholds > & | thresholds ) |
Definition at line 89 of file PixelChargeCalibCondData.cxx.
| void PixelChargeCalibCondData::setTot2Charges | ( | unsigned int | moduleHash, |
| IBLModule | charges ) |
Definition at line 266 of file PixelChargeCalibCondData.cxx.
| void PixelChargeCalibCondData::setTotResolutions | ( | unsigned int | moduleHash, |
| const std::vector< PixelChargeCalib::Resolutions > & | value ) |
Definition at line 156 of file PixelChargeCalibCondData.cxx.
|
staticconstexpr |
Definition at line 29 of file PixelChargeCalibCondData.h.
|
private |
Definition at line 126 of file PixelChargeCalibCondData.h.
|
private |
Definition at line 121 of file PixelChargeCalibCondData.h.
|
private |
Definition at line 122 of file PixelChargeCalibCondData.h.
|
private |
Definition at line 117 of file PixelChargeCalibCondData.h.
|
private |
Definition at line 120 of file PixelChargeCalibCondData.h.
|
private |
Definition at line 127 of file PixelChargeCalibCondData.h.
|
private |
Definition at line 123 of file PixelChargeCalibCondData.h.
|
staticconstexprprivate |
Definition at line 118 of file PixelChargeCalibCondData.h.