Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ITKPIXELCLUSTERERRORDATA_H
6 #define ITKPIXELCLUSTERERRORDATA_H
10 #include "Identifier/Identifier.h"
46 int sizePhi,
double angle,
47 int sizeZ,
double eta)
const;
53 float period_phi,
float period_sinheta,
54 float delta_x_slope,
float delta_x_offset,
float error_x,
55 float delta_y_slope,
float delta_y_offset,
float error_y );
61 if (param.size() !=
dest.size())
throw std::range_error(
"Parameter sizes do not match");
64 void print(
const std::string&
file)
const;
69 unsigned int load(
const std::string&
file);
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
IdentifierHash getIdentifierHash(Identifier identifier) const
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
std::pair< double, double > getDelta(IdentifierHash idHash, int sizePhi, double angle, int sizeZ, double eta) const
Methods to access the calibration data.
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
double angle(const GeoTrf::Vector2D &a, const GeoTrf::Vector2D &b)
const std::vector< std::array< float, kNParam > > & getConstMap() const
void print(const std::string &file) const
void setDeltaError(IdentifierHash idHash, const std::array< float, kNParam > ¶m)
const PixelID * m_pixelID
void setDeltaError(IdentifierHash idHash, std::span< double > param)
unsigned int load(const std::string &file)
load cluster error data from ascii file
std::vector< std::array< float, kNParam > > m_constmap
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)
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
macros to associate a CLID to a type
Identifier getIdentifier(IdentifierHash idHash) const