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

TPC cluster error, shape and charge parameterization as function of drift length and inclination angle. More...

#include <AliTPCClusterParam.h>

Inheritance diagram for AliTPCClusterParam:

Public Member Functions

 AliTPCClusterParam ()
 
 AliTPCClusterParam (const AliTPCClusterParam &param)
 
AliTPCClusterParamoperator= (const AliTPCClusterParam &param)
 
virtual ~AliTPCClusterParam ()
 
virtual void Print (Option_t *option="") const
 
void SetInstance (AliTPCClusterParam *const param)
 
void FitData (TTree *tree)
 
void FitResol (TTree *tree)
 
void FitRMS (TTree *tree)
 
void SetQnorm (Int_t ipad, Int_t itype, const TVectorD *const norm)
 
void SetQnormCorr (Int_t ipad, Int_t itype, Int_t corrType, Float_t val, Int_t mode=1)
 
Double_t GetQnormCorr (Int_t ipad, Int_t itype, Int_t corrType) const
 
TMatrixD * GetQnormCorrMatrix ()
 
void ResetQnormCorr ()
 
void SetWaveCorrectionMap (THnBase *WaveCorrectionMap)
 
void SetResolutionYMap (THnBase *ResolutionYMap)
 
Float_t Qnorm (Int_t ipad, Int_t itype, Float_t dr, Float_t ty, Float_t tz)
 
Float_t QnormHis (Int_t ipad, Int_t itype, Float_t dr, Float_t ty, Float_t tz)
 
Float_t QnormPos (Int_t ipad, Bool_t isMax, Float_t pad, Float_t time, Float_t z, Float_t sy2, Float_t sz2, Float_t qm, Float_t qt)
 
Float_t PosCorrection (Int_t type, Int_t ipad, Float_t pad, Float_t time, Float_t z, Float_t sy2, Float_t sz2, Float_t qm)
 
Float_t GetError0 (Int_t dim, Int_t type, Float_t z, Float_t angle) const
 
Float_t GetError0Par (Int_t dim, Int_t type, Float_t z, Float_t angle) const
 
Float_t GetError1 (Int_t dim, Int_t type, Float_t z, Float_t angle) const
 
Float_t GetErrorQ (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean) const
 
Float_t GetErrorQPar (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean) const
 
Float_t GetErrorQParScaled (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean) const
 
Float_t GetRMS0 (Int_t dim, Int_t type, Float_t z, Float_t angle) const
 
Float_t GetRMS1 (Int_t dim, Int_t type, Float_t z, Float_t angle) const
 
Float_t GetRMSQ (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean) const
 
Float_t GetRMSSigma (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean) const
 
Float_t GetShapeFactor (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean, Float_t rmsL, Float_t rmsM) const
 
const THnBase * GetWaveCorrectionMap () const
 
const THnBase * GetResolutionYMap () const
 
Float_t GetWaveCorrection (Int_t Type, Float_t Z, Int_t QMax, Float_t Pad, Float_t angleY) const
 
void Test (TTree *tree, const char *output="TestClusterParam.root")
 
void FitResol0 (TTree *tree, Int_t dim, Int_t type, Float_t *param0, Float_t *error)
 
void FitResol0Par (TTree *tree, Int_t dim, Int_t type, Float_t *param0, Float_t *error)
 
void FitResol1 (TTree *tree, Int_t dim, Float_t *param0, Float_t *error)
 
void FitResolQ (TTree *tree, Int_t dim, Int_t type, Float_t *param0, Float_t *error)
 
void FitResolQPar (TTree *tree, Int_t dim, Int_t type, Float_t *param0, Float_t *error)
 
void FitRMS0 (TTree *tree, Int_t dim, Int_t type, Float_t *param0, Float_t *error)
 
void FitRMS1 (TTree *tree, Int_t dim, Float_t *param0, Float_t *error)
 
void FitRMSQ (TTree *tree, Int_t dim, Int_t type, Float_t *param0, Float_t *error)
 
void FitRMSSigma (TTree *tree, Int_t dim, Int_t type, Float_t *param0, Float_t *error)
 
TVectorD *& PosYcor (Int_t ind)
 
TVectorD *& PosZcor (Int_t ind)
 
Float_t ParamS0Par (Int_t i, Int_t j, Int_t k) const
 
TVectorD * QpadTnorm () const
 
TVectorD * QpadMnorm () const
 

Static Public Member Functions

static AliTPCClusterParamInstance ()
 
static Float_t SQnormPos (Int_t ipad, Bool_t isMax, Float_t pad, Float_t time, Float_t z, Float_t sy2, Float_t sz2, Float_t qm, Float_t qt)
 
static Float_t SPosCorrection (Int_t type, Int_t ipad, Float_t pad, Float_t time, Float_t z, Float_t sy2, Float_t sz2, Float_t qm)
 
