AliRoot Core  edcc906 (edcc906)
CalibLaserExBscan.C File Reference

Go to the source code of this file.

Functions

void Init ()
 
void MakeAliases ()
 
TMatrixDMakeErrVector (TMatrixD &mat)
 
void MakeFit (Int_t i, TCut cutI, TString aName)
 
void MakeFitDy ()
 
void DrawPhi ()
 
void MakeGraphs ()
 
void DumpFit ()
 
void MakeFitPic ()
 

Variables

TCut cutE ="eY.fElements<0.02&&Rr.eY.fElements<0.02"
 
TCut cutN ="nCl.fElements>10&&Rr.nCl.fElements>10"
 
TCut cutEd ="(abs(Rr.Y.fElements)-Rr.X.fElements*0.155<-1)"
 
TCut cutB ="LTr.fVecLX.fElements>0"
 
TCut cutR ="(LTr.fVecLX.fElements%3)==1&&((abs(LTr.fVecLZ.fElements)+abs(LTr.fVecLY.fElements))%3)==1"
 
TCut cutA =cutE+cutN+cutEd+cutB
 
TCut cutAM5 =cutA+"LTr.fP[1]>0&&abs(bz+5)<0.1"
 
TCut cutAP2 =cutA+"LTr.fP[1]>0&&abs(bz-2)<0.1"
 
TCut cutAP5 =cutA+"LTr.fP[1]>0&&abs(bz-5)<0.1"
 
TCut cutCM5 =cutA+"LTr.fP[1]<0&&abs(bz+5)<0.1"
 
TCut cutCP2 =cutA+"LTr.fP[1]<0&&abs(bz-2)<0.1"
 
TCut cutCP5 =cutA+"LTr.fP[1]<0&&abs(bz-5)<0.1"
 
TChain * chain =0
 
TVectorD fitParamB [6]
 
TVectorD fitParamBT [6]
 
TVectorD fitParamBT0 [6]
 
TVectorD fitParamA [6]
 
TMatrixD covarB [6]
 
TMatrixD covarBT [6]
 
TMatrixD covarBT0 [6]
 
TMatrixD covarA [6]
 
TMatrixDerrB [6]
 
TMatrixDerrBT [6]
 
TMatrixDerrBT0 [6]
 
TMatrixDerrA [6]
 
Double_t chi2B [6]
 
Double_t chi2BT [6]
 
Double_t chi2BT0 [6]
 
Double_t chi2A [6]
 

Detailed Description

.x ~/rootlogon.C
.L $ALICE_ROOT/TPC/CalibMacros/CalibLaserExBscan.C

0. Make a calibration

  1. Make a laser scan list e.g in TPC workscape
  2. Define a reference data e.g:
    for a in `cat laserScan.txt`; do echo `pwd`/../mergerunMag0.list/laserMean.root; done >laserScanRef.txt
Init(); // init chain
MakeAliases(); // make alaises for variables

Definition in file CalibLaserExBscan.C.

Function Documentation

void DrawPhi ( )

Definition at line 234 of file CalibLaserExBscan.C.

void DumpFit ( )

Definition at line 289 of file CalibLaserExBscan.C.

Referenced by MakeFitDy().

void Init ( )

Definition at line 61 of file CalibLaserExBscan.C.

void MakeAliases ( )

shortcuts for variables to fit

bserved distrotions

Definition at line 79 of file CalibLaserExBscan.C.

TMatrixD* MakeErrVector ( TMatrixD mat)

get error vector

Definition at line 108 of file CalibLaserExBscan.C.

Referenced by MakeFit().

void MakeFit ( Int_t  i,
TCut  cutI,
TString  aName 
)

Definition at line 118 of file CalibLaserExBscan.C.

Referenced by MakeFitDy().

void MakeFitDy ( )

Definition at line 219 of file CalibLaserExBscan.C.

void MakeFitPic ( )

Definition at line 318 of file CalibLaserExBscan.C.

void MakeGraphs ( )

Definition at line 256 of file CalibLaserExBscan.C.

Variable Documentation

Double_t chi2A[6]

Definition at line 58 of file CalibLaserExBscan.C.

Referenced by AliTPCCalibCE::CalculateDV(), FitLookup(), FitRodShift(), and MakeFit().

Double_t chi2B[6]

Definition at line 55 of file CalibLaserExBscan.C.

