![]() |
ATLAS Offline Software
|
#include <ITkPixelClusterErrorData.h>
Public Types | |
| enum | EParam { kPeriod_phi , kPeriod_sinheta , kDelta_x_slope , kDelta_x_offset , kError_x , kDelta_y_slope , kDelta_y_offset , kError_y , kNParam } |
Public Member Functions | |
| PixelClusterErrorData () | |
| ~PixelClusterErrorData () | |
| std::pair< double, double > | getDelta (IdentifierHash idHash, int sizePhi, double angle, int sizeZ, double eta) const |
| Methods to access the calibration data. | |
| std::pair< double, double > | getDeltaError (IdentifierHash idHash) const |
| void | setDeltaError (IdentifierHash idHash, float period_phi, float period_sinheta, float delta_x_slope, float delta_x_offset, float error_x, float delta_y_slope, float delta_y_offset, float error_y) |
| void | setDeltaError (IdentifierHash idHash, const std::array< float, kNParam > ¶m) |
| void | setDeltaError (IdentifierHash idHash, std::span< double > param) |
| void | print (const std::string &file) const |
| unsigned int | load (const std::string &file) |
| load cluster error data from ascii file | |
| IdentifierHash | getIdentifierHash (Identifier identifier) const |
| Identifier | getIdentifier (IdentifierHash idHash) const |
| const std::vector< std::array< float, kNParam > > & | getConstMap () const |
Private Member Functions | |
| void | initialize () |
Private Attributes | |
| std::vector< std::array< float, kNParam > > | m_constmap |
| const PixelID * | m_pixelID {nullptr} |
Definition at line 24 of file ITkPixelClusterErrorData.h.
| Enumerator | |
|---|---|
| kPeriod_phi | |
| kPeriod_sinheta | |
| kDelta_x_slope | |
| kDelta_x_offset | |
| kError_x | |
| kDelta_y_slope | |
| kDelta_y_offset | |
| kError_y | |
| kNParam | |
Definition at line 28 of file ITkPixelClusterErrorData.h.
|
inline |
Definition at line 40 of file ITkPixelClusterErrorData.h.
|
inline |
Definition at line 41 of file ITkPixelClusterErrorData.h.
|
inline |
Definition at line 78 of file ITkPixelClusterErrorData.h.
| std::pair< double, double > ITk::PixelClusterErrorData::getDelta | ( | IdentifierHash | idHash, |
| int | sizePhi, | ||
| double | angle, | ||
| int | sizeZ, | ||
| double | eta ) const |
Methods to access the calibration data.
Definition at line 32 of file ITkPixelClusterErrorData.cxx.
|
inline |
Definition at line 48 of file ITkPixelClusterErrorData.h.
|
inline |
Definition at line 74 of file ITkPixelClusterErrorData.h.
|
inline |
Definition at line 71 of file ITkPixelClusterErrorData.h.
|
private |
Definition at line 18 of file ITkPixelClusterErrorData.cxx.
| unsigned int ITk::PixelClusterErrorData::load | ( | const std::string & | file | ) |
load cluster error data from ascii file
| file | name of the ascii file |
Definition at line 83 of file ITkPixelClusterErrorData.cxx.
| void ITk::PixelClusterErrorData::print | ( | const std::string & | file | ) | const |
Definition at line 68 of file ITkPixelClusterErrorData.cxx.
|
inline |
Definition at line 56 of file ITkPixelClusterErrorData.h.
| void ITk::PixelClusterErrorData::setDeltaError | ( | IdentifierHash | idHash, |
| float | period_phi, | ||
| float | period_sinheta, | ||
| float | delta_x_slope, | ||
| float | delta_x_offset, | ||
| float | error_x, | ||
| float | delta_y_slope, | ||
| float | delta_y_offset, | ||
| float | error_y ) |
Definition at line 56 of file ITkPixelClusterErrorData.cxx.
|
inline |
Definition at line 59 of file ITkPixelClusterErrorData.h.
|
private |
Definition at line 83 of file ITkPixelClusterErrorData.h.
|
private |
Definition at line 85 of file ITkPixelClusterErrorData.h.