static Float_t SGetWaveCorrection (Int_t Type, Float_t Z, Int_t QMax, Float_t Pad, Float_t angleY)
 
static Float_t SGetError0 (Int_t dim, Int_t type, Float_t z, Float_t angle)
 
static Float_t SGetError0Par (Int_t dim, Int_t type, Float_t z, Float_t angle)
 
static Float_t SGetError1 (Int_t dim, Int_t type, Float_t z, Float_t angle)
 
static Float_t SGetErrorQ (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean)
 
static Float_t SGetErrorQPar (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean)
 
static Float_t SGetErrorQParScaled (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean)
 
static Float_t SGetRMS0 (Int_t dim, Int_t type, Float_t z, Float_t angle)
 
static Float_t SGetRMS1 (Int_t dim, Int_t type, Float_t z, Float_t angle)
 
static Float_t SGetRMSQ (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean)
 
static Float_t SGetRMSSigma (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean)
 
static Float_t SGetShapeFactor (Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean, Float_t rmsL, Float_t rmsM)
 
static Float_t SQnorm (Int_t ipad, Int_t itype, Float_t dr, Float_t ty, Float_t tz)
 
static Float_t SQnormHis (Int_t ipad, Int_t itype, Float_t dr, Float_t ty, Float_t tz)
 
static Double_t GaussConvolution (Double_t x0, Double_t x1, Double_t k0, Double_t k1, Double_t s0, Double_t s1)
 
static Double_t GaussConvolutionTail (Double_t x0, Double_t x1, Double_t k0, Double_t k1, Double_t s0, Double_t s1, Double_t tau)
 
static Double_t GaussConvolutionGamma4 (Double_t x0, Double_t x1, Double_t k0, Double_t k1, Double_t s0, Double_t s1, Double_t tau)
 
static Double_t QmaxCorrection (Int_t sector, Int_t row, Float_t cpad, Float_t ctime, Float_t ky, Float_t kz, Float_t rmsy0, Float_t rmsz0, Float_t effLength=0, Float_t effDiff=1)
 
static Double_t QtotCorrection (Int_t sector, Int_t row, Float_t cpad, Float_t ctime, Float_t ky, Float_t kz, Float_t rmsy0, Float_t rmsz0, Float_t qtot, Float_t thr, Float_t effLength=0, Float_t effDiff=1)
 

Protected Attributes

Float_t fRatio
 ratio of values constibution to error More...
 
Float_t fParamS0 [2][3][4]
 error parameterization coeficients More...
 
Float_t fErrorS0 [2][3][4]
 error parameterization coeficients More...
 
Float_t fParamS0Par [2][3][7]
 error parameterization coeficients More...
 
Float_t fErrorS0Par [2][3][7]
 error parameterization coeficients More...
 
Float_t fParamSQ [2][3][6]
 error parameterization coeficients More...
 
Float_t fErrorSQ [2][3][6]
 error parameterization coeficients More...
 
Float_t fParamSQPar [2][3][9]
 error parameterization coeficients More...
 
Float_t fErrorSQPar [2][3][9]
 error parameterization coeficients More...
 
Float_t fParamS1 [2][4]
 error parameterization coeficients More...
 
Float_t fErrorS1 [2][4]
 error parameterization coeficients More...
 
Float_t fParamRMS0 [2][3][4]
 shape parameterization coeficients More...
 
Float_t fErrorRMS0 [2][3][4]
 shape parameterization coeficients More...
 
Float_t fParamRMSQ [2][3][6]
 shape parameterization coeficients More...
 
Float_t fErrorRMSQ [2][3][6]
 shape parameterization coeficients More...
 
Float_t fParamRMS1 [2][5]
 shape parameterization coeficients More...
 
Float_t fErrorRMS1 [2][5]
 shape parameterization coeficients More...
 
Float_t fErrorRMSSys [2]
 systematic relative error of the parametererization More...
 
Float_t fRMSSigmaRatio [2][2]
 mean value of the varation of RMS to RMS More...
 
Float_t fRMSSigmaFit [2][3][2]
 mean value of the varation of RMS to RMS More...
 
TObjArrayfQNorm
 q norm paramters More...
 
TMatrixD * fQNormCorr
 q norm correction for analytica correction More...
 
TObjArrayfQNormHis
 q norm correction for analytical correction More...
 
TVectorD * fPosQTnorm [3]
 q position normalization More...
 
TVectorD * fPosQMnorm [3]
 q position normalization More...
 
TVectorD * fQpadTnorm
 q pad normalization - Total charge More...
 
TVectorD * fQpadMnorm
 q pad normalization - Max charge More...
 
TVectorD * fPosYcor [3]
 position correction parameterization More...
 
