|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef PIXELDISTORTIONDATA_H
12 #define PIXELDISTORTIONDATA_H
23 void setIds(
const std::unordered_map<uint32_t,unsigned long long>&
ids);
33 static double getInSituZ(
const double localeta,
const double eta_size,
const double localphi,
const double phi_size,
const float *disto) ;
34 static double getSurveyZ(
const double localeta,
const double localphi,
const float *disto) ;
35 static bool isOldParam(
const unsigned long long ull_id) ;
36 static bool isIBL3D(
const unsigned long long ull_id) ;
42 std::unordered_map<uint32_t,unsigned long long>
m_ids;
void setVersion(int version)
Hold mappings of ranges to condition objects.
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
CONDCONT_DEF(PixelDistortionData, 127567679)
std::unordered_map< uint32_t, std::vector< float > > m_distortionMap
static bool isIBL3D(const unsigned long long ull_id)
void setDistortionMap(const std::unordered_map< uint32_t, std::vector< float >> &distortionMap)
static bool isOldParam(const unsigned long long ull_id)
Eigen::Matrix< double, 3, 1 > Vector3D
unsigned long long getId(uint32_t hashID) const
static double getSurveyZ(const double localeta, const double localphi, const float *disto)
std::unordered_map< uint32_t, unsigned long long > m_ids
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Amg::Vector2D correction(uint32_t hashID, const Amg::Vector2D &locpos, const Amg::Vector3D &direction) const
std::vector< float > getDistortionMap(uint32_t id) const
void setIds(const std::unordered_map< uint32_t, unsigned long long > &ids)
macros to associate a CLID to a type
static double getInSituZ(const double localeta, const double eta_size, const double localphi, const double phi_size, const float *disto)