AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MUONSurveyCh4.C File Reference

Macro to process survey and photogrammetry data of chamber 4. More...

#include "AliMUONGeometryTransformer.h"
#include "AliMUONGeometryModuleTransformer.h"
#include "AliMUONGeometryDetElement.h"
#include "AliMUONGeometryMisAligner.h"
#include "AliMUONSurveyChamber.h"
#include "AliMUONSurveyDetElem.h"
#include "AliMUONSurveyUtil.h"
#include "AliSurveyObj.h"
#include "AliSurveyPoint.h"
#include "AliGeomManager.h"
#include "AliCDBManager.h"
#include "AliCDBMetaData.h"
#include "AliCDBId.h"
#include "AliAlignObjMatrix.h"
#include "AliAlignObj.h"
#include <TROOT.h>
#include <TGeoManager.h>
#include <TClonesArray.h>
#include <TObjArray.h>
#include <TArrayD.h>
#include <TMath.h>
#include <TString.h>
#include <TFitter.h>
#include <TH2.h>
#include <TF2.h>
#include <TGraphErrors.h>
#include <TCanvas.h>
#include <TPad.h>
#include <TLine.h>
#include <TPostScript.h>
#include <TPaveLabel.h>
#include <TStyle.h>
#include <TFile.h>
#include <TMatrixDSym.h>
#include <fstream>
Include dependency graph for MUONSurveyCh4.C:

Go to the source code of this file.

Functions

void MUONSurveyCh4 ()
 

Detailed Description

Macro to process survey and photogrammetry data of chamber 4.

Macro loads the survey data from .txt file using AliSurveyObj. Macro uses AliMUONSurvey... classes. The transformations of the detection elements or chambers can be obtained in three ways:

  • A: Fit of local to global transformation using the fixed button targets.
  • B: Fit a plane to the sticker targets -> psi, theta Use above psi and theta and fit remaining 4 parameters using the fixed button targets
  • C: Fit a plane to the sticker targets -> psi, theta Use above psi and theta to calculate xc, yc, zc and phi by solving the equations from a local to global transformation of the fixed button targets

Methods A and B are prefered to C, and B is better if sticker targets are available and lie on a plane! For slats only methods B and C can be used. Various histograms are filled and printed for monitoring. MisAlignment object is then created.

Author
Javier Castillo

Definition in file MUONSurveyCh4.C.

Function Documentation

void MUONSurveyCh4 ( )

Definition at line 86 of file MUONSurveyCh4.C.