TVectorD * fPosZcor [3]
 position correction parameterization More...
 
THnBase * fWaveCorrectionMap
 dY with respect to the distance to the center of the pad More...
 
Bool_t fWaveCorrectionMirroredPad
 flag is the cog axis mirrored at 0.5 More...
 
Bool_t fWaveCorrectionMirroredZ
 flag is the Z axis mirrored at 0 More...
 
Bool_t fWaveCorrectionMirroredAngle
 flag is the Angle axis mirrored at 0 More...
 
THnBase * fResolutionYMap
 Map of resolution in Y. More...
 

Static Protected Attributes

static AliTPCClusterParamfgInstance = 0
 

Detailed Description

TPC cluster error, shape and charge parameterization as function of drift length and inclination angle.

TPC cluster error and shape parameterization.

Following notation is used in following Int_t dim 0 - y direction 1 - z direction

Int_t type 0 - short pads 1 - medium pads 2 - long pads Float_t z - drift length

Float_t angle - tangent of inclination angle at given dimension

Implemented parameterization

  1. Resolution as function of drift length and inclination angle 1.a) GetError0(Int_t dim, Int_t type, Float_t z, Float_t angle) Simple error parameterization as derived from analytical formula only linear term in drift length and angle^2 The formula is valid only with precission +-5% Separate parameterization for differnt pad geometry 1.b) GetError0Par Parabolic term correction - better precision

    1.c) GetError1 - JUST FOR Study Similar to GetError1 The angular and diffusion effect is scaling with pad length common parameterization for different pad length

  2. Error parameterization using charge 2.a) GetErrorQ GetError0+ adding 1/Q component to diffusion and angluar part 2.b) GetErrorQPar GetError0Par+ adding 1/Q component to diffusion and angluar part 2.c) GetErrorQParScaled - Just for study One parameterization for all pad shapes Smaller precission as previous one

Example how to retrieve the paramterization:

AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
AliCDBManager::Instance()->SetRun(0)
TF1 f1("f1","AliTPCClusterParam::SGetError0Par(1,0,x,0)",0,250);

Example how to create parameterization: Note resol is the resolution tree created by AliTPCcalibTracks

Definition at line 21 of file AliTPCClusterParam.h.

Constructor & Destructor Documentation

AliTPCClusterParam::AliTPCClusterParam ( )

Default constructor

Definition at line 142 of file AliTPCClusterParam.cxx.

AliTPCClusterParam::AliTPCClusterParam ( const AliTPCClusterParam param)

copy constructor

Definition at line 167 of file AliTPCClusterParam.cxx.

AliTPCClusterParam::~AliTPCClusterParam ( )
virtual

destructor

Definition at line 322 of file AliTPCClusterParam.cxx.

Member Function Documentation

void AliTPCClusterParam::FitData ( TTree *  tree)

make fits for error param and shape param

Definition at line 1049 of file AliTPCClusterParam.cxx.

void AliTPCClusterParam::FitResol ( TTree *  tree)

Definition at line 1057 of file AliTPCClusterParam.cxx.

Referenced by FitData(), and MakeClusterParam().

void AliTPCClusterParam::FitResol0 ( TTree *  tree,
Int_t  dim,
Int_t  type,
Float_t *  param0,
Float_t *  error 
)

Fit z - angular dependence of resolution

Int_t dim=0, type=0;

Definition at line 353 of file AliTPCClusterParam.cxx.

Referenced by FitResol().

void AliTPCClusterParam::FitResol0Par ( TTree *  tree,
Int_t  dim,
Int_t  type,
Float_t *  param0,
Float_t *  error 
)

Fit z - angular dependence of resolution

Int_t dim=0, type=0;

Definition at line 406 of file AliTPCClusterParam.cxx.

Referenced by FitResol().

void AliTPCClusterParam::FitResol1 ( TTree *  tree,
Int_t  dim,
Float_t *  param0,
Float_t *  error 
)

Fit z - angular dependence of resolution - pad length scaling

Int_t dim=0, type=0;

Definition at line 471 of file AliTPCClusterParam.cxx.

Referenced by FitResol().

void AliTPCClusterParam::FitResolQ ( TTree *  tree,
Int_t  dim,
Int_t  type,
Float_t *  param0,
Float_t *  error 
)

Fit z - angular dependence of resolution - Q scaling

Int_t dim=0, type=0;

Definition at line 523 of file AliTPCClusterParam.cxx.

Referenced by FitResol().

void AliTPCClusterParam::FitResolQPar ( TTree *  tree,
Int_t  dim,
Int_t  type,
Float_t *  param0,
Float_t *  error 
)

Fit z - angular dependence of resolution - Q scaling - parabolic correction

Int_t dim=0, type=0;

Definition at line 590 of file AliTPCClusterParam.cxx.

