|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INDETALIGNMENT_CREATEMISALIGNALG_H
6 #define INDETALIGNMENT_CREATEMISALIGNALG_H
18 #include "GaudiKernel/NTuple.h"
19 #include "GaudiKernel/ToolHandle.h"
20 #include "GaudiKernel/ServiceHandle.h"
23 #include "CLHEP/Matrix/Vector.h"
24 #include "CLHEP/Geometry/Transform3D.h"
29 #include "Identifier/Identifier.h"
82 Gaudi::Property<double>
m_Misalign_x {
this,
"MisalignmentX",0.0,
"Fixed X shift (mode 1 and 2)"};
83 Gaudi::Property<double>
m_Misalign_y {
this,
"MisalignmentY",0.0,
"Fixed Y shif (model 1 and 2)"};
84 Gaudi::Property<double>
m_Misalign_z {
this,
"MisalignmentZ",0.0,
"Fixed Z shift (mode 1 and 2)"};
85 Gaudi::Property<double>
m_Misalign_alpha {
this,
"MisalignmentAlpha",0.0,
"Fixed Alpha shift (model 1 and 2)"};
86 Gaudi::Property<double>
m_Misalign_beta {
this,
"MisalignmentBeta",0.0,
"Fixed Beta shift (mode 1 and 2)"};
87 Gaudi::Property<double>
m_Misalign_gamma {
this,
"MisalignmentGamma",0.0,
"Fixed Gamma shift (model 1 and 2)"};
88 Gaudi::Property<double>
m_RndmMisalignWidth_x {
this,
"RandomMisalignmentWidthX",0.1,
"Gaussian width of X random misalignments (mode 2)"};
89 Gaudi::Property<double>
m_RndmMisalignWidth_y {
this,
"RandomMisalignmentWidthY",0.1,
"Gaussian width of Y random misalignments (mode 2)"};
90 Gaudi::Property<double>
m_RndmMisalignWidth_z {
this,
"RandomMisalignmentWidthZ",0.1,
"Gaussian width of Z random misalignments (mode 2)"};
91 Gaudi::Property<double>
m_RndmMisalignWidth_alpha {
this,
"RandomMisalignmentWidthAplha",0.1,
"Gaussian width of Alpha random misalignments (mode 2)"};
92 Gaudi::Property<double>
m_RndmMisalignWidth_beta {
this,
"RandomMisalignmentWidthBeta",0.1,
"Gaussian width of Beta random misalignments (mode 2)"};
93 Gaudi::Property<double>
m_RndmMisalignWidth_gamma {
this,
"RandomMisalignmentWidthGamma",0.1,
"Gaussian width of Gamma random misalignments (mode 2)"};
167 #endif // INDETALIGNMENT_CREATEMISALIGNALG_H
Gaudi::Property< double > m_RndmMisalignWidth_y
Gaudi::Property< double > m_Misalign_z
NTuple::Item< double > m_AlignResults_alpha
AP rotation around x-axis.
double m_ScalePixelEndcap
NTuple::Item< long > m_AlignResults_Identifier_ID
ID information for this module.
NTuple::Item< double > m_Global_center_x
Misaligned global center of module.
NTuple::Item< double > m_Initial_center_z
Initial global center of module.
Gaudi::Property< double > m_Misalign_gamma
const HepGeom::Transform3D BuildAlignTransform(const CLHEP::HepVector &)
builds a HepGeom::Transform3D from the 6 Alignment Parameters
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Gaudi::Property< double > m_Misalign_beta
NTuple::Item< double > m_AlignResults_gamma
AP rotation around z-axis.
std::string m_SQLiteTag
tag name for the ConditionsDB
NTuple::Item< long > m_AlignResults_Identifier_LayerDisc
ID information for this module.
StatusCode finalize()
standard Athena-Algorithm method
NTuple::Item< long > m_AlignResults_Identifier_Eta
ID information for this module.
std::map< Identifier, HepGeom::Point3D< double > > m_ModuleList
map of all SiIdentifiers to be misaligned and their centerpoints in global coordinates
NTuple::Item< long > m_AlignResults_Identifier_BarrelEC
ID information for this module.
NTuple::Item< double > m_AlignResults_beta
AP rotation aorund y-axis.
Gaudi::Property< double > m_RndmMisalignWidth_beta
bool m_createFreshDB
Flag to call the createDB method of DBTool (to be switched off when adding misalignments to a given g...
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleCollKey
Gaudi::Property< double > m_RndmMisalignWidth_gamma
double getBowingTx(double p1, double z)
std::string m_asciiFileNameBase
filename basis for ASCII files with alignment constants
TTree * m_VisualizationLookupTree
const TRT_ID * m_trtIdHelper
::StatusCode StatusCode
StatusCode definition for legacy code.
NTuple::Item< long > m_AlignResults_Identifier_Phi
ID information for this module.
ServiceHandle< ITRT_AlignDbSvc > m_trtaligndbservice
Eigen::Affine3d Transform3D
const SCT_ID * m_sctIdHelper
void setupPixel_AlignModule(int &)
NTuple::Item< double > m_AlignResults_x
Alignment parameter sensitive coordinate.
Gaudi::Property< double > m_Misalign_x
Gaudi::Property< double > m_RndmMisalignWidth_z
const AtlasDetectorID * m_idHelper
StatusCode initialize()
standard Athena-Algorithm method
const PixelID * m_pixelIdHelper
double m_IBLBowingTshift
The relative temp shift of set point that intriduces bowing (sign is important)
double m_ScalePixelBarrel
void setupTRT_AlignModule(int &)
NTuple::Item< double > m_Initial_center_x
Initial global center of module.
bool m_firstEvent
Flag for Setup of AlignModuleList (1st event)
NTuple::Item< double > m_AlignResults_y
AP not-so-sensitive coordinate.
ToolHandle< IInDetAlignDBTool > m_IDAlignDBTool
double getBowingMagParam(double temp_shift)
NTuple::Item< double > m_AlignResults_z
AP normal to module plane.
const Identifier reduceTRTID(Identifier id)
NTuple::Item< double > m_Global_center_y
Misaligned global center of module.
double m_Misalign_maxShift
Maximum shift for global modes.
NTuple::Item< double > m_Initial_center_y
Initial global center of module.
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Gaudi::Property< double > m_RndmMisalignWidth_alpha
Gaudi::Property< double > m_Misalign_alpha
Gaudi::Property< double > m_Misalign_y
NTuple::Item< long > m_AlignResults_Identifier_PixelSCT
ID information for this module.
CreateMisalignAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
StatusCode execute()
standard Athena-Algorithm method
NTuple::Item< double > m_Global_center_z
Misaligned global center of module.
void setupSCT_AlignModule(int &)
abstract interface to Service to manage TRT alignment conditions
double m_Misalign_maxShift_Inner
Maximum shift of the Pixel B-layer in curl (d0 bias!)
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
StatusCode GenerateMisaligment()
the main function which calculates and applies a transformation to each detector element
~CreateMisalignAlg()
Default Destructor.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Gaudi::Property< double > m_RndmMisalignWidth_x
int m_MisalignmentMode
Flag which Misalignment mode is to be generated.