AliRoot Core  3dc7879 (3dc7879)
MUONSurveyUtil.C File Reference

Utility macro for survey data to alignment transformation. More...

#include "AliMUONGeometryTransformer.h"
#include "AliMUONGeometryMisAligner.h"
#include "AliMUONGeometryModuleTransformer.h"
#include "AliMUONGeometryDetElement.h"
#include "AliMUONGeometryBuilder.h"
#include "AliMpExMap.h"
#include "AliMpExMapIterator.h"
#include "AliGeomManager.h"
#include "AliCDBManager.h"
#include "AliCDBMetaData.h"
#include "AliCDBId.h"
#include <TGeoManager.h>
#include <TClonesArray.h>
#include <TMath.h>
#include <TString.h>
#include <Riostream.h>
#include <fstream>
Include dependency graph for MUONSurveyUtil.C:

Go to the source code of this file.

Functions

Bool_t MatrixToAngles (const Double_t *rot, Double_t *angles)
 
Double_t eqPlane (Double_t *x, Double_t *par)
 
Double_t xpCenter (Double_t *x, Double_t *par)
 
Double_t xnCenter (Double_t *x, Double_t *par)
 
Double_t phixpn (Double_t *x, Double_t *par)
 
Double_t phixpp (Double_t *x, Double_t *par)
 
Double_t phixnn (Double_t *x, Double_t *par)
 
Double_t phixnp (Double_t *x, Double_t *par)
 
Double_t ypCenter (Double_t *x, Double_t *par)
 
Double_t phiypn (Double_t *x, Double_t *par)
 
Double_t phiypp (Double_t *x, Double_t *par)
 
Double_t ynCenter (Double_t *x, Double_t *par)
 
Double_t phiynn (Double_t *x, Double_t *par)
 
Double_t phiynp (Double_t *x, Double_t *par)
 
Double_t znCenter (Double_t *x, Double_t *par)
 
Double_t zpCenter (Double_t *x, Double_t *par)
 
AliMUONGeometryTransformerReAlign (const AliMUONGeometryTransformer *transformer, int rMod, TGeoCombiTrans deltaDetElemTransf[], Bool_t verbose)
 

Variables

static int fgNDetElemCh [10] = {4,4,4,4,18,18,26,26,26,26}
 

Detailed Description

Utility macro for survey data to alignment transformation.

Macro 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 AliMUONGeometryTransformer. It is intended to be loaded by chamber specific macros.

Author
Javier Castillo

Definition in file MUONSurveyUtil.C.

Function Documentation

Double_t eqPlane ( Double_t *  x,
Double_t *  par 
)

Definition at line 74 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Bool_t MatrixToAngles ( const Double_t *  rot,
Double_t *  angles 
)

Definition at line 55 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t phixnn ( Double_t *  x,
Double_t *  par 
)

Definition at line 177 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t phixnp ( Double_t *  x,
Double_t *  par 
)

Definition at line 199 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t phixpn ( Double_t *  x,
Double_t *  par 
)

Definition at line 133 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t phixpp ( Double_t *  x,
Double_t *  par 
)

Definition at line 155 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t phiynn ( Double_t *  x,
Double_t *  par 
)

Definition at line 352 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t phiynp ( Double_t *  x,
Double_t *  par 
)

Definition at line 389 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t phiypn ( Double_t *  x,
Double_t *  par 
)

Definition at line 250 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t phiypp ( Double_t *  x,
Double_t *  par 
)

Definition at line 287 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

AliMUONGeometryTransformer* ReAlign ( const AliMUONGeometryTransformer transformer,
int  rMod,
TGeoCombiTrans  deltaDetElemTransf[],
Bool_t  verbose 
)

make a new detection element

Definition at line 504 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L(), and AliMUONAlignment::SetParameterNonLinear().

Double_t xnCenter ( Double_t *  x,
Double_t *  par 
)

Definition at line 106 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t xpCenter ( Double_t *  x,
Double_t *  par 
)

Definition at line 78 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t ynCenter ( Double_t *  x,
Double_t *  par 
)

Definition at line 322 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t ypCenter ( Double_t *  x,
Double_t *  par 
)

Definition at line 221 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t znCenter ( Double_t *  x,
Double_t *  par 
)

Definition at line 425 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Double_t zpCenter ( Double_t *  x,
Double_t *  par 
)

Definition at line 464 of file MUONSurveyUtil.C.

Referenced by MUONSurveyCh8L().

Variable Documentation

int fgNDetElemCh[10] = {4,4,4,4,18,18,26,26,26,26}
static

Definition at line 53 of file MUONSurveyUtil.C.

Referenced by ReAlign().