Referenced by FitResol().

void AliTPCClusterParam::FitRMS ( TTree *  tree)

Definition at line 1132 of file AliTPCClusterParam.cxx.

Referenced by FitData(), and MakeClusterParam().

void AliTPCClusterParam::FitRMS0 ( TTree *  tree,
Int_t  dim,
Int_t  type,
Float_t *  param0,
Float_t *  error 
)

Fit z - angular dependence of resolution

Int_t dim=0, type=0;

Definition at line 670 of file AliTPCClusterParam.cxx.

Referenced by FitRMS().

void AliTPCClusterParam::FitRMS1 ( TTree *  tree,
Int_t  dim,
Float_t *  param0,
Float_t *  error 
)

Fit z - angular dependence of resolution - pad length scaling

Int_t dim=0, type=0;

Definition at line 722 of file AliTPCClusterParam.cxx.

Referenced by FitRMS().

void AliTPCClusterParam::FitRMSQ ( TTree *  tree,
Int_t  dim,
Int_t  type,
Float_t *  param0,
Float_t *  error 
)

Fit z - angular dependence of resolution - Q scaling

Int_t dim=0, type=0;

Definition at line 777 of file AliTPCClusterParam.cxx.

Referenced by FitRMS().

void AliTPCClusterParam::FitRMSSigma ( TTree *  tree,
Int_t  dim,
Int_t  type,
Float_t *  param0,
Float_t *  error 
)

Fit z - angular dependence of resolution - Q scaling

Int_t dim=0, type=0;

Definition at line 845 of file AliTPCClusterParam.cxx.

Referenced by FitRMS().

Double_t AliTPCClusterParam::GaussConvolution ( Double_t  x0,
Double_t  x1,
Double_t  k0,
Double_t  k1,
Double_t  s0,
Double_t  s1 
)
static

2 D gaus convoluted with angular effect See in mathematica: Simplify[Integrate[Exp[-(x0-k0*xd)*(x0-k0*xd)/(2*s0*s0)-(x1-k1*xd)*(x1-k1*xd)/(2*s1*s1)]/(s0*s1),{xd,-1/2,1/2}]]

TF1 f1("f1","AliTPCClusterParam::GaussConvolution(x,0,1,0,0.1,0.1)",-2,2) TF2 f2("f2","AliTPCClusterParam::GaussConvolution(x,y,1,1,0.1,0.1)",-2,2,-2,2)

Definition at line 1662 of file AliTPCClusterParam.cxx.

Referenced by GaussConvolutionGamma4(), GaussConvolutionTail(), QmaxCorrection(), and QtotCorrection().

Double_t AliTPCClusterParam::GaussConvolutionGamma4 ( Double_t  x0,
Double_t  x1,
Double_t  k0,
Double_t  k1,
Double_t  s0,
Double_t  s1,
Double_t  tau 
)
static

2 D gaus convoluted with angular effect and exponential tail in z-direction tail integrated numerically Integral normalized to one Mean at 0

TF1 f1g4("f1g4","AliTPCClusterParam::GaussConvolutionGamma4(0,x,0,0,0.5,0.2,1.6)",-5,5) TF2 f2g4("f2g4","AliTPCClusterParam::GaussConvolutionGamma4(y,x,0,0,0.5,0.2,1.6)",-5,5,-5,5)

Definition at line 1720 of file AliTPCClusterParam.cxx.

Double_t AliTPCClusterParam::GaussConvolutionTail ( Double_t  x0,
Double_t  x1,
Double_t  k0,
Double_t  k1,
Double_t  s0,
Double_t  s1,
Double_t  tau 
)
static

2 D gaus convoluted with angular effect and exponential tail in z-direction tail integrated numerically Integral normalized to one Mean at 0

TF1 f1t("f1t","AliTPCClusterParam::GaussConvolutionTail(0,x,0,0,0.5,0.5,0.9)",-5,5)

Definition at line 1695 of file AliTPCClusterParam.cxx.

Float_t AliTPCClusterParam::GetError0 ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
) const

Definition at line 879 of file AliTPCClusterParam.cxx.

Referenced by SGetError0().

Float_t AliTPCClusterParam::GetError0Par ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
) const

Definition at line 891 of file AliTPCClusterParam.cxx.

Referenced by GetErrorQParScaled(), and SGetError0Par().

Float_t AliTPCClusterParam::GetError1 ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
) const

Definition at line 907 of file AliTPCClusterParam.cxx.

Referenced by SGetError1().

Float_t AliTPCClusterParam::GetErrorQ ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
) const

Definition at line 921 of file AliTPCClusterParam.cxx.

Referenced by SGetErrorQ().

Float_t AliTPCClusterParam::GetErrorQPar ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
) const

Definition at line 936 of file AliTPCClusterParam.cxx.

