Project
Loading...
Searching...
No Matches
o2::mft::GeometryMisAligner Class Reference

#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.
 
GeometryMisAligneroperator= (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

GeometryTGeomGeometryTGeo
 

Detailed Description

Definition at line 38 of file GeometryMisAligner.h.

Constructor & Destructor Documentation

◆ GeometryMisAligner() [1/5]

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() [2/5]

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() [3/5]

GeometryMisAligner::GeometryMisAligner ( Double_t  cartMisAligW,
Double_t  angMisAligW 
)

Standard constructor

Definition at line 134 of file GeometryMisAligner.cxx.

◆ GeometryMisAligner() [4/5]

GeometryMisAligner::GeometryMisAligner ( )

Default constructor

Definition at line 154 of file GeometryMisAligner.cxx.

◆ ~GeometryMisAligner()

o2::mft::GeometryMisAligner::~GeometryMisAligner ( )
default

◆ GeometryMisAligner() [5/5]

o2::mft::GeometryMisAligner::GeometryMisAligner ( const GeometryMisAligner right)

Not implemented.

Member Function Documentation

◆ matrixToAngles()

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.

◆ MisAlign()

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.

◆ operator=()

GeometryMisAligner & o2::mft::GeometryMisAligner::operator= ( const GeometryMisAligner right)

Not implemented.

◆ SetAlignmentResolution()

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.

◆ SetDiskAngMisAlig()

void o2::mft::GeometryMisAligner::SetDiskAngMisAlig ( Double_t  xmean,
Double_t  xwidth,
Double_t  ymean,
Double_t  ywidth,
Double_t  zmean,
Double_t  zwidth 
)
inline

Set disk cartesian displacement parameters.

Definition at line 208 of file GeometryMisAligner.h.

◆ SetDiskCartMisAlig()

void o2::mft::GeometryMisAligner::SetDiskCartMisAlig ( Double_t  xmean,
Double_t  xwidth,
Double_t  ymean,
Double_t  ywidth,
Double_t  zmean,
Double_t  zwidth 
)
inline

Set disk cartesian displacement parameters.

Definition at line 197 of file GeometryMisAligner.h.

◆ SetHalfAngMisAlig()

void o2::mft::GeometryMisAligner::SetHalfAngMisAlig ( Double_t  xmean,
Double_t  xwidth,
Double_t  ymean,
Double_t  ywidth,
Double_t  zmean,
Double_t  zwidth 
)
inline

Set half cartesian displacement parameters.

Definition at line 186 of file GeometryMisAligner.h.

◆ SetHalfCartMisAlig()

void o2::mft::GeometryMisAligner::SetHalfCartMisAlig ( Double_t  xmean,
Double_t  xwidth,
Double_t  ymean,
Double_t  ywidth,
Double_t  zmean,
Double_t  zwidth 
)
inline

Set half cartesian displacement parameters.

Definition at line 175 of file GeometryMisAligner.h.

◆ SetLadderAngMisAlig()

void o2::mft::GeometryMisAligner::SetLadderAngMisAlig ( Double_t  xmean,
Double_t  xwidth,
Double_t  ymean,
Double_t  ywidth,
Double_t  zmean,
Double_t  zwidth 
)
inline

Set ladder angular displacement.

Definition at line 130 of file GeometryMisAligner.h.

◆ SetLadderCartMisAlig() [1/2]

void o2::mft::GeometryMisAligner::SetLadderCartMisAlig ( Double_t  mean,
Double_t  width 
)
inline

Set ladder cartesian displacement parameters, the same along x, y.

Definition at line 121 of file GeometryMisAligner.h.

◆ SetLadderCartMisAlig() [2/2]

void o2::mft::GeometryMisAligner::SetLadderCartMisAlig ( Double_t  xmean,
Double_t  xwidth,
Double_t  ymean,
Double_t  ywidth,
Double_t  zmean,
Double_t  zwidth 
)
inline

Set sensor cartesian displacement parameters different along x, y.

Definition at line 110 of file GeometryMisAligner.h.

◆ SetMaxLadderAngMisAlig()

void o2::mft::GeometryMisAligner::SetMaxLadderAngMisAlig ( Double_t  width)
inline

Set angular displacement for ladder (Kept for backward compatibility)

Definition at line 150 of file GeometryMisAligner.h.

◆ SetMaxLadderCartMisAlig()

void o2::mft::GeometryMisAligner::SetMaxLadderCartMisAlig ( Double_t  width)
inline

Set cartesian displacement for ladder (Kept for backward compatibility)

Definition at line 141 of file GeometryMisAligner.h.

◆ SetMaxSensorAngMisAlig()

void o2::mft::GeometryMisAligner::SetMaxSensorAngMisAlig ( Double_t  width)
inline

Set sensor angular displacement (Kept for backward compatibility)

Definition at line 103 of file GeometryMisAligner.h.

◆ SetMaxSensorCartMisAlig()

void o2::mft::GeometryMisAligner::SetMaxSensorCartMisAlig ( Double_t  width)
inline

Set sensor cartesian displacement (Kept for backward compatibility)

Definition at line 94 of file GeometryMisAligner.h.

◆ SetSensorAngMisAlig()

void o2::mft::GeometryMisAligner::SetSensorAngMisAlig ( Double_t  xmean,
Double_t  xwidth,
Double_t  ymean,
Double_t  ywidth,
Double_t  zmean,
Double_t  zwidth 
)
inline

Set sensor angular displacement.

Definition at line 83 of file GeometryMisAligner.h.

◆ SetSensorCartMisAlig() [1/2]

void o2::mft::GeometryMisAligner::SetSensorCartMisAlig ( Double_t  mean,
Double_t  width 
)
inline

Set sensor cartesian displacement parameters, the same along x, y.

Definition at line 74 of file GeometryMisAligner.h.

◆ SetSensorCartMisAlig() [2/2]

void o2::mft::GeometryMisAligner::SetSensorCartMisAlig ( Double_t  xmean,
Double_t  xwidth,
Double_t  ymean,
Double_t  ywidth,
Double_t  zmean,
Double_t  zwidth 
)
inline

Set sensor cartesian displacement parameters different along x, y.

Definition at line 63 of file GeometryMisAligner.h.

◆ SetUseGaus()

void o2::mft::GeometryMisAligner::SetUseGaus ( Bool_t  usegaus)
inline

Set option for gaussian distribution.

Definition at line 161 of file GeometryMisAligner.h.

◆ SetUseUni()

void o2::mft::GeometryMisAligner::SetUseUni ( Bool_t  useuni)
inline

Set option for uniform distribution.

Definition at line 168 of file GeometryMisAligner.h.

◆ SetXYAngMisAligFactor()

void GeometryMisAligner::SetXYAngMisAligFactor ( Double_t  factor)

Set XY angular misalign factor

Definition at line 171 of file GeometryMisAligner.cxx.

◆ SetZCartMisAligFactor()

void GeometryMisAligner::SetZCartMisAligFactor ( Double_t  factor)

Set XY angular misalign factor

Definition at line 187 of file GeometryMisAligner.cxx.

Member Data Documentation

◆ mGeometryTGeo

GeometryTGeo* o2::mft::GeometryMisAligner::mGeometryTGeo

Definition at line 55 of file GeometryMisAligner.h.


The documentation for this class was generated from the following files: