AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONSurveyUtil Class Reference

Utility class for survey of muon spectrometer. More...

#include <AliMUONSurveyUtil.h>

Inheritance diagram for AliMUONSurveyUtil:

Public Member Functions

virtual ~AliMUONSurveyUtil ()
 Destructor. More...
 
Double_t XpCenter (const Double_t *x, const Double_t *par) const
 
Double_t XnCenter (const Double_t *x, const Double_t *par) const
 
Double_t YpCenter (const Double_t *x, const Double_t *par) const
 
Double_t YnCenter (const Double_t *x, const Double_t *par) const
 
Double_t ZpCenter (const Double_t *x, const Double_t *par) const
 
Double_t ZnCenter (const Double_t *x, const Double_t *par) const
 
Double_t PhiXpp (const Double_t *x, const Double_t *par) const
 
Double_t PhiXpn (const Double_t *x, const Double_t *par) const
 
Double_t PhiXnp (const Double_t *x, const Double_t *par) const
 
Double_t PhiXnn (const Double_t *x, const Double_t *par) const
 
Double_t PhiYpp (const Double_t *x, const Double_t *par) const
 
Double_t PhiYpn (const Double_t *x, const Double_t *par) const
 
Double_t PhiYnp (const Double_t *x, const Double_t *par) const
 
Double_t PhiYnn (const Double_t *x, const Double_t *par) const
 

Static Public Member Functions

static AliMUONSurveyUtilInstance ()
 
static Bool_t MatrixToAngles (const Double_t *rot, Double_t *angles)
 
static void AnglesToMatrix (const Double_t *angles, Double_t *rot)
 
static AliMUONGeometryTransformerReAlign (const AliMUONGeometryTransformer *transformer, int rMod, int rNDetElems, int rDetElemToDetElemId[], TGeoCombiTrans deltaDetElemTransf[], Bool_t verbose)
 
static void SetAlignmentResolution (const TClonesArray *misAlignArray, Int_t chId, Double_t chResX, Double_t chResY, Double_t deResX, Double_t deResY)
 

Protected Member Functions

 AliMUONSurveyUtil ()
 Default constructor. More...
 

Private Member Functions

 AliMUONSurveyUtil (const AliMUONSurveyUtil &right)
 Not implemented. More...
 
AliMUONSurveyUtiloperator= (const AliMUONSurveyUtil &right)
 Not implemented. More...
 

Static Private Attributes

static int fgNDetElemCh [10] = {4,4,4,4,18,18,26,26,26,26}
 Numbers of detection elements per chamber. More...
 
static AliMUONSurveyUtilfgInstance
 Singleton instance. More...
 

Detailed Description

Utility class for survey of muon spectrometer.

Singleton utility class for the survey processing of the ALICE DiMuon spectrometer

This class contains various functions to calculate misalignement parameters from survey data and designed positions of survey targets. Macro also includes a method to get the new AliMUONGeometryTranformer.

Author
Javier Castillo

Definition at line 16 of file AliMUONSurveyUtil.h.

Constructor & Destructor Documentation

AliMUONSurveyUtil::~AliMUONSurveyUtil ( )
virtual

Destructor.

Definition at line 49 of file AliMUONSurveyUtil.cxx.

AliMUONSurveyUtil::AliMUONSurveyUtil ( )
inlineprotected

Default constructor.

Definition at line 50 of file AliMUONSurveyUtil.h.

Referenced by Instance().

AliMUONSurveyUtil::AliMUONSurveyUtil ( const AliMUONSurveyUtil right)
private

Not implemented.

Member Function Documentation

void AliMUONSurveyUtil::AnglesToMatrix ( const Double_t *  angles,
Double_t *  rot 
)
static

Calculates the rotation matrix using the Euler angles in "x y z" notation

Definition at line 81 of file AliMUONSurveyUtil.cxx.

AliMUONSurveyUtil * AliMUONSurveyUtil::Instance ( )
static

Return its instance

Definition at line 54 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Bool_t AliMUONSurveyUtil::MatrixToAngles ( const Double_t *  rot,
Double_t *  angles 
)
static

Calculates the Euler angles in "x y z" notation using the rotation matrix Returns false in case the rotation angles can not be

Definition at line 62 of file AliMUONSurveyUtil.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), MUONSurveyCh5(), AliMUONSurveyObj::PrintAlignTrf(), and AliMUONSurveyObj::PrintLocalTrf().

AliMUONSurveyUtil& AliMUONSurveyUtil::operator= ( const AliMUONSurveyUtil right)
private