Referenced by SGetErrorQPar().

Float_t AliTPCClusterParam::GetErrorQParScaled ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
) const

Definition at line 954 of file AliTPCClusterParam.cxx.

Referenced by SGetErrorQParScaled().

Double_t AliTPCClusterParam::GetQnormCorr ( Int_t  ipad,
Int_t  itype,
Int_t  corrType 
) const
TMatrixD* AliTPCClusterParam::GetQnormCorrMatrix ( )
inline

Definition at line 39 of file AliTPCClusterParam.h.

const THnBase* AliTPCClusterParam::GetResolutionYMap ( ) const
inline

Definition at line 76 of file AliTPCClusterParam.h.

Float_t AliTPCClusterParam::GetRMS0 ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
) const

calculate mean RMS of cluster - z,angle - parameters for each pad and dimension separatelly

Definition at line 974 of file AliTPCClusterParam.cxx.

Referenced by AliTPCPointCorrection::RPhiCOGCorrection(), and SGetRMS0().

Float_t AliTPCClusterParam::GetRMS1 ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
) const

calculate mean RMS of cluster - z,angle - pad length scalling

Definition at line 985 of file AliTPCClusterParam.cxx.

Referenced by SGetRMS1().

Float_t AliTPCClusterParam::GetRMSQ ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
) const

calculate mean RMS of cluster - z,angle, Q dependence

Definition at line 1003 of file AliTPCClusterParam.cxx.

Referenced by GetRMSSigma(), GetShapeFactor(), and SGetRMSQ().

Float_t AliTPCClusterParam::GetRMSSigma ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
) const

calculates RMS of signal shape fluctuation

Definition at line 1016 of file AliTPCClusterParam.cxx.

Referenced by GetShapeFactor(), and SGetRMSSigma().

Float_t AliTPCClusterParam::GetShapeFactor ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean,
Float_t  rmsL,
Float_t  rmsM 
) const

calculates vallue - sigma distortion contribution

Definition at line 1025 of file AliTPCClusterParam.cxx.

Referenced by SGetShapeFactor().

Float_t AliTPCClusterParam::GetWaveCorrection ( Int_t  Type,
Float_t  Z,
Int_t  QMax,
Float_t  Pad,
Float_t  angleY 
) const

Correct Y cluster coordinate using a map

Definition at line 1896 of file AliTPCClusterParam.cxx.

Referenced by SGetWaveCorrection().

const THnBase* AliTPCClusterParam::GetWaveCorrectionMap ( ) const
inline

Definition at line 75 of file AliTPCClusterParam.h.

AliTPCClusterParam * AliTPCClusterParam::Instance ( )
static

Singleton implementation Returns an instance of this class, it is created if neccessary

Definition at line 130 of file AliTPCClusterParam.cxx.

AliTPCClusterParam & AliTPCClusterParam::operator= ( const AliTPCClusterParam param)

Assignment operator

Definition at line 250 of file AliTPCClusterParam.cxx.

Float_t AliTPCClusterParam::ParamS0Par ( Int_t  i,
Int_t  j,
Int_t  k 
) const
inline

Definition at line 148 of file AliTPCClusterParam.h.

Float_t AliTPCClusterParam::PosCorrection ( Int_t  type,
Int_t  ipad,
Float_t  pad,
Float_t  time,
Float_t  z,
Float_t  sy2,
Float_t  sz2,
Float_t  qm 
)

Make postion correction type - 0 - y correction 1 - z correction ipad - 0, 1, 2 - short, medium long pads pad - float pad number time - float time bin number z - z of the cluster

Definition at line 1600 of file AliTPCClusterParam.cxx.

Referenced by SPosCorrection().

TVectorD*& AliTPCClusterParam::PosYcor ( Int_t  ind)
inline

Definition at line 146 of file AliTPCClusterParam.h.

TVectorD*& AliTPCClusterParam::PosZcor ( Int_t  ind)
inline

Definition at line 147 of file AliTPCClusterParam.h.

void AliTPCClusterParam::Print ( Option_t *  option = "") const
virtual

Print param Information

Definition at line 1280 of file AliTPCClusterParam.cxx.

Double_t AliTPCClusterParam::QmaxCorrection ( Int_t  sector,
Int_t  row,
Float_t  cpad,
Float_t  ctime,
Float_t  ky,
Float_t  kz,
Float_t  rmsy0,
Float_t  rmsz0,
Float_t  effLength = 0,
Float_t  effDiff = 1 
)
static

cpad - pad (y) coordinate ctime - time(z) coordinate ky - dy/dx kz - dz/dx rmsy0 - RF width in pad units rmsz0 - RF width in time bin units effLength - contibution of PRF and diffusion effDiff - overwrite diffusion

Definition at line 1748 of file AliTPCClusterParam.cxx.

