![]() |
Project
|
#include <GeometryMisAligner.h>
Public Member Functions | |
GeometryMisAligner (Double_t cartXMisAligM, Double_t cartXMisAligW, Double_t cartYMisAligM, Double_t cartYMisAligW, Double_t angMisAligM, Double_t angMisAligW) | |
GeometryMisAligner (Double_t cartMisAligM, Double_t cartMisAligW, Double_t angMisAligM, Double_t angMisAligW) | |
GeometryMisAligner (Double_t cartMisAligW, Double_t angMisAligW) | |
GeometryMisAligner () | |
~GeometryMisAligner ()=default | |
GeometryMisAligner (const GeometryMisAligner &right) | |
Not implemented. | |
GeometryMisAligner & | operator= (const GeometryMisAligner &right) |
Not implemented. | |
bool | matrixToAngles (const double *rot, double &psi, double &theta, double &phi) |
access to geometry details | |
void | MisAlign (bool verbose=false, const std::string &ccdbHost="http://ccdb-test.cern.ch:8080", long tmin=0, long tmax=-1, const std::string &objectPath="", const std::string &fileName="MFTAlignment.root") |
void | SetSensorCartMisAlig (Double_t xmean, Double_t xwidth, Double_t ymean, Double_t ywidth, Double_t zmean, Double_t zwidth) |
Set sensor cartesian displacement parameters different along x, y. | |
void | SetSensorCartMisAlig (Double_t mean, Double_t width) |
Set sensor cartesian displacement parameters, the same along x, y. | |
void | SetSensorAngMisAlig (Double_t xmean, Double_t xwidth, Double_t ymean, Double_t ywidth, Double_t zmean, Double_t zwidth) |
Set sensor angular displacement. | |
void | SetMaxSensorCartMisAlig (Double_t width) |
Set sensor cartesian displacement (Kept for backward compatibility) | |
void | SetMaxSensorAngMisAlig (Double_t width) |
Set sensor angular displacement (Kept for backward compatibility) | |
void | SetLadderCartMisAlig (Double_t xmean, Double_t xwidth, Double_t ymean, Double_t ywidth, Double_t zmean, Double_t zwidth) |
Set sensor cartesian displacement parameters different along x, y. | |
void | SetLadderCartMisAlig (Double_t mean, Double_t width) |
Set ladder cartesian displacement parameters, the same along x, y. | |
void | SetLadderAngMisAlig (Double_t xmean, Double_t xwidth, Double_t ymean, Double_t ywidth, Double_t zmean, Double_t zwidth) |
Set ladder angular displacement. | |
void | SetMaxLadderCartMisAlig (Double_t width) |
Set cartesian displacement for ladder (Kept for backward compatibility) | |
void | SetMaxLadderAngMisAlig (Double_t width) |
Set angular displacement for ladder (Kept for backward compatibility) | |
void | SetXYAngMisAligFactor (Double_t factor) |
void | SetZCartMisAligFactor (Double_t factor) |
void | SetUseGaus (Bool_t usegaus) |
Set option for gaussian distribution. | |
void | SetUseUni (Bool_t useuni) |
Set option for uniform distribution. | |
void | SetHalfCartMisAlig (Double_t xmean, Double_t xwidth, Double_t ymean, Double_t ywidth, Double_t zmean, Double_t zwidth) |
Set half cartesian displacement parameters. | |
void | SetHalfAngMisAlig (Double_t xmean, Double_t xwidth, Double_t ymean, Double_t ywidth, Double_t zmean, Double_t zwidth) |
Set half cartesian displacement parameters. | |
void | SetDiskCartMisAlig (Double_t xmean, Double_t xwidth, Double_t ymean, Double_t ywidth, Double_t zmean, Double_t zwidth) |
Set disk cartesian displacement parameters. | |
void | SetDiskAngMisAlig (Double_t xmean, Double_t xwidth, Double_t ymean, Double_t ywidth, Double_t zmean, Double_t zwidth) |
Set disk cartesian displacement parameters. | |
void | SetAlignmentResolution (const TClonesArray *misAlignArray, Int_t chId=-1, Double_t chResX=-1., Double_t chResY=-1., Double_t deResX=-1., Double_t deResY=-1.) |
Set alignment resolution to misalign objects to be stored in CCDB. | |
Public Attributes | |
GeometryTGeo * | mGeometryTGeo |
Definition at line 38 of file GeometryMisAligner.h.
GeometryMisAligner::GeometryMisAligner | ( | Double_t | cartXMisAligM, |
Double_t | cartXMisAligW, | ||
Double_t | cartYMisAligM, | ||
Double_t | cartYMisAligW, | ||
Double_t | angMisAligM, | ||
Double_t | angMisAligW | ||
) |
Standard constructor
Definition at line 88 of file GeometryMisAligner.cxx.
GeometryMisAligner::GeometryMisAligner | ( | Double_t | cartMisAligM, |
Double_t | cartMisAligW, | ||
Double_t | angMisAligM, | ||
Double_t | angMisAligW | ||
) |
Standard constructor
Definition at line 111 of file GeometryMisAligner.cxx.
GeometryMisAligner::GeometryMisAligner | ( | Double_t | cartMisAligW, |
Double_t | angMisAligW | ||
) |
Standard constructor
Definition at line 134 of file GeometryMisAligner.cxx.
GeometryMisAligner::GeometryMisAligner | ( | ) |
Default constructor
Definition at line 154 of file GeometryMisAligner.cxx.
|
default |
o2::mft::GeometryMisAligner::GeometryMisAligner | ( | const GeometryMisAligner & | right | ) |
Not implemented.
bool GeometryMisAligner::matrixToAngles | ( | const double * | rot, |
double & | psi, | ||
double & | theta, | ||
double & | phi | ||
) |
access to geometry details
Calculates the Euler angles in "x y z" notation using the rotation matrix Returns false in case the rotation angles can not be extracted from the matrix
Definition at line 386 of file GeometryMisAligner.cxx.
void GeometryMisAligner::MisAlign | ( | bool | verbose = false , |
const std::string & | ccdbHost = "http://ccdb-test.cern.ch:8080" , |
||
long | tmin = 0 , |
||
long | tmax = -1 , |
||
const std::string & | objectPath = "" , |
||
const std::string & | fileName = "MFTAlignment.root" |
||
) |
Takes the internal geometry module transformers, copies them to new geometry module transformers. Calculates module misalignment parameters and applies these to the new module transformer. Calculates the module misalignment delta transformation in the Alice Alignment Framework newTransf = delta * oldTransf. Add a module misalignment to the new geometry transformer. Gets the Detection Elements from the module transformer. Calculates misalignment parameters and applies these to the local transformation of the Detection Element. Obtains the new global transformation by multiplying the new module transformer transformation with the new local transformation. Applies the new global transform to a new detection element. Adds the new detection element to a new module transformer. Calculates the d.e. misalignment delta transformation in the Alice Alignment Framework (newGlobalTransf = delta * oldGlobalTransf). Add a d.e. misalignment to the new geometry transformer. Adds the new module transformer to a new geometry transformer. Returns the new geometry transformer.
Definition at line 404 of file GeometryMisAligner.cxx.
GeometryMisAligner & o2::mft::GeometryMisAligner::operator= | ( | const GeometryMisAligner & | right | ) |
Not implemented.
void GeometryMisAligner::SetAlignmentResolution | ( | const TClonesArray * | misAlignArray, |
Int_t | chId = -1 , |
||
Double_t | chResX = -1. , |
||
Double_t | chResY = -1. , |
||
Double_t | deResX = -1. , |
||
Double_t | deResY = -1. |
||
) |
Set alignment resolution to misalign objects to be stored in CCDB.
Definition at line 516 of file GeometryMisAligner.cxx.
|
inline |
Set disk cartesian displacement parameters.
Definition at line 208 of file GeometryMisAligner.h.
|
inline |
Set disk cartesian displacement parameters.
Definition at line 197 of file GeometryMisAligner.h.
|
inline |
Set half cartesian displacement parameters.
Definition at line 186 of file GeometryMisAligner.h.
|
inline |
Set half cartesian displacement parameters.
Definition at line 175 of file GeometryMisAligner.h.
|
inline |
Set ladder angular displacement.
Definition at line 130 of file GeometryMisAligner.h.
|
inline |
Set ladder cartesian displacement parameters, the same along x, y.
Definition at line 121 of file GeometryMisAligner.h.
|
inline |
Set sensor cartesian displacement parameters different along x, y.
Definition at line 110 of file GeometryMisAligner.h.
|
inline |
Set angular displacement for ladder (Kept for backward compatibility)
Definition at line 150 of file GeometryMisAligner.h.
|
inline |
Set cartesian displacement for ladder (Kept for backward compatibility)
Definition at line 141 of file GeometryMisAligner.h.
|
inline |
Set sensor angular displacement (Kept for backward compatibility)
Definition at line 103 of file GeometryMisAligner.h.
|
inline |
Set sensor cartesian displacement (Kept for backward compatibility)
Definition at line 94 of file GeometryMisAligner.h.
|
inline |
Set sensor angular displacement.
Definition at line 83 of file GeometryMisAligner.h.
|
inline |
Set sensor cartesian displacement parameters, the same along x, y.
Definition at line 74 of file GeometryMisAligner.h.
|
inline |
Set sensor cartesian displacement parameters different along x, y.
Definition at line 63 of file GeometryMisAligner.h.
|
inline |
Set option for gaussian distribution.
Definition at line 161 of file GeometryMisAligner.h.
|
inline |
Set option for uniform distribution.
Definition at line 168 of file GeometryMisAligner.h.
void GeometryMisAligner::SetXYAngMisAligFactor | ( | Double_t | factor | ) |
Set XY angular misalign factor
Definition at line 171 of file GeometryMisAligner.cxx.
void GeometryMisAligner::SetZCartMisAligFactor | ( | Double_t | factor | ) |
Set XY angular misalign factor
Definition at line 187 of file GeometryMisAligner.cxx.
GeometryTGeo* o2::mft::GeometryMisAligner::mGeometryTGeo |
Definition at line 55 of file GeometryMisAligner.h.