5#ifndef INDETALIGNGENALGS_INDETALIGNCOG_H
6#define INDETALIGNGENALGS_INDETALIGNCOG_H
17#include "GaudiKernel/AlgTool.h"
18#include "GaudiKernel/ToolHandle.h"
19#include "GaudiKernel/ServiceHandle.h"
42 InDetAlignCog(
const std::string& name, ISvcLocator* pSvcLocator);
104 SG::ReadCondHandleKey<
InDetDD::SiDetectorElementCollection>
m_pixelDetEleCollKey{
this,
"PixelDetEleCollKey",
"PixelDetectorElementCollection",
"Key of SiDetectorElementCollection for Pixel"};
Eigen::Affine3d Transform3D
abstract interface to Service to manage TRT alignment conditions
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
int m_det
Pixel=1, SCT=2, Pixel+SCT=12, TRT=3, all (silicon and TRT)=99.
int m_TRT_layer
a particular TRT layer or all (TRT)=99
bool m_SiTxtOutput
output Si constants to txt file ?
StatusCode getTRT_Elements(const InDetDD::TRT_DetElementCollection *, const bool, InDetAlignCog::Params_t ¶ms)
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Amg::Transform3D m_glob_x
double m_errTrans
acceptable value for residual global translation
double m_traZ
translation/rotation values (CLHEP::mm, CLHEP::rad) for the arbitrary transformation
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
const Amg::Transform3D getL1Transform(int bec)
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
ServiceHandle< ITRT_AlignDbSvc > m_TRTAlignDbTool
Amg::Transform3D m_grot_z
Amg::Transform3D m_glob_z
double m_sigXsctB
assumed error for SCT barrel local X matchnig in the Xi2 method
bool m_TRT_TxtOutput
output TRT constants to txt file ?
void scaleTransform(Amg::Transform3D &, const float)
StatusCode normalizeTransform(Amg::Transform3D &, const int)
Amg::Transform3D m_ResGlob
Amg::Transform3D m_glob_y
std::string printTransform(const Amg::Transform3D &) const
double m_errRot
acceptable value for residual global rotation angles
double m_sigXpixB
assumed error for Pixel barrel local X matchnig in the Xi2 method
void prepareDerivative(const Amg::Transform3D &, const bool=false)
Amg::Transform3D sumTransforms(const Amg::Transform3D &, const Amg::Transform3D &) const
StatusCode getSiElements(const InDetDD::SiDetectorElementCollection *, const bool, InDetAlignCog::Params_t ¶ms)
bool m_doL1
enable/disable introducing the arbitrary L1 correction to the output objects
bool testIdentity(const Amg::Transform3D &, double, double) const
StatusCode shiftIDbyCog()
int m_TRT_bec
Barrel=-1, Endcaps=+-2, all (TRT)=99.
bool m_doCoG
enable/disable introducing the CoG correction to the output objects
void accumulate(const Amg::Transform3D &, double *)
double m_sigXtrtB
assumed error for TRT barrel local X matchnig in the Xi2 method
std::string m_SQLiteTag
SQLite tag name.
void accumulateChi2(const Amg::Transform3D &, AmgSymMatrix(6)&, AmgVector(6)&, const double *)
ToolHandle< IInDetAlignDBTool > m_IDAlignDBTool
Amg::Transform3D m_grot_x
std::string m_sitxtfile
text file with dump of Si alignment constants after cog shift
bool m_doTZ
enable/disable writing of indivitual DoF's to the db
std::string m_trt_txtfile
text file with dump of TRT alignment constants after cog shift
int m_Si_bec
Barrel=1, Endcaps=+-2, all (silicon)=99.
void enableCoG(Amg::Transform3D &, bool, bool, bool, bool, bool, bool)
InDetAlignCog(const std::string &name, ISvcLocator *pSvcLocator)
int m_counter
normalization factor
Amg::Transform3D m_grot_y
double m_sigXpixE
assumed error for Pixel endcap local X matchnig in the Xi2 method
int m_Si_layer
a particular silicon layer or all (silicon)=99
Class to hold geometrical description of a silicon detector element.
Virtual base class of TRT readout elements.
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
This is an Identifier helper class for the TRT subdetector.
Definition of ATLAS Math & Geometry primitives (Amg)
Eigen::Affine3d Transform3D