Float_t AliTPCClusterParam::Qnorm ( Int_t  ipad,
Int_t  itype,
Float_t  dr,
Float_t  ty,
Float_t  tz 
)

get Q normalization type - 0 Qtot 1 Qmax ipad - 0 (0.75 cm) ,1 (1 cm), 2 (1.5 cm)

expession formula - TString *strq0 = toolkit.FitPlane(chain,"dedxQ.fElements[2]","dr++ty++tz++dr*ty++dr*tz++++dr*dr++ty*tz++ty^2++tz^2","IPad==0",chi2,npoints,param,covar,0,100000);

Definition at line 1402 of file AliTPCClusterParam.cxx.

Referenced by SQnorm().

Float_t AliTPCClusterParam::QnormHis ( Int_t  ipad,
Int_t  itype,
Float_t  dr,
Float_t  ty,
Float_t  tz 
)

get Q normalization type - 0 Qtot 1 Qmax ipad - 0 (0.75 cm) ,1 (1 cm), 2 (1.5 cm)

Definition at line 1430 of file AliTPCClusterParam.cxx.

Referenced by SQnormHis().

Float_t AliTPCClusterParam::QnormPos ( Int_t  ipad,
Bool_t  isMax,
Float_t  pad,
Float_t  time,
Float_t  z,
Float_t  sy2,
Float_t  sz2,
Float_t  qm,
Float_t  qt 
)

Make Q normalization as function of following parameters Fit parameters to be used in corresponding correction function extracted in the AliTPCclaibTracksGain - Taylor expansion 1 - dp - relative pad position 2 - dt - relative time position 3 - di - drift length (norm to 1); 4 - dq0 - Tot/Max charge 5 - dq1 - Max/Tot charge 6 - sy - sigma y - shape 7 - sz - sigma z - shape

Definition at line 1513 of file AliTPCClusterParam.cxx.

Referenced by SQnormPos().

TVectorD* AliTPCClusterParam::QpadMnorm ( ) const
inline

Definition at line 150 of file AliTPCClusterParam.h.

TVectorD* AliTPCClusterParam::QpadTnorm ( ) const
inline

Definition at line 149 of file AliTPCClusterParam.h.

Double_t AliTPCClusterParam::QtotCorrection ( Int_t  sector,
Int_t  row,
Float_t  cpad,
Float_t  ctime,
Float_t  ky,
Float_t  kz,
Float_t  rmsy0,
Float_t  rmsz0,
Float_t  qtot,
Float_t  thr,
Float_t  effLength = 0,
Float_t  effDiff = 1 
)
static

cpad - pad (y) coordinate ctime - time(z) coordinate ky - dy/dx kz - dz/dx rmsy0 - RF width in pad units rmsz0 - RF width in time bin units qtot - the sum of signal in cluster - without thr correction thr - threshold effLength - contibution of PRF and diffusion effDiff - overwrite diffusion

Definition at line 1794 of file AliTPCClusterParam.cxx.

void AliTPCClusterParam::ResetQnormCorr ( )

Definition at line 1466 of file AliTPCClusterParam.cxx.

Referenced by SetQnormCorr().

void AliTPCClusterParam::SetInstance ( AliTPCClusterParam *const  param)
inline
void AliTPCClusterParam::SetQnorm ( Int_t  ipad,
Int_t  itype,
const TVectorD *const  norm 
)

set normalization

type - 0 Qtot 1 Qmax ipad - 0 (0.75 cm) ,1 (1 cm), 2 (1.5 cm)

Definition at line 1456 of file AliTPCClusterParam.cxx.

void AliTPCClusterParam::SetQnormCorr ( Int_t  ipad,
Int_t  itype,
Int_t  corrType,
Float_t  val,
Int_t  mode = 1 
)

ipad - pad type itype - 0- qtot 1-qmax corrType - 0 - s0y corr - eff. PRF corr

  • 1 - s0z corr - eff. TRF corr
  • 2 - d0y - eff. diffusion correction y
  • 3 - d0z - eff. diffusion correction
  • 4 - eff length - eff.length - wire pitch + x diffsion
  • 5 - pad type normalization

Definition at line 1477 of file AliTPCClusterParam.cxx.

void AliTPCClusterParam::SetResolutionYMap ( THnBase *  ResolutionYMap)

Set Resolution Map for Y

Definition at line 1885 of file AliTPCClusterParam.cxx.

Referenced by AliTPCClusterParam(), and operator=().

void AliTPCClusterParam::SetWaveCorrectionMap ( THnBase *  WaveCorrectionMap)

Set Correction Map for Y

Definition at line 1866 of file AliTPCClusterParam.cxx.

Referenced by AliTPCClusterParam(), and operator=().

static Float_t AliTPCClusterParam::SGetError0 ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
)
inlinestatic