Not implemented.

Double_t AliMUONSurveyUtil::PhiXnn ( const Double_t *  x,
const Double_t *  par 
) const

Returns phi rot. using x coord. of 2 button targets. – solution.

Definition at line 213 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::PhiXnp ( const Double_t *  x,
const Double_t *  par 
) const

Returns phi rot. using x coord. of 2 button targets. +- solution.

Definition at line 237 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::PhiXpn ( const Double_t *  x,
const Double_t *  par 
) const

Returns phi rot. using x coord. of 2 button targets. +- solution.

Definition at line 165 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::PhiXpp ( const Double_t *  x,
const Double_t *  par 
) const

Returns phi rot. using x coord. of 2 button targets. ++ solution.

Definition at line 189 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::PhiYnn ( const Double_t *  x,
const Double_t *  par 
) const

Returns phi rot. using y coord. of 2 button targets. – solution.

Definition at line 395 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::PhiYnp ( const Double_t *  x,
const Double_t *  par 
) const

Returns phi rot. using y coord. of 2 button targets. -+ solution.

Definition at line 433 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::PhiYpn ( const Double_t *  x,
const Double_t *  par 
) const

Returns phi rot. using y coord. of 2 button targets. +- solution.

Definition at line 291 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::PhiYpp ( const Double_t *  x,
const Double_t *  par 
) const

Returns phi rot. using y coord. of 2 button targets. ++ solution.

Definition at line 329 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

AliMUONGeometryTransformer * AliMUONSurveyUtil::ReAlign ( const AliMUONGeometryTransformer transformer,
int  rMod,
int  rNDetElems,
int  rDetElemToDetElemId[],
TGeoCombiTrans  deltaDetElemTransf[],
Bool_t  verbose 
)
static

Takes the internal geometry module transformers, copies them and gets the Detection Elements from them. Takes misalignment parameters and applies these to the local transform of the Detection Element Obtains the global transform by multiplying the module transformer transformation with the local transformation Applies the global transform to a new detection element Adds the new detection element to a new module transformer Adds the new module transformer to a new geometry transformer Returns the new geometry transformer

make a new detection element

Definition at line 555 of file AliMUONSurveyUtil.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

void AliMUONSurveyUtil::SetAlignmentResolution ( const TClonesArray *  misAlignArray,
Int_t  chId,
Double_t  chResX,
Double_t  chResY,
Double_t  deResX,
Double_t  deResY 
)
static

Sets the alignment resolution to the AliAlignObjMatrix correlation matrix

Definition at line 668 of file AliMUONSurveyUtil.cxx.

Referenced by MUONSurveyCh1(), MUONSurveyCh2(), MUONSurveyCh3(), MUONSurveyCh4(), and MUONSurveyCh5().

Double_t AliMUONSurveyUtil::XnCenter ( const Double_t *  x,
const Double_t *  par 
) const

Returns center x position using x coord. of 2 button targets. - solution.

Definition at line 136 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::XpCenter ( const Double_t *  x,
const Double_t *  par 
) const

Returns center x position using x coord. of 2 button targets. + solution.

Definition at line 106 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::YnCenter ( const Double_t *  x,
const Double_t *  par 
) const

Returns center y position using y coord. of 2 button targets. - solution.

Definition at line 365 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::YpCenter ( const Double_t *  x,
const Double_t *  par 
) const

Returns center y position using y coord. of 2 button targets. + solution.

Definition at line 261 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::ZnCenter ( const Double_t *  x,
const Double_t *  par 
) const

Returns center z position using z coord. of 2 button targets. - solution.

Definition at line 470 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Double_t AliMUONSurveyUtil::ZpCenter ( const Double_t *  x,
const Double_t *  par 
) const

Returns center z position using z coord. of 2 button targets. + solution.

Definition at line 512 of file AliMUONSurveyUtil.cxx.

Referenced by AliMUONSurveyObj::CalculateBestTransf().

Member Data Documentation

AliMUONSurveyUtil * AliMUONSurveyUtil::fgInstance
staticprivate

Singleton instance.

Definition at line 60 of file AliMUONSurveyUtil.h.

Referenced by Instance(), and ~AliMUONSurveyUtil().

int AliMUONSurveyUtil::fgNDetElemCh = {4,4,4,4,18,18,26,26,26,26}
staticprivate

Numbers of detection elements per chamber.

Definition at line 59 of file AliMUONSurveyUtil.h.


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