|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    5 #include "CLHEP/Units/SystemOfUnits.h" 
    8 #include "Identifier/Identifier.h" 
   27   return StatusCode::SUCCESS;
 
   37   for (
int i=0; 
i<2048; 
i++) { 
 
   42     for (
int j=0; j<16; j++) {
 
   46       } 
catch (
const std::range_error &) {
 
   71     if (distortion->
getId(
i) != 0) {
 
   72       ATH_MSG_INFO(
"Distortion parameters for module 0x" << std::hex << distortion->
getId(
i) << std::dec);
 
   86       dir = totalTransform.linear() * 
dir;
 
   89       ATH_MSG_INFO(
" Point 1: " << 
"(" << point1[0] << 
", " <<  point1[1] << 
")" 
   90                       << 
", correction: " << 
"(" << corr.x() << 
", " << corr.y() << 
")");
 
   92       ATH_MSG_INFO(
" Point 2: " << 
"(" << point2[0] << 
", " <<  point2[1] << 
")" 
   93                       << 
", correction: " << 
"(" << corr.x() << 
", " << corr.y() << 
")");
 
   95       ATH_MSG_INFO(
" Point 2 after correction in simul: " <<  
"(" << newPoint2sim[0] << 
", " <<  newPoint2sim[1] << 
")");
 
   97       ATH_MSG_INFO(
" Point 2 after correction in reco: " <<  
"(" << newPoint2rec[0] << 
", " <<  newPoint2rec[1] << 
")");
 
  101   return StatusCode::SUCCESS;
 
  
virtual StatusCode initialize() override
SG::ReadCondHandleKey< PixelDCSHVData > m_readKeyHV
Eigen::Matrix< double, 2, 1 > Vector2D
Amg::Vector2D correctSimulation(uint32_t hashID, const Amg::Vector2D &locpos, const Amg::Vector3D &direction) const
Amg::Vector2D correctReconstruction(uint32_t hashID, const Amg::Vector2D &locpos, const Amg::Vector3D &direction) const
Structs for holding charge calibration parameterisation and data.
::StatusCode StatusCode
StatusCode definition for legacy code.
Eigen::Affine3d Transform3D
SG::ReadCondHandleKey< PixelDistortionData > m_distortionKey
virtual StatusCode execute() override
SG::ReadCondHandleKey< PixelChargeCalibCondData > m_chargeDataKey
StatusCode initialize(bool used=true)
Eigen::Matrix< double, 3, 1 > Vector3D
float getTemperature(int chanNum) const
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
unsigned long long getId(uint32_t hashID) const
float getBiasVoltage(const int chanNum) const
Amg::Vector2D correction(uint32_t hashID, const Amg::Vector2D &locpos, const Amg::Vector3D &direction) const
SG::ReadCondHandleKey< PixelDCSTempData > m_readKeyTemp
std::vector< float > getDistortionMap(uint32_t id) const
Eigen::AngleAxisd AngleAxis3D
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
PixelSiliconConditionsTestAlg(const std::string &name, ISvcLocator *pSvcLocator)