Definition at line 85 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetError0Par ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
)
inlinestatic

Definition at line 88 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetError1 ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
)
inlinestatic

Definition at line 91 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetErrorQ ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
)
inlinestatic

Definition at line 94 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetErrorQPar ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
)
inlinestatic

Definition at line 97 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetErrorQParScaled ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
)
inlinestatic

Definition at line 100 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetRMS0 ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
)
inlinestatic

Definition at line 104 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetRMS1 ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle 
)
inlinestatic

Definition at line 107 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetRMSQ ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
)
inlinestatic

Definition at line 110 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetRMSSigma ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean 
)
inlinestatic

Definition at line 113 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetShapeFactor ( Int_t  dim,
Int_t  type,
Float_t  z,
Float_t  angle,
Float_t  Qmean,
Float_t  rmsL,
Float_t  rmsM 
)
inlinestatic

Definition at line 116 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SGetWaveCorrection ( Int_t  Type,
Float_t  Z,
Int_t  QMax,
Float_t  Pad,
Float_t  angleY 
)
inlinestatic

Definition at line 78 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SPosCorrection ( Int_t  type,
Int_t  ipad,
Float_t  pad,
Float_t  time,
Float_t  z,
Float_t  sy2,
Float_t  sz2,
Float_t  qm 
)
inlinestatic

Definition at line 54 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SQnorm ( Int_t  ipad,
Int_t  itype,
Float_t  dr,
Float_t  ty,
Float_t  tz 
)
inlinestatic

Definition at line 121 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SQnormHis ( Int_t  ipad,
Int_t  itype,
Float_t  dr,
Float_t  ty,
Float_t  tz 
)
inlinestatic

Definition at line 122 of file AliTPCClusterParam.h.

static Float_t AliTPCClusterParam::SQnormPos ( Int_t  ipad,
Bool_t  isMax,
Float_t  pad,
Float_t  time,
Float_t  z,
Float_t  sy2,
Float_t  sz2,
Float_t  qm,
Float_t  qt 
)
inlinestatic

Definition at line 51 of file AliTPCClusterParam.h.

void AliTPCClusterParam::Test ( TTree *  tree,
const char *  output = "TestClusterParam.root" 
)

Draw standard quality histograms to output file

Definition at line 1216 of file AliTPCClusterParam.cxx.

Member Data Documentation

Float_t AliTPCClusterParam::fErrorRMS0[2][3][4]
protected

shape parameterization coeficients

Definition at line 166 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitRMS(), and operator=().

Float_t AliTPCClusterParam::fErrorRMS1[2][5]
protected

shape parameterization coeficients

Definition at line 170 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitRMS(), and operator=().

Float_t AliTPCClusterParam::fErrorRMSQ[2][3][6]
protected

shape parameterization coeficients

Definition at line 168 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitRMS(), and operator=().

Float_t AliTPCClusterParam::fErrorRMSSys[2]
protected

systematic relative error of the parametererization

Definition at line 171 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitRMS(), GetShapeFactor(), and operator=().

Float_t AliTPCClusterParam::fErrorS0[2][3][4]
protected

error parameterization coeficients

Definition at line 155 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), and operator=().

Float_t AliTPCClusterParam::fErrorS0Par[2][3][7]
protected

error parameterization coeficients

Definition at line 157 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), and operator=().

Float_t AliTPCClusterParam::fErrorS1[2][4]
protected

error parameterization coeficients

Definition at line 163 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), and operator=().

Float_t AliTPCClusterParam::fErrorSQ[2][3][6]
protected

error parameterization coeficients

Definition at line 159 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), and operator=().

Float_t AliTPCClusterParam::fErrorSQPar[2][3][9]
protected

error parameterization coeficients

Definition at line 161 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), and operator=().

AliTPCClusterParam * AliTPCClusterParam::fgInstance = 0
staticprotected
Float_t AliTPCClusterParam::fParamRMS0[2][3][4]
protected

shape parameterization coeficients

Definition at line 165 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitRMS(), GetRMS0(), operator=(), and Print().

Float_t AliTPCClusterParam::fParamRMS1[2][5]
protected

shape parameterization coeficients

Definition at line 169 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitRMS(), GetRMS1(), operator=(), and Print().

Float_t AliTPCClusterParam::fParamRMSQ[2][3][6]
protected

shape parameterization coeficients

Definition at line 167 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitRMS(), GetRMSQ(), and operator=().

Float_t AliTPCClusterParam::fParamS0[2][3][4]
protected

error parameterization coeficients

Definition at line 154 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), GetError0(), operator=(), and Print().

Float_t AliTPCClusterParam::fParamS0Par[2][3][7]
protected

error parameterization coeficients

Definition at line 156 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), GetError0Par(), operator=(), ParamS0Par(), and Print().