Referenced by MakeFit().

Double_t chi2BT[6]

Definition at line 56 of file CalibLaserExBscan.C.

Referenced by MakeFit().

Double_t chi2BT0[6]

Definition at line 57 of file CalibLaserExBscan.C.

Referenced by MakeFit().

TMatrixD covarA[6]

Definition at line 48 of file CalibLaserExBscan.C.

Referenced by FitRodShift(), and MakeFit().

TMatrixD covarB[6]

Definition at line 45 of file CalibLaserExBscan.C.

Referenced by MakeFit().

TMatrixD covarBT[6]

Definition at line 46 of file CalibLaserExBscan.C.

Referenced by MakeFit().

TMatrixD covarBT0[6]

Definition at line 47 of file CalibLaserExBscan.C.

Referenced by MakeFit().

TCut cutA =cutE+cutN+cutEd+cutB
TCut cutAM5 =cutA+"LTr.fP[1]>0&&abs(bz+5)<0.1"

Definition at line 29 of file CalibLaserExBscan.C.

Referenced by DrawPhi(), and MakeFitDy().

TCut cutAP2 =cutA+"LTr.fP[1]>0&&abs(bz-2)<0.1"

Definition at line 30 of file CalibLaserExBscan.C.

Referenced by DrawPhi(), and MakeFitDy().

TCut cutAP5 =cutA+"LTr.fP[1]>0&&abs(bz-5)<0.1"

Definition at line 31 of file CalibLaserExBscan.C.

Referenced by DrawPhi(), and MakeFitDy().

TCut cutB ="LTr.fVecLX.fElements>0"

Definition at line 25 of file CalibLaserExBscan.C.

Referenced by DrawFitLaser().

TCut cutCM5 =cutA+"LTr.fP[1]<0&&abs(bz+5)<0.1"

Definition at line 33 of file CalibLaserExBscan.C.

Referenced by MakeFitDy().

TCut cutCP2 =cutA+"LTr.fP[1]<0&&abs(bz-2)<0.1"

Definition at line 34 of file CalibLaserExBscan.C.

Referenced by MakeFitDy().

TCut cutCP5 =cutA+"LTr.fP[1]<0&&abs(bz-5)<0.1"

Definition at line 35 of file CalibLaserExBscan.C.

TCut cutE ="eY.fElements<0.02&&Rr.eY.fElements<0.02"

Definition at line 22 of file CalibLaserExBscan.C.

TCut cutEd ="(abs(Rr.Y.fElements)-Rr.X.fElements*0.155<-1)"

Definition at line 24 of file CalibLaserExBscan.C.

TCut cutN ="nCl.fElements>10&&Rr.nCl.fElements>10"

Definition at line 23 of file CalibLaserExBscan.C.

Referenced by TestChainCosmicDedx().

TCut cutR ="(LTr.fVecLX.fElements%3)==1&&((abs(LTr.fVecLZ.fElements)+abs(LTr.fVecLY.fElements))%3)==1"

Definition at line 26 of file CalibLaserExBscan.C.

Referenced by MakeFit().

TMatrixD* errA[6]

Definition at line 53 of file CalibLaserExBscan.C.

Referenced by DumpFit(), and MakeFit().

TMatrixD* errB[6]

Definition at line 50 of file CalibLaserExBscan.C.

Referenced by DumpFit(), and MakeFit().

TMatrixD* errBT[6]

Definition at line 51 of file CalibLaserExBscan.C.

Referenced by DumpFit(), and MakeFit().

TMatrixD* errBT0[6]

Definition at line 52 of file CalibLaserExBscan.C.

Referenced by DumpFit(), and MakeFit().

TVectorD fitParamA[6]

Definition at line 43 of file CalibLaserExBscan.C.

Referenced by DumpFit(), and MakeFit().

TVectorD fitParamB[6]

Definition at line 40 of file CalibLaserExBscan.C.

Referenced by DumpFit(), MakeFit(), and MakeGraphs().

TVectorD fitParamBT[6]

Definition at line 41 of file CalibLaserExBscan.C.

Referenced by DumpFit(), MakeFit(), and MakeGraphs().

TVectorD fitParamBT0[6]

Definition at line 42 of file CalibLaserExBscan.C.

Referenced by DumpFit(), MakeFit(), and MakeGraphs().