AliRoot Core  3dc7879 (3dc7879)
MakeLookup.C File Reference
#include "THnSparse.h"
#include "TLatex.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TSystem.h"
#include "TFile.h"
#include "TChain.h"
#include "TCut.h"
#include "TH3.h"
#include "TProfile3D.h"
#include "TMath.h"
#include "TVectorD.h"
#include "TMatrixD.h"
#include "TStatToolkit.h"
#include "TTreeStream.h"
#include "AliExternalTrackParam.h"
#include "AliESDfriend.h"
#include "AliTPCcalibTime.h"
#include "TROOT.h"
#include "AliXRDPROOFtoolkit.h"
#include "AliTPCCorrection.h"
#include "AliTPCExBTwist.h"
#include "AliTPCGGVoltError.h"
#include "AliTPCComposedCorrection.h"
#include "AliTPCExBConical.h"
#include "TPostScript.h"
#include "TStyle.h"
#include "AliTrackerBase.h"
#include "AliTPCCalibGlobalMisalignment.h"
#include "AliTPCExBEffective.h"
#include "AliTPCExBBShape.h"
Include dependency graph for MakeLookup.C:

Go to the source code of this file.

Functions

void MakeLookup (Int_t run, Int_t mode)
 
void FitLookup (TChain *chainIn, const char *prefix, TVectorD &vecA, TVectorD &vecC, TVectorD &vecStatA, TVectorD &vecStatD, TCut cut, TObjArray *picArray)
 
void MakeFits (Int_t run)
 
void MakeFitTree ()
 
void DrawDistortionDy (TCut cutUser="", Double_t ymin=-0.6, Double_t ymax=0.6)
 
void DrawDistortionMaps (const char *fname="mean.root")
 
TCanvas * DrawDistortionMaps (TTree *treedy, TTree *treedsnp, TTree *treed1Pt, const char *name, const char *title)
 
AliTPCComposedCorrectionMakeComposedCorrection ()
 
void MakeLaserTree ()
 
void AddEffectiveCorrection (AliTPCComposedCorrection *comp)
 
void MakeGlobalFit ()
 
void MakeGlobalFitRelative (Int_t highFrequency=0)
 

Variables

TChain * chain =0
 

Detailed Description

Make lookup of distortion TPC distortion +(ITS and TRD) Input: Residual histograms obtained in the AliTPCcalibTime Residual histograms:

  1. TPC-ITS - entrance of the TPC
  2. TPC-ITS - at the vertex
  3. TPC-TRD - outer wall of the TPC Histogram binning:
  1. Theta - fP3
  2. Phi - global phi at the entrance (case 1,2) and at the outer wall of TPC (case 3)
  3. snp(phi) - fP2 - local inclination angle at reference X Output value: Mean residuals, rms and number of entries in each bing

Definition in file MakeLookup.C.

Function Documentation

void AddEffectiveCorrection ( AliTPCComposedCorrection comp)

Definition at line 906 of file MakeLookup.C.

Referenced by MakeComposedCorrection().

void DrawDistortionDy ( TCut  cutUser = "",
Double_t  ymin = -0.6,
Double_t  ymax = 0.6 
)

Definition at line 311 of file MakeLookup.C.

Referenced by MakeLookup().

void DrawDistortionMaps ( const char *  fname = "mean.root")

Definition at line 730 of file MakeLookup.C.

Referenced by MakeLookup().

TCanvas * DrawDistortionMaps ( TTree *  treedy,
TTree *  treedsnp,
TTree *  treed1Pt,
const char *  name,
const char *  title 
)

Definition at line 763 of file MakeLookup.C.

void FitLookup ( TChain *  chainIn,
const char *  prefix,
TVectorD &  vecA,
TVectorD &  vecC,
TVectorD &  vecStatA,
TVectorD &  vecStatD,
TCut  cut,
TObjArray picArray 
)

TCut cut="entries>100&&rms>0";

Definition at line 224 of file MakeLookup.C.

Referenced by MakeFits().

AliTPCComposedCorrection * MakeComposedCorrection ( )

Definition at line 831 of file MakeLookup.C.

Referenced by MakeFitTree(), and MakeLaserTree().

void MakeFits ( Int_t  run)

Make the fits of distortion store fit results and QA pictures in the file distortFit.root

Definition at line 156 of file MakeLookup.C.

Referenced by MakeLookup().

void MakeFitTree ( )
  1. Initialize ocdb e.g .x $ALICE_ROOT/ANALYSIS/CalibMacros/Pass0/ConfigCalibTrain.C(114972,) .x $ALICE_ROOT/ANALYSIS/CalibMacros/Pass0/ConfigCalibTrain.C(114972,"local:///lustre/alice/alien/alice/data/2010/OCDB")

Definition at line 456 of file MakeLookup.C.

Referenced by MakeLookup().

void MakeGlobalFit ( )

Definition at line 523 of file MakeLookup.C.

void MakeGlobalFitRelative ( Int_t  highFrequency = 0)

Make a global fit of ExB To get rid of the misalignment errors - Use relative change of deltas for 2 different filed settings

Definition at line 560 of file MakeLookup.C.

void MakeLaserTree ( )

Definition at line 953 of file MakeLookup.C.

Referenced by MakeLookup().

void MakeLookup ( Int_t  run,
Int_t  mode 
)

make a lookup tree with mean values

  1. make laser tree

Definition at line 92 of file MakeLookup.C.

Variable Documentation

TChain* chain =0

Definition at line 79 of file MakeLookup.C.

Referenced by MakeGlobalFit().