Float_t AliTPCClusterParam::fParamS1[2][4]
protected

error parameterization coeficients

Definition at line 162 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), GetError1(), operator=(), and Print().

Float_t AliTPCClusterParam::fParamSQ[2][3][6]
protected

error parameterization coeficients

Definition at line 158 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), GetErrorQ(), and operator=().

Float_t AliTPCClusterParam::fParamSQPar[2][3][9]
protected

error parameterization coeficients

Definition at line 160 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitResol(), GetErrorQPar(), GetErrorQParScaled(), and operator=().

TVectorD* AliTPCClusterParam::fPosQMnorm[3]
protected

q position normalization

Definition at line 182 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), operator=(), PseudoCode(), QnormPos(), and ~AliTPCClusterParam().

TVectorD* AliTPCClusterParam::fPosQTnorm[3]
protected

q position normalization

Definition at line 181 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), operator=(), PseudoCode(), QnormPos(), and ~AliTPCClusterParam().

TVectorD* AliTPCClusterParam::fPosYcor[3]
protected

position correction parameterization

Definition at line 188 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), operator=(), PosCorrection(), PosYcor(), and ~AliTPCClusterParam().

TVectorD* AliTPCClusterParam::fPosZcor[3]
protected

position correction parameterization

Definition at line 189 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), operator=(), PosCorrection(), PosZcor(), and ~AliTPCClusterParam().

TObjArray* AliTPCClusterParam::fQNorm
protected

q norm paramters

Definition at line 177 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), operator=(), Qnorm(), SetQnorm(), and ~AliTPCClusterParam().

TMatrixD* AliTPCClusterParam::fQNormCorr
protected

q norm correction for analytica correction

Definition at line 178 of file AliTPCClusterParam.h.

Referenced by Fit(), FitFit(), GetQnormCorr(), GetQnormCorrMatrix(), Print(), ResetQnormCorr(), SetQnormCorr(), and ~AliTPCClusterParam().

TObjArray* AliTPCClusterParam::fQNormHis
protected

q norm correction for analytical correction

Definition at line 179 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), operator=(), QnormHis(), and ~AliTPCClusterParam().

TVectorD* AliTPCClusterParam::fQpadMnorm
protected

q pad normalization - Max charge

Definition at line 184 of file AliTPCClusterParam.h.

Referenced by QpadMnorm(), and TestChainCosmicDedx().

TVectorD* AliTPCClusterParam::fQpadTnorm
protected

q pad normalization - Total charge

Definition at line 183 of file AliTPCClusterParam.h.

Referenced by QpadTnorm(), and TestChainCosmicDedx().

Float_t AliTPCClusterParam::fRatio
protected

ratio of values constibution to error

Definition at line 153 of file AliTPCClusterParam.h.

Referenced by FitResol0(), FitResol0Par(), FitResol1(), FitResolQ(), FitResolQPar(), FitRMS0(), FitRMS1(), FitRMSQ(), and FitRMSSigma().

THnBase* AliTPCClusterParam::fResolutionYMap
protected

Map of resolution in Y.

Definition at line 200 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), GetResolutionYMap(), operator=(), SetResolutionYMap(), and ~AliTPCClusterParam().

Float_t AliTPCClusterParam::fRMSSigmaFit[2][3][2]
protected

mean value of the varation of RMS to RMS

Definition at line 173 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitRMS(), GetRMSSigma(), and operator=().

Float_t AliTPCClusterParam::fRMSSigmaRatio[2][2]
protected

mean value of the varation of RMS to RMS

Definition at line 172 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), FitRMS(), and operator=().

THnBase* AliTPCClusterParam::fWaveCorrectionMap
protected

dY with respect to the distance to the center of the pad

Definition at line 193 of file AliTPCClusterParam.h.

Referenced by AliTPCClusterParam(), GetWaveCorrection(), GetWaveCorrectionMap(), operator=(), SetWaveCorrectionMap(), and ~AliTPCClusterParam().

Bool_t AliTPCClusterParam::fWaveCorrectionMirroredAngle
protected

flag is the Angle axis mirrored at 0

Definition at line 196 of file AliTPCClusterParam.h.

Referenced by GetWaveCorrection(), and SetWaveCorrectionMap().

Bool_t AliTPCClusterParam::fWaveCorrectionMirroredPad
protected

flag is the cog axis mirrored at 0.5

Definition at line 194 of file AliTPCClusterParam.h.

Referenced by GetWaveCorrection(), and SetWaveCorrectionMap().

Bool_t AliTPCClusterParam::fWaveCorrectionMirroredZ
protected

flag is the Z axis mirrored at 0

Definition at line 195 of file AliTPCClusterParam.h.

Referenced by GetWaveCorrection(), and SetWaveCorrectionMap().


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