ROOT logo
/**************************************************************************
 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 *                                                                        *
 * Author: The ALICE Off-line Project.                                    *
 * Contributors are mentioned in the code where appropriate.              *
 *                                                                        *
 * Permission to use, copy, modify and distribute this software and its   *
 * documentation strictly for non-commercial purposes is hereby granted   *
 * without fee, provided that the above copyright notice appears in all   *
 * copies and that both the copyright notice and this permission notice   *
 * appear in the supporting documentation. The authors make no claims     *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/


///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//  TPC cluster error, shape and charge parameterization as function
//  of drift length, and inclination angle                                   //
//
//  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) 
      AliTPCClusterParam * param = AliTPCcalibDB::Instance()->GetClusterParam();

      //
      //
      AliTPCClusterParam::SetInstance(param);
      TF1 f1("f1","AliTPCClusterParam::SGetError0Par(1,0,x,0)",0,250);
*/      

// EXAMPLE hot to create parameterization
/*
// Note resol is the resolution tree created by AliTPCcalibTracks
//
AliTPCClusterParam  *param = new AliTPCClusterParam;
param->FitData(Resol);
AliTPCClusterParam::SetInstance(param);
 
*/

//
//                                                                     //
///////////////////////////////////////////////////////////////////////////////
#include "AliTPCClusterParam.h"
#include "TMath.h"
#include "TFile.h"
#include "TTree.h"
#include <TVectorF.h>
#include <TLinearFitter.h>
#include <TH1F.h>
#include <TH3F.h>
#include <TProfile2D.h>
#include <TVectorD.h>
#include <TObjArray.h>
#include "AliTPCcalibDB.h"
#include "AliTPCParam.h"
#include "THnBase.h"

#include "AliMathBase.h"

ClassImp(AliTPCClusterParam)


AliTPCClusterParam* AliTPCClusterParam::fgInstance = 0;


/*
  Example usage fitting parameterization:
  TFile fres("resol.root");    //tree with resolution and shape 
  TTree * treeRes =(TTree*)fres.Get("Resol");
  
  AliTPCClusterParam param;
  param.SetInstance(&param);
  param.FitResol(treeRes);
  param.FitRMS(treeRes);
  TFile fparam("TPCClusterParam.root","recreate");
  param.Write("Param");
  //
  //
  TFile fparam("TPCClusterParam.root");
  AliTPCClusterParam *param2  =  (AliTPCClusterParam *) fparam.Get("Param"); 
  param2->SetInstance(param2);
  param2->Test(treeRes);
  

  treeRes->Draw("(Resol-AliTPCClusterParam::SGetError0(Dim,Pad,Zm,AngleM))/Resol","Dim==0&&QMean<0")

*/




//_ singleton implementation __________________________________________________
AliTPCClusterParam* AliTPCClusterParam::Instance()
{
  //
  // Singleton implementation
  // Returns an instance of this class, it is created if neccessary
  //
  if (fgInstance == 0){
    fgInstance = new AliTPCClusterParam();
  }
  return fgInstance;
}


AliTPCClusterParam::AliTPCClusterParam():
  TObject(),
  fRatio(0),
  fQNorm(0),
  fQNormCorr(0),
  fQNormHis(0),
  fQpadTnorm(0),           // q pad normalization - Total charge
  fQpadMnorm(0),           // q pad normalization - Max charge
  fWaveCorrectionMap(0),
  fWaveCorrectionMirroredPad( kFALSE ),
  fWaveCorrectionMirroredZ( kFALSE ),
  fWaveCorrectionMirroredAngle( kFALSE ),
  fResolutionYMap(0)
  //
{
  //
  // Default constructor
  //
  fPosQTnorm[0] = 0;   fPosQTnorm[1] = 0;   fPosQTnorm[2] = 0; 
  fPosQMnorm[0] = 0;   fPosQMnorm[1] = 0;   fPosQMnorm[2] = 0; 
  //
  fPosYcor[0]   = 0;   fPosYcor[1]   = 0;   fPosYcor[2]   = 0; 
  fPosZcor[0]   = 0;   fPosZcor[1]   = 0;   fPosZcor[2]   = 0; 
  fErrorRMSSys[0]=0;   fErrorRMSSys[1]=0; 
}

AliTPCClusterParam::AliTPCClusterParam(const AliTPCClusterParam& param):
  TObject(param),
  fRatio(0),
  fQNorm(0),
  fQNormCorr(0),
  fQNormHis(0),
  fQpadTnorm(new TVectorD(*(param.fQpadTnorm))),           // q pad normalization - Total charge
  fQpadMnorm(new TVectorD(*(param.fQpadMnorm))),           // q pad normalization - Max charge
  fWaveCorrectionMap(0),
  fWaveCorrectionMirroredPad( kFALSE ),
  fWaveCorrectionMirroredZ( kFALSE ),
  fWaveCorrectionMirroredAngle( kFALSE ),
  fResolutionYMap(0)
{
  //
  // copy constructor
  //
  if (param.fQNorm) fQNorm = (TObjArray*) param.fQNorm->Clone();
  if (param.fQNormHis) fQNormHis = (TObjArray*) param.fQNormHis->Clone();
  //
  if (param.fPosQTnorm[0]){
    fPosQTnorm[0] = new TVectorD(*(param.fPosQTnorm[0]));
    fPosQTnorm[1] = new TVectorD(*(param.fPosQTnorm[1]));
    fPosQTnorm[2] = new TVectorD(*(param.fPosQTnorm[2]));
    //
    fPosQMnorm[0] = new TVectorD(*(param.fPosQMnorm[0]));
    fPosQMnorm[1] = new TVectorD(*(param.fPosQMnorm[1]));
    fPosQMnorm[2] = new TVectorD(*(param.fPosQMnorm[2]));
  }
  if (param.fPosYcor[0]){
    fPosYcor[0] = new TVectorD(*(param.fPosYcor[0]));
    fPosYcor[1] = new TVectorD(*(param.fPosYcor[1]));
    fPosYcor[2] = new TVectorD(*(param.fPosYcor[2]));
    //
    fPosZcor[0] = new TVectorD(*(param.fPosZcor[0]));
    fPosZcor[1] = new TVectorD(*(param.fPosZcor[1]));
    fPosZcor[2] = new TVectorD(*(param.fPosZcor[2]));
  }

  for (Int_t ii = 0; ii < 2; ++ii) {
    for (Int_t jj = 0; jj < 3; ++jj) {
      for (Int_t kk = 0; kk < 4; ++kk) {
	fParamS0[ii][jj][kk] = param.fParamS0[ii][jj][kk];
	fErrorS0[ii][jj][kk] = param.fErrorS0[ii][jj][kk];
	fParamRMS0[ii][jj][kk] = param.fParamRMS0[ii][jj][kk];
	fErrorRMS0[ii][jj][kk] = param.fErrorRMS0[ii][jj][kk];
      }
      for (Int_t kk = 0; kk < 7; ++kk) {
	fParamS0Par[ii][jj][kk] = param.fParamS0Par[ii][jj][kk];
	fErrorS0Par[ii][jj][kk] = param.fErrorS0Par[ii][jj][kk];
      }
      for (Int_t kk = 0; kk < 6; ++kk) {
	fParamSQ[ii][jj][kk] = param.fParamSQ[ii][jj][kk];
	fErrorSQ[ii][jj][kk] = param.fErrorSQ[ii][jj][kk];
	fParamRMSQ[ii][jj][kk] = param.fParamRMSQ[ii][jj][kk];
	fErrorRMSQ[ii][jj][kk] = param.fErrorRMSQ[ii][jj][kk];
      }
      for (Int_t kk = 0; kk < 9; ++kk) {
	fParamSQPar[ii][jj][kk]	= param.fParamSQPar[ii][jj][kk];
	fErrorSQPar[ii][jj][kk]	= param.fErrorSQPar[ii][jj][kk];
      }
      for (Int_t kk = 0; kk < 2; ++kk) {
	fRMSSigmaFit[ii][jj][kk] = param.fRMSSigmaFit[ii][jj][kk];
      }
    }
    for (Int_t jj = 0; jj < 4; ++jj) {
      fParamS1[ii][jj] = param.fParamS1[ii][jj];
      fErrorS1[ii][jj] = param.fErrorS1[ii][jj];
    }
    for (Int_t jj = 0; jj < 5; ++jj) {
      fParamRMS1[ii][jj] = param.fParamRMS1[ii][jj];
      fErrorRMS1[ii][jj] = param.fErrorRMS1[ii][jj];
    }
    fErrorRMSSys[ii] = param.fErrorRMSSys[ii];
    for (Int_t jj = 0; jj < 2; ++jj){
      fRMSSigmaRatio[ii][jj] = param.fRMSSigmaRatio[ii][jj];
    }
  }

  SetWaveCorrectionMap( param.fWaveCorrectionMap );
  SetResolutionYMap( param.fResolutionYMap );
}


AliTPCClusterParam & AliTPCClusterParam::operator=(const AliTPCClusterParam& param){
  //
  // Assignment operator
  //
  if (this != &param) {
    if (param.fQNorm) fQNorm = (TObjArray*) param.fQNorm->Clone();
    if (param.fQNormHis) fQNormHis = (TObjArray*) param.fQNormHis->Clone();
    if (param.fPosQTnorm[0]){
      fPosQTnorm[0] = new TVectorD(*(param.fPosQTnorm[0]));
      fPosQTnorm[1] = new TVectorD(*(param.fPosQTnorm[1]));
      fPosQTnorm[2] = new TVectorD(*(param.fPosQTnorm[2]));
      //
      fPosQMnorm[0] = new TVectorD(*(param.fPosQMnorm[0]));
      fPosQMnorm[1] = new TVectorD(*(param.fPosQMnorm[1]));
      fPosQMnorm[2] = new TVectorD(*(param.fPosQMnorm[2]));
    }
    if (param.fPosYcor[0]){
      fPosYcor[0] = new TVectorD(*(param.fPosYcor[0]));
      fPosYcor[1] = new TVectorD(*(param.fPosYcor[1]));
      fPosYcor[2] = new TVectorD(*(param.fPosYcor[2]));
      //
      fPosZcor[0] = new TVectorD(*(param.fPosZcor[0]));
      fPosZcor[1] = new TVectorD(*(param.fPosZcor[1]));
      fPosZcor[2] = new TVectorD(*(param.fPosZcor[2]));
    }
    
    for (Int_t ii = 0; ii < 2; ++ii) {
      for (Int_t jj = 0; jj < 3; ++jj) {
	for (Int_t kk = 0; kk < 4; ++kk) {
	  fParamS0[ii][jj][kk] = param.fParamS0[ii][jj][kk];
	  fErrorS0[ii][jj][kk] = param.fErrorS0[ii][jj][kk];
	  fParamRMS0[ii][jj][kk] = param.fParamRMS0[ii][jj][kk];
	  fErrorRMS0[ii][jj][kk] = param.fErrorRMS0[ii][jj][kk];
	}
	for (Int_t kk = 0; kk < 7; ++kk) {
	  fParamS0Par[ii][jj][kk] = param.fParamS0Par[ii][jj][kk];
	  fErrorS0Par[ii][jj][kk] = param.fErrorS0Par[ii][jj][kk];
	}
	for (Int_t kk = 0; kk < 6; ++kk) {
	  fParamSQ[ii][jj][kk] = param.fParamSQ[ii][jj][kk];
	  fErrorSQ[ii][jj][kk] = param.fErrorSQ[ii][jj][kk];
	  fParamRMSQ[ii][jj][kk] = param.fParamRMSQ[ii][jj][kk];
	  fErrorRMSQ[ii][jj][kk] = param.fErrorRMSQ[ii][jj][kk];
	}
	for (Int_t kk = 0; kk < 9; ++kk) {
	  fParamSQPar[ii][jj][kk] = param.fParamSQPar[ii][jj][kk];
	  fErrorSQPar[ii][jj][kk] = param.fErrorSQPar[ii][jj][kk];
	}
	for (Int_t kk = 0; kk < 2; ++kk) {
	  fRMSSigmaFit[ii][jj][kk] = param.fRMSSigmaFit[ii][jj][kk];
	}
      }
      for (Int_t jj = 0; jj < 4; ++jj) {
	fParamS1[ii][jj] = param.fParamS1[ii][jj];
	fErrorS1[ii][jj] = param.fErrorS1[ii][jj];
      }
      for (Int_t jj = 0; jj < 5; ++jj) {
	fParamRMS1[ii][jj] = param.fParamRMS1[ii][jj];
	fErrorRMS1[ii][jj] = param.fErrorRMS1[ii][jj];
      }
      fErrorRMSSys[ii] = param.fErrorRMSSys[ii];
      for (Int_t jj = 0; jj < 2; ++jj){
	fRMSSigmaRatio[ii][jj] = param.fRMSSigmaRatio[ii][jj];
      }
    }
    
    SetWaveCorrectionMap( param.fWaveCorrectionMap );
    SetResolutionYMap( param.fResolutionYMap );
  }
  return *this;
}


AliTPCClusterParam::~AliTPCClusterParam(){
  //
  // destructor
  //
  if (fQNorm) fQNorm->Delete();
  if (fQNormCorr) delete fQNormCorr;
  if (fQNormHis) fQNormHis->Delete();
  delete fQNorm;
  delete fQNormHis;
  if (fPosQTnorm[0]){
    delete fPosQTnorm[0];
    delete fPosQTnorm[1];
    delete fPosQTnorm[2];
    //
    delete fPosQMnorm[0];
    delete fPosQMnorm[1];
    delete fPosQMnorm[2];
  }
  if (fPosYcor[0]){
    delete fPosYcor[0];
    delete fPosYcor[1];
    delete fPosYcor[2];
    //
    delete fPosZcor[0];
    delete fPosZcor[1];
    delete fPosZcor[2];
  }
  delete fWaveCorrectionMap;
  delete fResolutionYMap;
}


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;
  TString varVal;
  varVal="Resol:AngleM:Zm";
  TString varErr;
  varErr="Sigma:AngleS:Zs";
  TString varCut;
  varCut=Form("Dim==%d&&Pad==%d&&QMean<0",dim,type);
  //
  Int_t entries = tree->Draw(varVal.Data(),varCut);
  Float_t px[10000], py[10000], pz[10000];
  Float_t ex[10000], ey[10000], ez[10000];
  //
  tree->Draw(varErr.Data(),varCut);  
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    ex[ipoint]= tree->GetV3()[ipoint];
    ey[ipoint]= tree->GetV2()[ipoint];
    ez[ipoint]= tree->GetV1()[ipoint];
  } 
  tree->Draw(varVal.Data(),varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    px[ipoint]= tree->GetV3()[ipoint];
    py[ipoint]= tree->GetV2()[ipoint];
    pz[ipoint]= tree->GetV1()[ipoint];
  }
  
  //  
  TLinearFitter fitter(3,"hyp2");
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    Float_t val = pz[ipoint]*pz[ipoint];
    Float_t err = 2*pz[ipoint]*TMath::Sqrt(ez[ipoint]*ez[ipoint]+fRatio*fRatio*pz[ipoint]*pz[ipoint]);
    Double_t x[2];
    x[0] = px[ipoint];
    x[1] = py[ipoint]*py[ipoint];
    fitter.AddPoint(x,val,err);
  }
  fitter.Eval();
  TVectorD param(3);
  fitter.GetParameters(param);
  param0[0] = param[0];
  param0[1] = param[1];
  param0[2] = param[2];
  Float_t chi2 =  fitter.GetChisquare()/entries;
  param0[3] = chi2;
  error[0] = (fitter.GetParError(0)*TMath::Sqrt(chi2));
  error[1] = (fitter.GetParError(1)*TMath::Sqrt(chi2));
  error[2] = (fitter.GetParError(2)*TMath::Sqrt(chi2));
}


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;
 TString varVal;
  varVal="Resol:AngleM:Zm";
 TString varErr;
  varErr="Sigma:AngleS:Zs";
 TString varCut;
  varCut=Form("Dim==%d&&Pad==%d&&QMean<0",dim,type);
  //
  Int_t entries = tree->Draw(varVal.Data(),varCut);
  Float_t px[10000], py[10000], pz[10000];
  Float_t ex[10000], ey[10000], ez[10000];
  //
  tree->Draw(varErr.Data(),varCut);  
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    ex[ipoint]= tree->GetV3()[ipoint];
    ey[ipoint]= tree->GetV2()[ipoint];
    ez[ipoint]= tree->GetV1()[ipoint];
  } 
  tree->Draw(varVal.Data(),varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    px[ipoint]= tree->GetV3()[ipoint];
    py[ipoint]= tree->GetV2()[ipoint];
    pz[ipoint]= tree->GetV1()[ipoint];
  }
  
  //  
  TLinearFitter fitter(6,"hyp5");
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    Float_t val = pz[ipoint]*pz[ipoint];
    Float_t err = 2*pz[ipoint]*TMath::Sqrt(ez[ipoint]*ez[ipoint]+fRatio*fRatio*pz[ipoint]*pz[ipoint]);
    Double_t x[6];
    x[0] = px[ipoint];
    x[1] = py[ipoint]*py[ipoint];
    x[2] = x[0]*x[0];
    x[3] = x[1]*x[1];
    x[4] = x[0]*x[1];
    fitter.AddPoint(x,val,err);
  }
  fitter.Eval();
  TVectorD param(6);
  fitter.GetParameters(param);
  param0[0] = param[0];
  param0[1] = param[1];
  param0[2] = param[2];
  param0[3] = param[3];
  param0[4] = param[4];
  param0[5] = param[5];
  Float_t chi2 =  fitter.GetChisquare()/entries;
  param0[6] = chi2;
  error[0] = (fitter.GetParError(0)*TMath::Sqrt(chi2));
  error[1] = (fitter.GetParError(1)*TMath::Sqrt(chi2));
  error[2] = (fitter.GetParError(2)*TMath::Sqrt(chi2));
  error[3] = (fitter.GetParError(3)*TMath::Sqrt(chi2));
  error[4] = (fitter.GetParError(4)*TMath::Sqrt(chi2));
  error[5] = (fitter.GetParError(5)*TMath::Sqrt(chi2));
}





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;
 TString varVal;
  varVal="Resol:AngleM*sqrt(Length):Zm/Length";
 TString varErr;
  varErr="Sigma:AngleS:Zs";
 TString varCut;
  varCut=Form("Dim==%d&&QMean<0",dim);
  //
  Int_t entries = tree->Draw(varVal.Data(),varCut);
  Float_t px[10000], py[10000], pz[10000];
  Float_t ex[10000], ey[10000], ez[10000];
  //
  tree->Draw(varErr.Data(),varCut);  
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    ex[ipoint]= tree->GetV3()[ipoint];
    ey[ipoint]= tree->GetV2()[ipoint];
    ez[ipoint]= tree->GetV1()[ipoint];
  } 
  tree->Draw(varVal.Data(),varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    px[ipoint]= tree->GetV3()[ipoint];
    py[ipoint]= tree->GetV2()[ipoint];
    pz[ipoint]= tree->GetV1()[ipoint];
  }
  
  //  
  TLinearFitter fitter(3,"hyp2");
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    Float_t val = pz[ipoint]*pz[ipoint];
    Float_t err = 2*pz[ipoint]*TMath::Sqrt(ez[ipoint]*ez[ipoint]+fRatio*fRatio*pz[ipoint]*pz[ipoint]);
    Double_t x[2];
    x[0] = px[ipoint];
    x[1] = py[ipoint]*py[ipoint];
    fitter.AddPoint(x,val,err);
  }
  fitter.Eval();
  TVectorD param(3);
  fitter.GetParameters(param);
  param0[0] = param[0];
  param0[1] = param[1];
  param0[2] = param[2];
  Float_t chi2 =  fitter.GetChisquare()/entries;
  param0[3] = chi2;
  error[0] = (fitter.GetParError(0)*TMath::Sqrt(chi2));
  error[1] = (fitter.GetParError(1)*TMath::Sqrt(chi2));
  error[2] = (fitter.GetParError(2)*TMath::Sqrt(chi2));
}

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;
 TString varVal;
  varVal="Resol:AngleM/sqrt(QMean):Zm/QMean";
  char varVal0[100];
  snprintf(varVal0,100,"Resol:AngleM:Zm");
  //
 TString varErr;
  varErr="Sigma:AngleS:Zs";
 TString varCut;
  varCut=Form("Dim==%d&&Pad==%d&&QMean>0",dim,type);
  //
  Int_t entries = tree->Draw(varVal.Data(),varCut);
  Float_t px[20000], py[20000], pz[20000], pu[20000], pt[20000];
  Float_t ex[20000], ey[20000], ez[20000];
  //
  tree->Draw(varErr.Data(),varCut);  
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    ex[ipoint]= tree->GetV3()[ipoint];
    ey[ipoint]= tree->GetV2()[ipoint];
    ez[ipoint]= tree->GetV1()[ipoint];
  } 
  tree->Draw(varVal.Data(),varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    px[ipoint]= tree->GetV3()[ipoint];
    py[ipoint]= tree->GetV2()[ipoint];
    pz[ipoint]= tree->GetV1()[ipoint];
  }
  tree->Draw(varVal0,varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    pu[ipoint]= tree->GetV3()[ipoint];
    pt[ipoint]= tree->GetV2()[ipoint];
  }
  
  //  
  TLinearFitter fitter(5,"hyp4");
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    Float_t val = pz[ipoint]*pz[ipoint];
    Float_t err = 2*pz[ipoint]*TMath::Sqrt(ez[ipoint]*ez[ipoint]+fRatio*fRatio*pz[ipoint]*pz[ipoint]);
    Double_t x[4];
    x[0] = pu[ipoint];
    x[1] = pt[ipoint]*pt[ipoint];
    x[2] = px[ipoint];
    x[3] = py[ipoint]*py[ipoint];
    fitter.AddPoint(x,val,err);
  }

  fitter.Eval();
  TVectorD param(5);
  fitter.GetParameters(param);
  param0[0] = param[0];
  param0[1] = param[1];
  param0[2] = param[2];
  param0[3] = param[3];
  param0[4] = param[4];
  Float_t chi2 =  fitter.GetChisquare()/entries;
  param0[5] = chi2;
  error[0] = (fitter.GetParError(0)*TMath::Sqrt(chi2));
  error[1] = (fitter.GetParError(1)*TMath::Sqrt(chi2));
  error[2] = (fitter.GetParError(2)*TMath::Sqrt(chi2));
  error[3] = (fitter.GetParError(3)*TMath::Sqrt(chi2));
  error[4] = (fitter.GetParError(4)*TMath::Sqrt(chi2));
}

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;
 TString varVal;
  varVal="Resol:AngleM/sqrt(QMean):Zm/QMean";
  char varVal0[100];
  snprintf(varVal0,100,"Resol:AngleM:Zm");
  //
 TString varErr;
  varErr="Sigma:AngleS:Zs";
 TString varCut;
  varCut=Form("Dim==%d&&Pad==%d&&QMean>0",dim,type);
  //
  Int_t entries = tree->Draw(varVal.Data(),varCut);
  Float_t px[20000], py[20000], pz[20000], pu[20000], pt[20000];
  Float_t ex[20000], ey[20000], ez[20000];
  //
  tree->Draw(varErr.Data(),varCut);  
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    ex[ipoint]= tree->GetV3()[ipoint];
    ey[ipoint]= tree->GetV2()[ipoint];
    ez[ipoint]= tree->GetV1()[ipoint];
  } 
  tree->Draw(varVal.Data(),varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    px[ipoint]= tree->GetV3()[ipoint];
    py[ipoint]= tree->GetV2()[ipoint];
    pz[ipoint]= tree->GetV1()[ipoint];
  }
  tree->Draw(varVal0,varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    pu[ipoint]= tree->GetV3()[ipoint];
    pt[ipoint]= tree->GetV2()[ipoint];
  }
  
  //  
  TLinearFitter fitter(8,"hyp7");
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    Float_t val = pz[ipoint]*pz[ipoint];
    Float_t err = 2*pz[ipoint]*TMath::Sqrt(ez[ipoint]*ez[ipoint]+fRatio*fRatio*pz[ipoint]*pz[ipoint]);
    Double_t x[7];
    x[0] = pu[ipoint];
    x[1] = pt[ipoint]*pt[ipoint];
    x[2] = x[0]*x[0];
    x[3] = x[1]*x[1];
    x[4] = x[0]*x[1];
    x[5] = px[ipoint];
    x[6] = py[ipoint]*py[ipoint];
    //
    fitter.AddPoint(x,val,err);
  }

  fitter.Eval();
  TVectorD param(8);
  fitter.GetParameters(param);
  param0[0] = param[0];
  param0[1] = param[1];
  param0[2] = param[2];
  param0[3] = param[3];
  param0[4] = param[4];
  param0[5] = param[5];
  param0[6] = param[6];
  param0[7] = param[7];

  Float_t chi2 =  fitter.GetChisquare()/entries;
  param0[8] = chi2;
  error[0] = (fitter.GetParError(0)*TMath::Sqrt(chi2));
  error[1] = (fitter.GetParError(1)*TMath::Sqrt(chi2));
  error[2] = (fitter.GetParError(2)*TMath::Sqrt(chi2));
  error[3] = (fitter.GetParError(3)*TMath::Sqrt(chi2));
  error[4] = (fitter.GetParError(4)*TMath::Sqrt(chi2));
  error[5] = (fitter.GetParError(5)*TMath::Sqrt(chi2));
  error[6] = (fitter.GetParError(6)*TMath::Sqrt(chi2));
  error[7] = (fitter.GetParError(7)*TMath::Sqrt(chi2));
}



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;
 TString varVal;
  varVal="RMSm:AngleM:Zm";
 TString varErr;
  varErr="sqrt((1./(100.*sqrt(12.))^2)+RMSe0^2):AngleS:Zs";
 TString varCut;
  varCut=Form("Dim==%d&&Pad==%d&&QMean<0",dim,type);
  //
  Int_t entries = tree->Draw(varVal.Data(),varCut);
  Float_t px[10000], py[10000], pz[10000];
  Float_t ex[10000], ey[10000], ez[10000];
  //
  tree->Draw(varErr.Data(),varCut);  
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    ex[ipoint]= tree->GetV3()[ipoint];
    ey[ipoint]= tree->GetV2()[ipoint];
    ez[ipoint]= tree->GetV1()[ipoint];
  } 
  tree->Draw(varVal.Data(),varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    px[ipoint]= tree->GetV3()[ipoint];
    py[ipoint]= tree->GetV2()[ipoint];
    pz[ipoint]= tree->GetV1()[ipoint];
  }
  
  //  
  TLinearFitter fitter(3,"hyp2");
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    Float_t val = pz[ipoint]*pz[ipoint];
    Float_t err = 2*pz[ipoint]*TMath::Sqrt(ez[ipoint]*ez[ipoint]+fRatio*fRatio*pz[ipoint]*pz[ipoint]);
    Double_t x[2];
    x[0] = px[ipoint];
    x[1] = py[ipoint]*py[ipoint];
    fitter.AddPoint(x,val,err);
  }
  fitter.Eval();
  TVectorD param(3);
  fitter.GetParameters(param);
  param0[0] = param[0];
  param0[1] = param[1];
  param0[2] = param[2];
  Float_t chi2 =  fitter.GetChisquare()/entries;
  param0[3] = chi2;
  error[0] = (fitter.GetParError(0)*TMath::Sqrt(chi2));
  error[1] = (fitter.GetParError(1)*TMath::Sqrt(chi2));
  error[2] = (fitter.GetParError(2)*TMath::Sqrt(chi2));
}

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;
 TString varVal;
  varVal="RMSm:AngleM*Length:Zm";
 TString varErr;
  varErr="sqrt((1./(100.*sqrt(12.))^2)+RMSe0^2):AngleS:Pad";
 TString varCut;
  varCut=Form("Dim==%d&&QMean<0",dim);
  //
  Int_t entries = tree->Draw(varVal.Data(),varCut);
  Float_t px[10000], py[10000], pz[10000];
  Float_t type[10000], ey[10000], ez[10000];
  //
  tree->Draw(varErr.Data(),varCut);  
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    type[ipoint] = tree->GetV3()[ipoint];
    ey[ipoint]   = tree->GetV2()[ipoint];
    ez[ipoint]   = tree->GetV1()[ipoint];
  } 
  tree->Draw(varVal.Data(),varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    px[ipoint]= tree->GetV3()[ipoint];
    py[ipoint]= tree->GetV2()[ipoint];
    pz[ipoint]= tree->GetV1()[ipoint];
  }
  
  //  
  TLinearFitter fitter(4,"hyp3");
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    Float_t val = pz[ipoint]*pz[ipoint];
    Float_t err = 2*pz[ipoint]*TMath::Sqrt(ez[ipoint]*ez[ipoint]+fRatio*fRatio*pz[ipoint]*pz[ipoint]);
    Double_t x[3];
    x[0] = (type[ipoint]<0.5)? 0.:1.;
    x[1] = px[ipoint];
    x[2] = py[ipoint]*py[ipoint];
    fitter.AddPoint(x,val,err);
  }
  fitter.Eval();
  TVectorD param(4);
  fitter.GetParameters(param);
  param0[0] = param[0];
  param0[1] = param[0]+param[1];
  param0[2] = param[2];
  param0[3] = param[3];
  Float_t chi2 =  fitter.GetChisquare()/entries;
  param0[4] = chi2;
  error[0] = (fitter.GetParError(0)*TMath::Sqrt(chi2));
  error[1] = (fitter.GetParError(1)*TMath::Sqrt(chi2));
  error[2] = (fitter.GetParError(2)*TMath::Sqrt(chi2));
  error[3] = (fitter.GetParError(3)*TMath::Sqrt(chi2));
}

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;
 TString varVal;
  varVal="RMSm:AngleM/sqrt(QMean):Zm/QMean";
  char varVal0[100];
  snprintf(varVal0,100,"RMSm:AngleM:Zm");
  //
 TString varErr;
  varErr="sqrt((1./(100.*sqrt(12.))^2)+RMSe0^2):AngleS:Zs";
 TString varCut;
  varCut=Form("Dim==%d&&Pad==%d&&QMean>0",dim,type);
  //
  Int_t entries = tree->Draw(varVal.Data(),varCut);
  Float_t px[20000], py[20000], pz[20000], pu[20000], pt[20000];
  Float_t ex[20000], ey[20000], ez[20000];
  //
  tree->Draw(varErr.Data(),varCut);  
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    ex[ipoint]= tree->GetV3()[ipoint];
    ey[ipoint]= tree->GetV2()[ipoint];
    ez[ipoint]= tree->GetV1()[ipoint];
  } 
  tree->Draw(varVal.Data(),varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    px[ipoint]= tree->GetV3()[ipoint];
    py[ipoint]= tree->GetV2()[ipoint];
    pz[ipoint]= tree->GetV1()[ipoint];
  }
  tree->Draw(varVal0,varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    pu[ipoint]= tree->GetV3()[ipoint];
    pt[ipoint]= tree->GetV2()[ipoint];
  }
  
  //  
  TLinearFitter fitter(5,"hyp4");
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    Float_t val = pz[ipoint]*pz[ipoint];
    Float_t err = 2*pz[ipoint]*TMath::Sqrt(ez[ipoint]*ez[ipoint]+fRatio*fRatio*pz[ipoint]*pz[ipoint]);
    Double_t x[4];
    x[0] = pu[ipoint];
    x[1] = pt[ipoint]*pt[ipoint];
    x[2] = px[ipoint];
    x[3] = py[ipoint]*py[ipoint];
    fitter.AddPoint(x,val,err);
  }

  fitter.Eval();
  TVectorD param(5);
  fitter.GetParameters(param);
  param0[0] = param[0];
  param0[1] = param[1];
  param0[2] = param[2];
  param0[3] = param[3];
  param0[4] = param[4];
  Float_t chi2 =  fitter.GetChisquare()/entries;
  param0[5] = chi2;
  error[0] = (fitter.GetParError(0)*TMath::Sqrt(chi2));
  error[1] = (fitter.GetParError(1)*TMath::Sqrt(chi2));
  error[2] = (fitter.GetParError(2)*TMath::Sqrt(chi2));
  error[3] = (fitter.GetParError(3)*TMath::Sqrt(chi2));
  error[4] = (fitter.GetParError(4)*TMath::Sqrt(chi2));
}


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;
  TString varVal;
  varVal="RMSs:RMSm";
  //
 TString varCut;
  varCut=Form("Dim==%d&&Pad==%d&&QMean<0",dim,type);
  //
  Int_t entries = tree->Draw(varVal.Data(),varCut);
  Float_t px[20000], py[20000];
  //
  tree->Draw(varVal.Data(),varCut);
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    px[ipoint]= tree->GetV2()[ipoint];
    py[ipoint]= tree->GetV1()[ipoint];
  }
  TLinearFitter fitter(2,"pol1");
  for (Int_t ipoint=0; ipoint<entries; ipoint++){
    Float_t val = py[ipoint];
    Float_t err = fRatio*px[ipoint];
    Double_t x[4];
    x[0] = px[ipoint];
    if (err>0) fitter.AddPoint(x,val,err);
  }
  fitter.Eval();
  param0[0]= fitter.GetParameter(0);
  param0[1]= fitter.GetParameter(1);
}



Float_t  AliTPCClusterParam::GetError0(Int_t dim, Int_t type, Float_t z, Float_t angle) const {
  //
  //
  //
  Float_t value=0;
  value += fParamS0[dim][type][0];
  value += fParamS0[dim][type][1]*z;
  value += fParamS0[dim][type][2]*angle*angle;
  value  = TMath::Sqrt(TMath::Abs(value)); 
  return value;
}


Float_t  AliTPCClusterParam::GetError0Par(Int_t dim, Int_t type, Float_t z, Float_t angle) const {
  //
  //
  //
  Float_t value=0;
  value += fParamS0Par[dim][type][0];
  value += fParamS0Par[dim][type][1]*z;
  value += fParamS0Par[dim][type][2]*angle*angle;
  value += fParamS0Par[dim][type][3]*z*z;
  value += fParamS0Par[dim][type][4]*angle*angle*angle*angle;
  value += fParamS0Par[dim][type][5]*z*angle*angle;
  value  = TMath::Sqrt(TMath::Abs(value)); 
  return value;
}



Float_t  AliTPCClusterParam::GetError1(Int_t dim, Int_t type, Float_t z, Float_t angle) const {
  //
  //
  //
  Float_t value=0;
  Float_t length=0.75;
  if (type==1) length=1;
  if (type==2) length=1.5;
  value += fParamS1[dim][0];
  value += fParamS1[dim][1]*z/length;
  value += fParamS1[dim][2]*angle*angle*length;
  value  = TMath::Sqrt(TMath::Abs(value)); 
  return value;
}

Float_t  AliTPCClusterParam::GetErrorQ(Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean) const {
  //
  //
  //
  Float_t value=0;
  value += fParamSQ[dim][type][0];
  value += fParamSQ[dim][type][1]*z;
  value += fParamSQ[dim][type][2]*angle*angle;
  value += fParamSQ[dim][type][3]*z/Qmean;
  value += fParamSQ[dim][type][4]*angle*angle/Qmean;
  value  = TMath::Sqrt(TMath::Abs(value)); 
  return value;


}

Float_t  AliTPCClusterParam::GetErrorQPar(Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean) const {
  //
  //
  //
  Float_t value=0;
  value += fParamSQPar[dim][type][0];
  value += fParamSQPar[dim][type][1]*z;
  value += fParamSQPar[dim][type][2]*angle*angle;
  value += fParamSQPar[dim][type][3]*z*z;
  value += fParamSQPar[dim][type][4]*angle*angle*angle*angle;
  value += fParamSQPar[dim][type][5]*z*angle*angle;
  value += fParamSQPar[dim][type][6]*z/Qmean;
  value += fParamSQPar[dim][type][7]*angle*angle/Qmean;
  value  = TMath::Sqrt(TMath::Abs(value)); 
  return value;


}

Float_t  AliTPCClusterParam::GetErrorQParScaled(Int_t dim, Int_t type, Float_t z, Float_t angle, Float_t Qmean) const {
  //
  //
  //
  Float_t value=0;
  value += fParamSQPar[dim][type][0];
  value += fParamSQPar[dim][type][1]*z;
  value += fParamSQPar[dim][type][2]*angle*angle;
  value += fParamSQPar[dim][type][3]*z*z;
  value += fParamSQPar[dim][type][4]*angle*angle*angle*angle;
  value += fParamSQPar[dim][type][5]*z*angle*angle;
  value += fParamSQPar[dim][type][6]*z/Qmean;
  value += fParamSQPar[dim][type][7]*angle*angle/Qmean;
  Float_t valueMean = GetError0Par(dim,type,z,angle);
  value -= 0.35*0.35*valueMean*valueMean; 
  value  = TMath::Sqrt(TMath::Abs(value)); 
  return value;


}

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
  //
  Float_t value=0;
  value += fParamRMS0[dim][type][0];
  value += fParamRMS0[dim][type][1]*z;
  value += fParamRMS0[dim][type][2]*angle*angle;
  value  = TMath::Sqrt(TMath::Abs(value)); 
  return value;
}

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
  //
  Float_t value=0;
  Float_t length=0.75;
  if (type==1) length=1;
  if (type==2) length=1.5;
  if (type==0){
    value += fParamRMS1[dim][0];
  }else{
    value += fParamRMS1[dim][1];
  }
  value += fParamRMS1[dim][2]*z;
  value += fParamRMS1[dim][3]*angle*angle*length*length;
  value  = TMath::Sqrt(TMath::Abs(value)); 
  return value;
}

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
  //
  Float_t value=0;
  value += fParamRMSQ[dim][type][0];
  value += fParamRMSQ[dim][type][1]*z;
  value += fParamRMSQ[dim][type][2]*angle*angle;
  value += fParamRMSQ[dim][type][3]*z/Qmean;
  value += fParamRMSQ[dim][type][4]*angle*angle/Qmean;
  value  = TMath::Sqrt(TMath::Abs(value)); 
  return value;
}

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
  //
  Float_t mean = GetRMSQ(dim,type,z,angle,Qmean);
  Float_t value  = fRMSSigmaFit[dim][type][0];
  value+=  fRMSSigmaFit[dim][type][1]*mean;
  return value;
}

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
  //
  Double_t value =0;
  //
  Float_t rmsMeanQ  = GetRMSQ(dim,type,z,angle,Qmean);
  if (rmsL<rmsMeanQ) return value;
  //
  Float_t rmsSigma  = GetRMSSigma(dim,type,z,angle,Qmean);
  //
  if ((rmsM-rmsMeanQ)>2.0*(rmsSigma+fErrorRMSSys[dim])){
    //1.5 sigma cut on mean
    value+= rmsL*rmsL+2*rmsM*rmsM-3*rmsMeanQ*rmsMeanQ;
  }else{
    if ((rmsL-rmsMeanQ)>3.*(rmsSigma+fErrorRMSSys[dim])){
      //3 sigma cut on local
      value+= rmsL*rmsL-rmsMeanQ*rmsMeanQ;
    }
  }
  return TMath::Sqrt(TMath::Abs(value));
}



void AliTPCClusterParam::FitData(TTree * tree){
  //
  // make fits for error param and shape param
  //
  FitResol(tree);
  FitRMS(tree);

}

void AliTPCClusterParam::FitResol(TTree * tree){
  //
  SetInstance(this);
  for (Int_t idir=0;idir<2; idir++){    
    for (Int_t itype=0; itype<3; itype++){
      Float_t param0[10];
      Float_t error0[10];
      // model error param
      FitResol0(tree, idir, itype,param0,error0);
      printf("\nResol\t%d\t%d\tchi2=%f\n",idir,itype,param0[3]);
      printf("%f\t%f\t%f\n", param0[0],param0[1],param0[2]);
      printf("%f\t%f\t%f\n", error0[0],error0[1],error0[2]);
      for (Int_t ipar=0;ipar<4; ipar++){
	fParamS0[idir][itype][ipar] = param0[ipar];	
	fErrorS0[idir][itype][ipar] = param0[ipar];	
      } 
      // error param with parabolic correction
      FitResol0Par(tree, idir, itype,param0,error0);
      printf("\nResolPar\t%d\t%d\tchi2=%f\n",idir,itype,param0[6]);
      printf("%f\t%f\t%f\t%f\t%f\t%f\n", param0[0],param0[1],param0[2],param0[3],param0[4],param0[5]);
      printf("%f\t%f\t%f\t%f\t%f\t%f\n", error0[0],error0[1],error0[2],error0[3],error0[4],error0[5]);
      for (Int_t ipar=0;ipar<7; ipar++){
	fParamS0Par[idir][itype][ipar] = param0[ipar];	
	fErrorS0Par[idir][itype][ipar] = param0[ipar];	
      }
      //
      FitResolQ(tree, idir, itype,param0,error0);
      printf("\nResolQ\t%d\t%d\tchi2=%f\n",idir,itype,param0[5]);
      printf("%f\t%f\t%f\t%f\t%f\n", param0[0],param0[1],param0[2],param0[3],param0[4]);
      printf("%f\t%f\t%f\t%f\t%f\n", error0[0],error0[1],error0[2],error0[3],error0[4]);
      for (Int_t ipar=0;ipar<6; ipar++){
	fParamSQ[idir][itype][ipar] = param0[ipar];	
	fErrorSQ[idir][itype][ipar] = param0[ipar];	
      }
      //
      FitResolQPar(tree, idir, itype,param0,error0);
      printf("\nResolQ\t%d\t%d\tchi2=%f\n",idir,itype,param0[8]);
      printf("%f\t%f\t%f\t%f\t%f\t%f\t%f\t%f\n", param0[0],param0[1],param0[2],param0[3],param0[4],param0[5],param0[6],param0[7]);
      printf("%f\t%f\t%f\t%f\t%f\t%f\t%f\t%f\n", error0[0],error0[1],error0[2],error0[3],error0[4],error0[5],error0[6],error0[7]);
      for (Int_t ipar=0;ipar<9; ipar++){
	fParamSQPar[idir][itype][ipar] = param0[ipar];	
	fErrorSQPar[idir][itype][ipar] = param0[ipar];	
      }
    }
  }
  //
  printf("Resol z-scaled\n");
  for (Int_t idir=0;idir<2; idir++){    
    Float_t param0[4];
    Float_t error0[4];
    FitResol1(tree, idir,param0,error0);
    printf("\nResol\t%d\tchi2=%f\n",idir,param0[3]);
    printf("%f\t%f\t%f\n", param0[0],param0[1],param0[2]);
    printf("%f\t%f\t%f\n", error0[0],error0[1],error0[2]);
    for (Int_t ipar=0;ipar<4; ipar++){
      fParamS1[idir][ipar] = param0[ipar];	
      fErrorS1[idir][ipar] = param0[ipar];	
    }
  }

  for (Int_t idir=0;idir<2; idir++){
    printf("\nDirection %d\n",idir);
    printf("%d\t%f\t%f\t%f\n", -1,fParamS1[idir][0],fParamS1[idir][1],fParamS1[idir][2]);
    for (Int_t itype=0; itype<3; itype++){
      Float_t length=0.75;
      if (itype==1) length=1;
      if (itype==2) length=1.5;
      printf("%d\t%f\t%f\t%f\n", itype,fParamS0[idir][itype][0],fParamS0[idir][itype][1]*TMath::Sqrt(length),fParamS0[idir][itype][2]/TMath::Sqrt(length));
    }
  }  
}



void AliTPCClusterParam::FitRMS(TTree * tree){
  //
  SetInstance(this);
  for (Int_t idir=0;idir<2; idir++){    
    for (Int_t itype=0; itype<3; itype++){
      Float_t param0[6];
      Float_t error0[6];
      FitRMS0(tree, idir, itype,param0,error0);
      printf("\nRMS\t%d\t%d\tchi2=%f\n",idir,itype,param0[3]);
      printf("%f\t%f\t%f\n", param0[0],param0[1],param0[2]);
      printf("%f\t%f\t%f\n", error0[0],error0[1],error0[2]);
      for (Int_t ipar=0;ipar<4; ipar++){
	fParamRMS0[idir][itype][ipar] = param0[ipar];	
	fErrorRMS0[idir][itype][ipar] = param0[ipar];	
      }
      FitRMSQ(tree, idir, itype,param0,error0);
      printf("\nRMSQ\t%d\t%d\tchi2=%f\n",idir,itype,param0[5]);
      printf("%f\t%f\t%f\t%f\t%f\n", param0[0],param0[1],param0[2],param0[3],param0[4]);
      printf("%f\t%f\t%f\t%f\t%f\n", error0[0],error0[1],error0[2],error0[3],error0[4]);
      for (Int_t ipar=0;ipar<6; ipar++){
	fParamRMSQ[idir][itype][ipar] = param0[ipar];	
	fErrorRMSQ[idir][itype][ipar] = param0[ipar];	
      }
    }
  }
  //
  printf("RMS z-scaled\n");
  for (Int_t idir=0;idir<2; idir++){    
    Float_t param0[5];
    Float_t error0[5];
    FitRMS1(tree, idir,param0,error0);
    printf("\nRMS\t%d\tchi2=%f\n",idir,param0[4]);
    printf("%f\t%f\t%f\t%f\n", param0[0],param0[1],param0[2], param0[3]);
    printf("%f\t%f\t%f\t%f\n", error0[0],error0[1],error0[2], error0[3]);
    for (Int_t ipar=0;ipar<5; ipar++){
      fParamRMS1[idir][ipar] = param0[ipar];	
      fErrorRMS1[idir][ipar] = param0[ipar];	
    }
  }

  for (Int_t idir=0;idir<2; idir++){
    printf("\nDirection %d\n",idir);
    printf("%d\t%f\t%f\t%f\t%f\n", -1,fParamRMS1[idir][0],fParamRMS1[idir][1],fParamRMS1[idir][2], fParamRMS1[idir][3]);
    for (Int_t itype=0; itype<3; itype++){
      Float_t length=0.75;
      if (itype==1) length=1;
      if (itype==2) length=1.5;
      if (itype==0) printf("%d\t%f\t\t\t%f\t%f\n", itype,fParamRMS0[idir][itype][0],fParamRMS0[idir][itype][1],fParamRMS0[idir][itype][2]/length);
      if (itype>0) printf("%d\t\t\t%f\t%f\t%f\n", itype,fParamRMS0[idir][itype][0],fParamRMS0[idir][itype][1],fParamRMS0[idir][itype][2]/length);
    }
  }  
  //
  // Fit RMS sigma
  //
  printf("RMS fluctuation  parameterization \n");
  for (Int_t idir=0;idir<2; idir++){    
    for (Int_t itype=0; itype<3; itype++){ 
      Float_t param0[5];
      Float_t error0[5];
      FitRMSSigma(tree, idir,itype,param0,error0); 
      printf("\t%d\t%d\t%f\t%f\n", idir, itype, param0[0],param0[1]);
      for (Int_t ipar=0;ipar<2; ipar++){
	fRMSSigmaFit[idir][itype][ipar] = param0[ipar];	
      }
    }
  } 
  //
  // store systematic error end RMS fluctuation parameterization
  //
  TH1F hratio("hratio","hratio",100,-0.1,0.1);
  tree->Draw("(RMSm-AliTPCClusterParam::SGetRMSQ(Dim,Pad,Zm,AngleM,QMean))/RMSm>>hratio","Dim==0&&QMean>0");
  fErrorRMSSys[0] = hratio.GetRMS();
  tree->Draw("(RMSm-AliTPCClusterParam::SGetRMSQ(Dim,Pad,Zm,AngleM,QMean))/RMSm>>hratio","Dim==1&&QMean>0");
  fErrorRMSSys[1] = hratio.GetRMS();
  TH1F hratioR("hratioR","hratioR",100,0,0.2);
  tree->Draw("RMSs/RMSm>>hratioR","Dim==0&&QMean>0");
  fRMSSigmaRatio[0][0]=hratioR.GetMean();
  fRMSSigmaRatio[0][1]=hratioR.GetRMS();
  tree->Draw("RMSs/RMSm>>hratioR","Dim==1&&QMean>0");
  fRMSSigmaRatio[1][0]=hratioR.GetMean();
  fRMSSigmaRatio[1][1]=hratioR.GetRMS();
}

void AliTPCClusterParam::Test(TTree * tree, const char *output){
  //
  // Draw standard quality histograms to output file
  //
  SetInstance(this);
  TFile f(output,"recreate");
  f.cd();
  //
  // 1D histograms - resolution
  //
  for (Int_t idim=0; idim<2; idim++){
    for (Int_t ipad=0; ipad<3; ipad++){
      char hname1[300];
      char hcut1[300];
      char hexp1[300];
      //
      snprintf(hname1,300,"Delta0 Dir %d Pad %d",idim,ipad);
      snprintf(hcut1,300,"Dim==%d&&QMean<0&&Pad==%d",idim,ipad);
      snprintf(hexp1,300,"(Resol-AliTPCClusterParam::SGetError0(Dim,Pad,Zm,AngleM))/Resol>>%s",hname1);
      TH1F  his1DRel0(hname1, hname1, 100,-0.2, 0.2);
      snprintf(hname1,300,"Dim==%d&&QMean<0&&Pad=%d",idim,ipad);
      tree->Draw(hexp1,hcut1,"");
      his1DRel0.Write();
      //
      snprintf(hname1,300,"Delta0Par Dir %d Pad %d",idim,ipad);
      snprintf(hcut1,300,"Dim==%d&&QMean<0&&Pad==%d",idim,ipad);
      snprintf(hexp1,300,"(Resol-AliTPCClusterParam::SGetError0Par(Dim,Pad,Zm,AngleM))/Resol>>%s",hname1);
      TH1F  his1DRel0Par(hname1, hname1, 100,-0.2, 0.2);
      snprintf(hname1,300,"Dim==%d&&QMean<0&&Pad=%d",idim,ipad);
      tree->Draw(hexp1,hcut1,"");
      his1DRel0Par.Write();
      //
    }
  }
  //
  // 2D histograms - resolution
  //
  for (Int_t idim=0; idim<2; idim++){
    for (Int_t ipad=0; ipad<3; ipad++){
      char hname1[300];
      char hcut1[300];
      char hexp1[300];
      //
      snprintf(hname1,300,"2DDelta0 Dir %d Pad %d",idim,ipad);
      snprintf(hcut1,300,"Dim==%d&&QMean<0&&Pad==%d",idim,ipad);
      snprintf(hexp1,300,"(Resol-AliTPCClusterParam::SGetError0(Dim,Pad,Zm,AngleM))/Resol:AngleM:Zm>>%s",hname1);
      TProfile2D  profDRel0(hname1, hname1, 6,0,250,6,0,1);
      snprintf(hname1,300,"Dim==%d&&QMean<0&&Pad=%d",idim,ipad);
      tree->Draw(hexp1,hcut1,"");
      profDRel0.Write();
      //
      snprintf(hname1,300,"2DDelta0Par Dir %d Pad %d",idim,ipad);
      snprintf(hcut1,300,"Dim==%d&&QMean<0&&Pad==%d",idim,ipad);
      snprintf(hexp1,300,"(Resol-AliTPCClusterParam::SGetError0Par(Dim,Pad,Zm,AngleM))/Resol:AngleM:Zm>>%s",hname1);
      TProfile2D profDRel0Par(hname1, hname1,6,0,250,6,0,1);
      snprintf(hname1,300,"Dim==%d&&QMean<0&&Pad=%d",idim,ipad);
      tree->Draw(hexp1,hcut1,"");
      profDRel0Par.Write();
      //
    }
  }
}



void AliTPCClusterParam::Print(Option_t* /*option*/) const{
  //
  // Print param Information
  //

  //
  // Error parameterization
  //
  printf("\nResolution Scaled factors\n");
  printf("Dir\tPad\tP0\t\tP1\t\tP2\t\tchi2\n");
  printf("Y\tall\t%f\t%f\t%f\t%f\n", TMath::Sqrt(TMath::Abs(fParamS1[0][0])),TMath::Sqrt(TMath::Abs(fParamS1[0][1])),
	 TMath::Sqrt(TMath::Abs(fParamS1[0][2])),TMath::Sqrt(TMath::Abs(fParamS1[0][3])));
  for (Int_t ipad=0; ipad<3; ipad++){
    Float_t length=0.75;
    if (ipad==1) length=1;
    if (ipad==2) length=1.5;    
    printf("\t%d\t%f\t%f\t%f\t%f\n", ipad, 
	   TMath::Sqrt(TMath::Abs(fParamS0[0][ipad][0])),
	   TMath::Sqrt(TMath::Abs(fParamS0[0][ipad][1]*length)),
	   TMath::Sqrt(TMath::Abs(fParamS0[0][ipad][2]/length)),
	   TMath::Sqrt(TMath::Abs(fParamS0[0][ipad][3])));
  }
  for (Int_t ipad=0; ipad<3; ipad++){
    Float_t length=0.75;
    if (ipad==1) length=1;
    if (ipad==2) length=1.5;
    printf("\t%dPar\t%f\t%f\t%f\t%f\n", ipad, 
	   TMath::Sqrt(TMath::Abs(fParamS0Par[0][ipad][0])),
	   TMath::Sqrt(TMath::Abs(fParamS0Par[0][ipad][1]*length)),
	   TMath::Sqrt(TMath::Abs(fParamS0Par[0][ipad][2]/length)),
	   TMath::Sqrt(TMath::Abs(fParamS0Par[0][ipad][6])));
  }
  printf("Z\tall\t%f\t%f\t%f\t%f\n", TMath::Sqrt(TMath::Abs(fParamS1[1][0])),TMath::Sqrt(fParamS1[1][1]),
	 TMath::Sqrt(fParamS1[1][2]), TMath::Sqrt(fParamS1[1][3]));
  
  for (Int_t ipad=0; ipad<3; ipad++){
    Float_t length=0.75;
    if (ipad==1) length=1;
    if (ipad==2) length=1.5;    
    printf("\t%d\t%f\t%f\t%f\t%f\n", ipad, 
	   TMath::Sqrt(TMath::Abs(fParamS0[1][ipad][0])),
	   TMath::Sqrt(TMath::Abs(fParamS0[1][ipad][1]*length)),
	   TMath::Sqrt(TMath::Abs(fParamS0[1][ipad][2]/length)),
	   TMath::Sqrt(TMath::Abs(fParamS0[1][ipad][3])));
  }
  for (Int_t ipad=0; ipad<3; ipad++){
    Float_t length=0.75;
    if (ipad==1) length=1;
    if (ipad==2) length=1.5;        
    printf("\t%dPar\t%f\t%f\t%f\t%f\n", ipad, 
	   TMath::Sqrt(TMath::Abs(TMath::Abs(fParamS0Par[1][ipad][0]))),
	   TMath::Sqrt(TMath::Abs(fParamS0Par[1][ipad][1]*length)),
	   TMath::Sqrt(TMath::Abs(fParamS0Par[1][ipad][2]/length)),
	   TMath::Sqrt(TMath::Abs(fParamS0Par[1][ipad][6])));
  }
  
  //
  // RMS scaling
  //
  printf("\n");
  printf("\nRMS Scaled factors\n");
  printf("Dir\tPad\tP00\t\tP01\t\tP1\t\tP2\t\tchi2\n");
  printf("Y\tall\t%f\t%f\t%f\t%f\t%f\n", 
	 TMath::Sqrt(TMath::Abs(fParamRMS1[0][0])),
	 TMath::Sqrt(TMath::Abs(fParamRMS1[0][1])),
	 TMath::Sqrt(TMath::Abs(fParamRMS1[0][2])),
	 TMath::Sqrt(TMath::Abs(fParamRMS1[0][3])),
	 TMath::Sqrt(TMath::Abs(fParamRMS1[0][4])));
  for (Int_t ipad=0; ipad<3; ipad++){
    Float_t length=0.75;
    if (ipad==1) length=1;
    if (ipad==2) length=1.5;    
    if (ipad==0){
      printf("\t%d\t%f\t%f\t%f\t%f\t%f\n", ipad, 
	     TMath::Sqrt(TMath::Abs(fParamRMS0[0][ipad][0])),
	     0.,
	     TMath::Sqrt(TMath::Abs(fParamRMS0[0][ipad][1])),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[0][ipad][2]/(length*length))),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[0][ipad][3])));
    }else{
      printf("\t%d\t%f\t%f\t%f\t%f\t%f\n", ipad, 
	     0.,
	     TMath::Sqrt(TMath::Abs(fParamRMS0[0][ipad][0])),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[0][ipad][1])),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[0][ipad][2]/(length*length))),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[0][ipad][3])));	
    }
  }
  printf("\n");
  printf("Z\tall\t%f\t%f\t%f\t%f\t%f\n", 
	 TMath::Sqrt(TMath::Abs(fParamRMS1[1][0])),
	 TMath::Sqrt(TMath::Abs(fParamRMS1[1][1])),
	 TMath::Sqrt(TMath::Abs(fParamRMS1[1][2])),
	 TMath::Sqrt(TMath::Abs(fParamRMS1[1][3])),
	 TMath::Sqrt(TMath::Abs(fParamRMS1[1][4])));
  for (Int_t ipad=0; ipad<3; ipad++){
    Float_t length=0.75;
    if (ipad==1) length=1;
    if (ipad==2) length=1.5;    
    if (ipad==0){
      printf("\t%d\t%f\t%f\t%f\t%f\t%f\n", ipad, 
	     TMath::Sqrt(TMath::Abs(fParamRMS0[1][ipad][0])),
	     0.,
	     TMath::Sqrt(TMath::Abs(fParamRMS0[1][ipad][1])),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[1][ipad][2]/(length*length))),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[1][ipad][3])));
    }else{
      printf("\t%d\t%f\t%f\t%f\t%f\t%f\n", ipad, 
	     0.,
	     TMath::Sqrt(TMath::Abs(fParamRMS0[1][ipad][0])),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[1][ipad][1])),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[1][ipad][2]/(length*length))),
	     TMath::Sqrt(TMath::Abs(fParamRMS0[1][ipad][3])));	
    }
  }
  printf("\ndEdx  correction matrix used in GetQnormCorr\n");
  fQNormCorr->Print();

}





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);

  if (fQNorm==0) return 0;
  TVectorD * norm = (TVectorD*)fQNorm->At(3*itype+ipad);
  if (!norm) return 0;
  TVectorD &no  = *norm;
  Float_t   res = 
    no[0]+
    no[1]*dr+
    no[2]*ty+
    no[3]*tz+
    no[4]*dr*ty+
    no[5]*dr*tz+
    no[6]*ty*tz+
    no[7]*dr*dr+
    no[8]*ty*ty+
    no[9]*tz*tz;
  res/=no[0];
  return res;
}



Float_t AliTPCClusterParam::QnormHis(Int_t ipad, Int_t itype, Float_t dr, Float_t p2, Float_t p3){
  // get Q normalization
  // type - 0 Qtot 1 Qmax
  // ipad - 0 (0.75 cm) ,1 (1 cm), 2 (1.5 cm)
  //

  if (fQNormHis==0) return 0;
  TH3F * norm = (TH3F*)fQNormHis->At(4*itype+ipad);
  if (!norm) return 1;
  p2=TMath::Abs(p2);
  dr=TMath::Min(dr,Float_t(norm->GetXaxis()->GetXmax()-norm->GetXaxis()->GetBinWidth(0)));
  dr=TMath::Max(dr,Float_t(norm->GetXaxis()->GetXmin()+norm->GetXaxis()->GetBinWidth(0)));
  //
  p2=TMath::Min(p2,Float_t(norm->GetYaxis()->GetXmax()-norm->GetYaxis()->GetBinWidth(0)));
  p2=TMath::Max(p2,Float_t(norm->GetYaxis()->GetXmin()+norm->GetYaxis()->GetBinWidth(0)));
  //
  p3=TMath::Min(p3,Float_t(norm->GetZaxis()->GetXmax()-norm->GetZaxis()->GetBinWidth(0)));
  p3=TMath::Max(p3,Float_t(norm->GetZaxis()->GetXmin()+norm->GetZaxis()->GetBinWidth(0)));
  //
  Double_t res = norm->GetBinContent(norm->FindBin(dr,p2,p3));
  if (res==0) res = norm->GetBinContent(norm->FindBin(0.5,0.5,0.5));  // This is just hack - to be fixed entries without 

  return res;
}



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)
  //

  if (fQNorm==0) fQNorm = new TObjArray(6);
  fQNorm->AddAt(new TVectorD(*norm), itype*3+ipad);
}

void AliTPCClusterParam::ResetQnormCorr(){
  //
  //
  //
  if (!fQNormCorr) fQNormCorr= new TMatrixD(12,6);
  for (Int_t irow=0;irow<12; irow++)
    for (Int_t icol=0;icol<6; icol++){
      (*fQNormCorr)(irow,icol)=1.;             // default - no correction
      if (irow>5) (*fQNormCorr)(irow,icol)=0.; // default - no correction
    } 
}

void AliTPCClusterParam::SetQnormCorr(Int_t ipad, Int_t itype, Int_t corrType, Float_t val, Int_t mode){
  //
  // 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
  if (!fQNormCorr) {
    ResetQnormCorr();
  }
  //
  // eff shap parameterization matrix
  //
  // rows
  // itype*3+ipad  - itype=0 qtot itype=1 qmax ipad=0
  // 
  if (mode==1) { 
    // mode introduced in 20.07.2014 - git describe ~ vAN-20140703-48-g3449a97 - to keep back compatibility with o
    (*fQNormCorr)(itype*3+ipad, corrType) = val;  // set value
    return;
  }
  if (itype<2) (*fQNormCorr)(itype*3+ipad, corrType) *= val;  // multiplicative correction
  if (itype>=2) (*fQNormCorr)(itype*3+ipad, corrType)+= val;  // additive       correction  
}

Double_t  AliTPCClusterParam::GetQnormCorr(Int_t ipad, Int_t itype, Int_t corrType) const{
  //
  // see AliTPCClusterParam::SetQnormCorr
  //
  if (!fQNormCorr) return 0;
  return  (*fQNormCorr)(itype*3+ipad, corrType);
}


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
  //  
  
  //The results can be visualized using the debug streamer information of the AliTPCcalibTracksGain - 
  // Following variable used - correspondance to the our variable conventions  
  //chain0->SetAlias("dp","((Cl.fPad-int(Cl.fPad)-0.5)/0.5)");
  Double_t dp = ((pad-int(pad)-0.5)*2.);
  //chain0->SetAlias("dt","((Cl.fTimeBin-int(Cl.fTimeBin)-0.5)/0.5)");
  Double_t dt = ((time-int(time)-0.5)*2.);
  //chain0->SetAlias("di","(sqrt(1.-abs(Cl.fZ)/250.))");
  Double_t di = TMath::Sqrt(1-TMath::Abs(z)/250.);
  //chain0->SetAlias("dq0","(0.2*(Cl.fQ+2)/(Cl.fMax+2))");
  Double_t dq0 = 0.2*(qt+2.)/(qm+2.);
  //chain0->SetAlias("dq1","(5*(Cl.fMax+2)/(Cl.fQ+2))");
  Double_t dq1 = 5.*(qm+2.)/(qt+2.);
  //chain0->SetAlias("sy","(0.32/sqrt(0.01^2+Cl.fSigmaY2))");
  Double_t sy  = 0.32/TMath::Sqrt(0.01*0.01+sy2);
  //chain0->SetAlias("sz","(0.32/sqrt(0.01^2+Cl.fSigmaZ2))");
  Double_t sz  = 0.32/TMath::Sqrt(0.01*0.01+sz2);
  //
  //
  //
  TVectorD * pvec = 0;
  if (isMax){
    pvec = fPosQMnorm[ipad];
  }else{
    pvec = fPosQTnorm[ipad];    
  }
  TVectorD &param = *pvec;
  //
  // Eval part  - in correspondance with fit part from debug streamer
  // 
  Double_t result=param[0];
  Int_t index =1;
  //
  result+=dp*param[index++];                               //1
  result+=dt*param[index++];                               //2
  result+=dp*dp*param[index++];                             //3
  result+=dt*dt*param[index++];                             //4
  result+=dt*dt*dt*param[index++];                             //5
  result+=dp*dt*param[index++];                            //6
  result+=dp*dt*dt*param[index++];                          //7
  result+=(dq0)*param[index++];                            //8
  result+=(dq1)*param[index++];                            //9
  //
  //
  result+=dp*dp*(di)*param[index++];                        //10
  result+=dt*dt*(di)*param[index++];                        //11
  result+=dp*dp*sy*param[index++];                          //12
  result+=dt*sz*param[index++];                          //13
  result+=dt*dt*sz*param[index++];                          //14
  result+=dt*dt*dt*sz*param[index++];                          //15
  //
  result+=dp*dp*1*sy*sz*param[index++];                     //16
  result+=dt*sy*sz*param[index++];                       //17
  result+=dt*dt*sy*sz*param[index++];                       //18
  result+=dt*dt*dt*sy*sz*param[index++];                       //19
  //
  result+=dp*dp*(dq0)*param[index++];                       //20
  result+=dt*1*(dq0)*param[index++];                       //21
  result+=dt*dt*(dq0)*param[index++];                       //22
  result+=dt*dt*dt*(dq0)*param[index++];                       //23
  //
  result+=dp*dp*(dq1)*param[index++];                       //24
  result+=dt*(dq1)*param[index++];                       //25
  result+=dt*dt*(dq1)*param[index++];                       //26
  result+=dt*dt*dt*(dq1)*param[index++];                       //27

  if (result<0.75) result=0.75;
  if (result>1.25) result=1.25;

  return result;
  
}





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
  
  //
  //chainres->SetAlias("dp","(-1+(Cl.fZ>0)*2)*((Cl.fPad-int(Cl.fPad))-0.5)");
  //chainres->SetAlias("dt","(-1+(Cl.fZ>0)*2)*((Cl.fTimeBin-0.66-int(Cl.fTimeBin-0.66))-0.5)");
  //chainres->SetAlias("sp","(sin(dp*pi)-dp*pi)");
  //chainres->SetAlias("st","(sin(dt)-dt)");
  //
  //chainres->SetAlias("di","sqrt(1.-abs(Cl.fZ/250.))");

  //
  // Derived variables
  //
  Double_t dp = (-1+(z>0)*2)*((pad-int(pad))-0.5);
  Double_t dt = (-1+(z>0)*2)*((time-0.66-int(time-0.66))-0.5);
  Double_t sp = (TMath::Sin(dp*TMath::Pi())-dp*TMath::Pi());
  Double_t st = (TMath::Sin(dt)-dt);
  //
  Double_t di = TMath::Sqrt(TMath::Abs(1.-TMath::Abs(z/250.)));
  //
  //
  //
  TVectorD * pvec = 0;
  if (type==0){
    pvec = fPosYcor[ipad];
  }else{
    pvec = fPosZcor[ipad];    
  }
  TVectorD &param = *pvec;
  //
  Double_t result=0;
  Int_t index =1;

  if (type==0){
    // y corr
    result+=(dp)*param[index++];             //1
    result+=(dp)*di*param[index++];          //2
    //
    result+=(sp)*param[index++];             //3
    result+=(sp)*di*param[index++];          //4
  }
  if (type==1){
    result+=(dt)*param[index++];             //1
    result+=(dt)*di*param[index++];          //2
    //
    result+=(st)*param[index++];             //3
    result+=(st)*di*param[index++];          //4
  }
  if (TMath::Abs(result)>0.05) return 0;
  return result;
}



Double_t  AliTPCClusterParam::GaussConvolution(Double_t x0, Double_t x1, Double_t k0, Double_t k1, Double_t s0, Double_t s1){
  //
  // 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)
  //
  const Double_t kEpsilon = 0.0001;
  const Double_t twoPi = TMath::TwoPi();
  const Double_t hnorm = 0.5/TMath::Sqrt(twoPi);
  const Double_t sqtwo = TMath::Sqrt(2.);

  if ((TMath::Abs(k0)+TMath::Abs(k1))<kEpsilon*(s0+s1)){
    // small angular effect
    Double_t val = TMath::Gaus(x0,0,s0)*TMath::Gaus(x1,0,s1)/(s0*s1*twoPi);
    return val;
  }
  Double_t sigma2 = k1*k1*s0*s0+k0*k0*s1*s1;
  Double_t sigma = TMath::Sqrt(sigma2);
  Double_t exp0 = TMath::Exp(-(k1*x0-k0*x1)*(k1*x0-k0*x1)/(2.*sigma2));
  //
  Double_t sigmaErf =  1./(2.*s0*s1*sqtwo*sigma);
  Double_t k0s1s1 = 2.*k0*s1*s1;
  Double_t k1s0s0 = 2.*k1*s0*s0;
  Double_t erf0 = AliMathBase::ErfFast((sigma2-k0s1s1*x0-k1s0s0*x1)*sigmaErf);
  Double_t erf1 = AliMathBase::ErfFast((sigma2+k0s1s1*x0+k1s0s0*x1)*sigmaErf);
  Double_t norm = hnorm/sigma;
  Double_t val  = norm*exp0*(erf0+erf1);
  return val;
}


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){
  //
  // 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)
  Double_t sum =1, mean=0;
  // the COG of exponent
  for (Float_t iexp=0;iexp<5;iexp+=0.2){
    mean+=iexp*TMath::Exp(-iexp/tau);
    sum +=TMath::Exp(-iexp/tau);
  }
  mean/=sum;
  //
  sum = 1;
  Double_t val = GaussConvolution(x0,x1+mean, k0, k1 , s0,s1);
  for (Float_t iexp=0;iexp<5;iexp+=0.2){
    val+=GaussConvolution(x0,x1+mean-iexp, k0, k1 , s0,s1)*TMath::Exp(-iexp/tau);
    sum+=TMath::Exp(-iexp/tau);
  }
  return val/sum;
}

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){
  //
  // 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)
  Double_t sum =0, mean=0;
  // the COG of G4
  for (Float_t iexp=0;iexp<5;iexp+=0.2){
    Double_t g4 = TMath::Exp(-4.*iexp/tau)*TMath::Power(iexp/tau,4.);
    mean+=iexp*g4;
    sum +=g4;
  }
  mean/=sum;
  //
  sum = 0;
  Double_t val = 0;
  for (Float_t iexp=0;iexp<5;iexp+=0.2){ 
    Double_t g4 = TMath::Exp(-4.*iexp/tau)*TMath::Power(iexp/tau,4.);
    val+=GaussConvolution(x0,x1+mean-iexp, k0, k1 , s0,s1)*g4;
    sum+=g4;
  }
  return val/sum;
}

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 effPad, Float_t effDiff){
  //
  //
  // 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

  // Response function aproximated by convolution of gaussian with angular effect (integral=1)
  //  
  // Gaus width sy and sz is determined by RF width and diffusion 
  // Integral of Q is equal 1
  // Q max is calculated at position cpad, ctime
  // Example function:         
  //  TF1 f1("f1", "AliTPCClusterParam::QmaxCorrection(0,0.5,x,0,0,0.5,0.6)",0,1000) 
  //
  AliTPCParam * param   = AliTPCcalibDB::Instance()->GetParameters(); 
  Double_t padLength= param->GetPadPitchLength(sector,row);
  Double_t padWidth = param->GetPadPitchWidth(sector);
  Double_t zwidth   = param->GetZWidth();
  Double_t effLength= padLength+(param->GetWWPitch(0)+TMath::Sqrt(ctime*zwidth)*param->GetDiffT())*effPad;

  // diffusion in pad, time bin  units
  Double_t diffT=TMath::Sqrt(ctime*zwidth)*param->GetDiffT()/padWidth;
  Double_t diffL=TMath::Sqrt(ctime*zwidth)*param->GetDiffL()/zwidth;
  diffT*=effDiff;  //
  diffL*=effDiff;  //
  //
  // transform angular effect to pad units
  //
  Double_t pky   = ky*effLength/padWidth;
  Double_t pkz   = kz*effLength/zwidth;
  // position in pad unit
  Double_t py = (cpad+0.5)-TMath::Nint(cpad+0.5);
  Double_t pz = (ctime+0.5)-TMath::Nint(ctime+0.5);
  //
  //
  Double_t sy = TMath::Sqrt(rmsy0*rmsy0+diffT*diffT);
  Double_t sz = TMath::Sqrt(rmsz0*rmsz0+diffL*diffL); 
  //return GaussConvolutionGamma4(py,pz, pky,pkz,sy,sz,tau);
  Double_t length = padLength*TMath::Sqrt(1+ky*ky+kz*kz);
  return GaussConvolution(py,pz, pky,pkz,sy,sz)*length;
}

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 effPad, Float_t effDiff){
  //
  //
  // 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

  // Response function aproximated by convolution of gaussian with angular effect (integral=1)
  //  
  // Gaus width sy and sz is determined by RF width and diffusion 
  // Integral of Q is equal 1
  // Q max is calculated at position cpad, ctime
  //          
  //  
  //
  AliTPCParam * param   = AliTPCcalibDB::Instance()->GetParameters(); 
  Double_t padLength= param->GetPadPitchLength(sector,row);
  Double_t padWidth = param->GetPadPitchWidth(sector);
  Double_t zwidth   = param->GetZWidth();
  Double_t effLength= padLength+(param->GetWWPitch(0)+TMath::Sqrt(ctime*zwidth)*param->GetDiffT())*effPad;
  //
  // diffusion in pad units
  Double_t diffT=TMath::Sqrt(ctime*zwidth)*param->GetDiffT()/padWidth;
  Double_t diffL=TMath::Sqrt(ctime*zwidth)*param->GetDiffL()/zwidth;
  diffT*=effDiff;  //
  diffL*=effDiff;  //
  //
  // transform angular effect to pad units 
  Double_t pky   = ky*effLength/padWidth;
  Double_t pkz   = kz*effLength/zwidth;
  // position in pad unit
  //  
  Double_t py = (cpad+0.5)-TMath::Nint(cpad+0.5);
  Double_t pz = (ctime+0.5)-TMath::Nint(ctime+0.5);
  //
  Double_t sy = TMath::Sqrt(rmsy0*rmsy0+diffT*diffT);
  Double_t sz = TMath::Sqrt(rmsz0*rmsz0+diffL*diffL); 
  //
  //
  //
  Double_t sumAll=0,sumThr=0;
  //
  Double_t corr =1;
  Double_t qnorm=qtot;
  for (Float_t iy=-3;iy<=3;iy+=1.)
    for (Float_t iz=-4;iz<=4;iz+=1.){
      //      Double_t val = GaussConvolutionGamma4(py-iy,pz-iz, pky,pkz, sy,sz,tau);      
      Double_t val = GaussConvolution(py-iy,pz-iz, pky,pkz, sy,sz);      
      Double_t qlocal =qnorm*val;
      if (TMath::Abs(iy)<1.5&&TMath::Abs(iz)<1.5){
      	sumThr+=qlocal;   // Virtual charge used in cluster finder
      }
      else{
	if (qlocal>thr && TMath::Abs(iz)<2.5&&TMath::Abs(iy)<2.5) sumThr+=qlocal;
      }
      sumAll+=qlocal;
    }
  if (sumAll>0&&sumThr>0) {
    corr=(sumThr)/sumAll;
  }
  //
  Double_t length = padLength*TMath::Sqrt(1+ky*ky+kz*kz);
  return corr*length;
}



void AliTPCClusterParam::SetWaveCorrectionMap( THnBase *Map)
{
  //
  // Set Correction Map for Y
  //
  delete fWaveCorrectionMap;
  fWaveCorrectionMap = 0;
  fWaveCorrectionMirroredPad = kFALSE;
  fWaveCorrectionMirroredZ = kFALSE;
  fWaveCorrectionMirroredAngle = kFALSE;
  if( Map ){
    fWaveCorrectionMap = dynamic_cast<THnBase*>( Map->Clone(Map->GetName()));
    if( fWaveCorrectionMap ){
      fWaveCorrectionMirroredPad   = ( fWaveCorrectionMap->GetAxis(3)->FindFixBin(0.5)<=1 );   // Pad axis is mirrored at 0.5
      fWaveCorrectionMirroredZ     = ( fWaveCorrectionMap->GetAxis(1)->FindFixBin(0)<=1); // Z axis is mirrored at 0
      fWaveCorrectionMirroredAngle = ( fWaveCorrectionMap->GetAxis(4)->FindFixBin(0.0)<=1 );   // Angle axis is mirrored at 0
    }
  }
}

void AliTPCClusterParam::SetResolutionYMap( THnBase *Map)
{
  //
  // Set Resolution Map for Y
  //
  delete fResolutionYMap;
  fResolutionYMap = 0;
  if( Map ){
    fResolutionYMap = dynamic_cast<THnBase*>( Map->Clone(Map->GetName()));
  }
}

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
  //

  if( !fWaveCorrectionMap ) return 0;
  Bool_t swapY = kFALSE;
  Pad = Pad-(Int_t)Pad;

  if( TMath::Abs(Pad-0.5)<1.e-8 ){// one pad clusters a stored in underflow bins
    Pad = -1.; 
  } else {
    if( fWaveCorrectionMirroredPad && (Pad<0.5) ){ // cog axis is mirrored at 0.5
	swapY = !swapY;
	Pad = 1.0 - Pad;
    }
  }

  if( fWaveCorrectionMirroredZ && (Z<0) ){ // Z axis is mirrored at 0
    swapY = !swapY;
    Z = -Z;
  }
  
  if( fWaveCorrectionMirroredAngle && (angleY<0) ){ // Angle axis is mirrored at 0
    angleY = -angleY;
  }  
  double var[5] = { static_cast<double>(Type), Z, static_cast<double>(QMax), Pad, angleY };
  Long64_t bin = fWaveCorrectionMap->GetBin(var, kFALSE );
  if( bin<0 ) return 0;
  Double_t dY = fWaveCorrectionMap->GetBinContent(bin);
  return (swapY ?-dY :dY);
}

 AliTPCClusterParam.cxx:1
 AliTPCClusterParam.cxx:2
 AliTPCClusterParam.cxx:3
 AliTPCClusterParam.cxx:4
 AliTPCClusterParam.cxx:5
 AliTPCClusterParam.cxx:6
 AliTPCClusterParam.cxx:7
 AliTPCClusterParam.cxx:8
 AliTPCClusterParam.cxx:9
 AliTPCClusterParam.cxx:10
 AliTPCClusterParam.cxx:11
 AliTPCClusterParam.cxx:12
 AliTPCClusterParam.cxx:13
 AliTPCClusterParam.cxx:14
 AliTPCClusterParam.cxx:15
 AliTPCClusterParam.cxx:16
 AliTPCClusterParam.cxx:17
 AliTPCClusterParam.cxx:18
 AliTPCClusterParam.cxx:19
 AliTPCClusterParam.cxx:20
 AliTPCClusterParam.cxx:21
 AliTPCClusterParam.cxx:22
 AliTPCClusterParam.cxx:23
 AliTPCClusterParam.cxx:24
 AliTPCClusterParam.cxx:25
 AliTPCClusterParam.cxx:26
 AliTPCClusterParam.cxx:27
 AliTPCClusterParam.cxx:28
 AliTPCClusterParam.cxx:29
 AliTPCClusterParam.cxx:30
 AliTPCClusterParam.cxx:31
 AliTPCClusterParam.cxx:32
 AliTPCClusterParam.cxx:33
 AliTPCClusterParam.cxx:34
 AliTPCClusterParam.cxx:35
 AliTPCClusterParam.cxx:36
 AliTPCClusterParam.cxx:37
 AliTPCClusterParam.cxx:38
 AliTPCClusterParam.cxx:39
 AliTPCClusterParam.cxx:40
 AliTPCClusterParam.cxx:41
 AliTPCClusterParam.cxx:42
 AliTPCClusterParam.cxx:43
 AliTPCClusterParam.cxx:44
 AliTPCClusterParam.cxx:45
 AliTPCClusterParam.cxx:46
 AliTPCClusterParam.cxx:47
 AliTPCClusterParam.cxx:48
 AliTPCClusterParam.cxx:49
 AliTPCClusterParam.cxx:50
 AliTPCClusterParam.cxx:51
 AliTPCClusterParam.cxx:52
 AliTPCClusterParam.cxx:53
 AliTPCClusterParam.cxx:54
 AliTPCClusterParam.cxx:55
 AliTPCClusterParam.cxx:56
 AliTPCClusterParam.cxx:57
 AliTPCClusterParam.cxx:58
 AliTPCClusterParam.cxx:59
 AliTPCClusterParam.cxx:60
 AliTPCClusterParam.cxx:61
 AliTPCClusterParam.cxx:62
 AliTPCClusterParam.cxx:63
 AliTPCClusterParam.cxx:64
 AliTPCClusterParam.cxx:65
 AliTPCClusterParam.cxx:66
 AliTPCClusterParam.cxx:67
 AliTPCClusterParam.cxx:68
 AliTPCClusterParam.cxx:69
 AliTPCClusterParam.cxx:70
 AliTPCClusterParam.cxx:71
 AliTPCClusterParam.cxx:72
 AliTPCClusterParam.cxx:73
 AliTPCClusterParam.cxx:74
 AliTPCClusterParam.cxx:75
 AliTPCClusterParam.cxx:76
 AliTPCClusterParam.cxx:77
 AliTPCClusterParam.cxx:78
 AliTPCClusterParam.cxx:79
 AliTPCClusterParam.cxx:80
 AliTPCClusterParam.cxx:81
 AliTPCClusterParam.cxx:82
 AliTPCClusterParam.cxx:83
 AliTPCClusterParam.cxx:84
 AliTPCClusterParam.cxx:85
 AliTPCClusterParam.cxx:86
 AliTPCClusterParam.cxx:87
 AliTPCClusterParam.cxx:88
 AliTPCClusterParam.cxx:89
 AliTPCClusterParam.cxx:90
 AliTPCClusterParam.cxx:91
 AliTPCClusterParam.cxx:92
 AliTPCClusterParam.cxx:93
 AliTPCClusterParam.cxx:94
 AliTPCClusterParam.cxx:95
 AliTPCClusterParam.cxx:96
 AliTPCClusterParam.cxx:97
 AliTPCClusterParam.cxx:98
 AliTPCClusterParam.cxx:99
 AliTPCClusterParam.cxx:100
 AliTPCClusterParam.cxx:101
 AliTPCClusterParam.cxx:102
 AliTPCClusterParam.cxx:103
 AliTPCClusterParam.cxx:104
 AliTPCClusterParam.cxx:105
 AliTPCClusterParam.cxx:106
 AliTPCClusterParam.cxx:107
 AliTPCClusterParam.cxx:108
 AliTPCClusterParam.cxx:109
 AliTPCClusterParam.cxx:110
 AliTPCClusterParam.cxx:111
 AliTPCClusterParam.cxx:112
 AliTPCClusterParam.cxx:113
 AliTPCClusterParam.cxx:114
 AliTPCClusterParam.cxx:115
 AliTPCClusterParam.cxx:116
 AliTPCClusterParam.cxx:117
 AliTPCClusterParam.cxx:118
 AliTPCClusterParam.cxx:119
 AliTPCClusterParam.cxx:120
 AliTPCClusterParam.cxx:121
 AliTPCClusterParam.cxx:122
 AliTPCClusterParam.cxx:123
 AliTPCClusterParam.cxx:124
 AliTPCClusterParam.cxx:125
 AliTPCClusterParam.cxx:126
 AliTPCClusterParam.cxx:127
 AliTPCClusterParam.cxx:128
 AliTPCClusterParam.cxx:129
 AliTPCClusterParam.cxx:130
 AliTPCClusterParam.cxx:131
 AliTPCClusterParam.cxx:132
 AliTPCClusterParam.cxx:133
 AliTPCClusterParam.cxx:134
 AliTPCClusterParam.cxx:135
 AliTPCClusterParam.cxx:136
 AliTPCClusterParam.cxx:137
 AliTPCClusterParam.cxx:138
 AliTPCClusterParam.cxx:139
 AliTPCClusterParam.cxx:140
 AliTPCClusterParam.cxx:141
 AliTPCClusterParam.cxx:142
 AliTPCClusterParam.cxx:143
 AliTPCClusterParam.cxx:144
 AliTPCClusterParam.cxx:145
 AliTPCClusterParam.cxx:146
 AliTPCClusterParam.cxx:147
 AliTPCClusterParam.cxx:148
 AliTPCClusterParam.cxx:149
 AliTPCClusterParam.cxx:150
 AliTPCClusterParam.cxx:151
 AliTPCClusterParam.cxx:152
 AliTPCClusterParam.cxx:153
 AliTPCClusterParam.cxx:154
 AliTPCClusterParam.cxx:155
 AliTPCClusterParam.cxx:156
 AliTPCClusterParam.cxx:157
 AliTPCClusterParam.cxx:158
 AliTPCClusterParam.cxx:159
 AliTPCClusterParam.cxx:160
 AliTPCClusterParam.cxx:161
 AliTPCClusterParam.cxx:162
 AliTPCClusterParam.cxx:163
 AliTPCClusterParam.cxx:164
 AliTPCClusterParam.cxx:165
 AliTPCClusterParam.cxx:166
 AliTPCClusterParam.cxx:167
 AliTPCClusterParam.cxx:168
 AliTPCClusterParam.cxx:169
 AliTPCClusterParam.cxx:170
 AliTPCClusterParam.cxx:171
 AliTPCClusterParam.cxx:172
 AliTPCClusterParam.cxx:173
 AliTPCClusterParam.cxx:174
 AliTPCClusterParam.cxx:175
 AliTPCClusterParam.cxx:176
 AliTPCClusterParam.cxx:177
 AliTPCClusterParam.cxx:178
 AliTPCClusterParam.cxx:179
 AliTPCClusterParam.cxx:180
 AliTPCClusterParam.cxx:181
 AliTPCClusterParam.cxx:182
 AliTPCClusterParam.cxx:183
 AliTPCClusterParam.cxx:184
 AliTPCClusterParam.cxx:185
 AliTPCClusterParam.cxx:186
 AliTPCClusterParam.cxx:187
 AliTPCClusterParam.cxx:188
 AliTPCClusterParam.cxx:189
 AliTPCClusterParam.cxx:190
 AliTPCClusterParam.cxx:191
 AliTPCClusterParam.cxx:192
 AliTPCClusterParam.cxx:193
 AliTPCClusterParam.cxx:194
 AliTPCClusterParam.cxx:195
 AliTPCClusterParam.cxx:196
 AliTPCClusterParam.cxx:197
 AliTPCClusterParam.cxx:198
 AliTPCClusterParam.cxx:199
 AliTPCClusterParam.cxx:200
 AliTPCClusterParam.cxx:201
 AliTPCClusterParam.cxx:202
 AliTPCClusterParam.cxx:203
 AliTPCClusterParam.cxx:204
 AliTPCClusterParam.cxx:205
 AliTPCClusterParam.cxx:206
 AliTPCClusterParam.cxx:207
 AliTPCClusterParam.cxx:208
 AliTPCClusterParam.cxx:209
 AliTPCClusterParam.cxx:210
 AliTPCClusterParam.cxx:211
 AliTPCClusterParam.cxx:212
 AliTPCClusterParam.cxx:213
 AliTPCClusterParam.cxx:214
 AliTPCClusterParam.cxx:215
 AliTPCClusterParam.cxx:216
 AliTPCClusterParam.cxx:217
 AliTPCClusterParam.cxx:218
 AliTPCClusterParam.cxx:219
 AliTPCClusterParam.cxx:220
 AliTPCClusterParam.cxx:221
 AliTPCClusterParam.cxx:222
 AliTPCClusterParam.cxx:223
 AliTPCClusterParam.cxx:224
 AliTPCClusterParam.cxx:225
 AliTPCClusterParam.cxx:226
 AliTPCClusterParam.cxx:227
 AliTPCClusterParam.cxx:228
 AliTPCClusterParam.cxx:229
 AliTPCClusterParam.cxx:230
 AliTPCClusterParam.cxx:231
 AliTPCClusterParam.cxx:232
 AliTPCClusterParam.cxx:233
 AliTPCClusterParam.cxx:234
 AliTPCClusterParam.cxx:235
 AliTPCClusterParam.cxx:236
 AliTPCClusterParam.cxx:237
 AliTPCClusterParam.cxx:238
 AliTPCClusterParam.cxx:239
 AliTPCClusterParam.cxx:240
 AliTPCClusterParam.cxx:241
 AliTPCClusterParam.cxx:242
 AliTPCClusterParam.cxx:243
 AliTPCClusterParam.cxx:244
 AliTPCClusterParam.cxx:245
 AliTPCClusterParam.cxx:246
 AliTPCClusterParam.cxx:247
 AliTPCClusterParam.cxx:248
 AliTPCClusterParam.cxx:249
 AliTPCClusterParam.cxx:250
 AliTPCClusterParam.cxx:251
 AliTPCClusterParam.cxx:252
 AliTPCClusterParam.cxx:253
 AliTPCClusterParam.cxx:254
 AliTPCClusterParam.cxx:255
 AliTPCClusterParam.cxx:256
 AliTPCClusterParam.cxx:257
 AliTPCClusterParam.cxx:258
 AliTPCClusterParam.cxx:259
 AliTPCClusterParam.cxx:260
 AliTPCClusterParam.cxx:261
 AliTPCClusterParam.cxx:262
 AliTPCClusterParam.cxx:263
 AliTPCClusterParam.cxx:264
 AliTPCClusterParam.cxx:265
 AliTPCClusterParam.cxx:266
 AliTPCClusterParam.cxx:267
 AliTPCClusterParam.cxx:268
 AliTPCClusterParam.cxx:269
 AliTPCClusterParam.cxx:270
 AliTPCClusterParam.cxx:271
 AliTPCClusterParam.cxx:272
 AliTPCClusterParam.cxx:273
 AliTPCClusterParam.cxx:274
 AliTPCClusterParam.cxx:275
 AliTPCClusterParam.cxx:276
 AliTPCClusterParam.cxx:277
 AliTPCClusterParam.cxx:278
 AliTPCClusterParam.cxx:279
 AliTPCClusterParam.cxx:280
 AliTPCClusterParam.cxx:281
 AliTPCClusterParam.cxx:282
 AliTPCClusterParam.cxx:283
 AliTPCClusterParam.cxx:284
 AliTPCClusterParam.cxx:285
 AliTPCClusterParam.cxx:286
 AliTPCClusterParam.cxx:287
 AliTPCClusterParam.cxx:288
 AliTPCClusterParam.cxx:289
 AliTPCClusterParam.cxx:290
 AliTPCClusterParam.cxx:291
 AliTPCClusterParam.cxx:292
 AliTPCClusterParam.cxx:293
 AliTPCClusterParam.cxx:294
 AliTPCClusterParam.cxx:295
 AliTPCClusterParam.cxx:296
 AliTPCClusterParam.cxx:297
 AliTPCClusterParam.cxx:298
 AliTPCClusterParam.cxx:299
 AliTPCClusterParam.cxx:300
 AliTPCClusterParam.cxx:301
 AliTPCClusterParam.cxx:302
 AliTPCClusterParam.cxx:303
 AliTPCClusterParam.cxx:304
 AliTPCClusterParam.cxx:305
 AliTPCClusterParam.cxx:306
 AliTPCClusterParam.cxx:307
 AliTPCClusterParam.cxx:308
 AliTPCClusterParam.cxx:309
 AliTPCClusterParam.cxx:310
 AliTPCClusterParam.cxx:311
 AliTPCClusterParam.cxx:312
 AliTPCClusterParam.cxx:313
 AliTPCClusterParam.cxx:314
 AliTPCClusterParam.cxx:315
 AliTPCClusterParam.cxx:316
 AliTPCClusterParam.cxx:317
 AliTPCClusterParam.cxx:318
 AliTPCClusterParam.cxx:319
 AliTPCClusterParam.cxx:320
 AliTPCClusterParam.cxx:321
 AliTPCClusterParam.cxx:322
 AliTPCClusterParam.cxx:323
 AliTPCClusterParam.cxx:324
 AliTPCClusterParam.cxx:325
 AliTPCClusterParam.cxx:326
 AliTPCClusterParam.cxx:327
 AliTPCClusterParam.cxx:328
 AliTPCClusterParam.cxx:329
 AliTPCClusterParam.cxx:330
 AliTPCClusterParam.cxx:331
 AliTPCClusterParam.cxx:332
 AliTPCClusterParam.cxx:333
 AliTPCClusterParam.cxx:334
 AliTPCClusterParam.cxx:335
 AliTPCClusterParam.cxx:336
 AliTPCClusterParam.cxx:337
 AliTPCClusterParam.cxx:338
 AliTPCClusterParam.cxx:339
 AliTPCClusterParam.cxx:340
 AliTPCClusterParam.cxx:341
 AliTPCClusterParam.cxx:342
 AliTPCClusterParam.cxx:343
 AliTPCClusterParam.cxx:344
 AliTPCClusterParam.cxx:345
 AliTPCClusterParam.cxx:346
 AliTPCClusterParam.cxx:347
 AliTPCClusterParam.cxx:348
 AliTPCClusterParam.cxx:349
 AliTPCClusterParam.cxx:350
 AliTPCClusterParam.cxx:351
 AliTPCClusterParam.cxx:352
 AliTPCClusterParam.cxx:353
 AliTPCClusterParam.cxx:354
 AliTPCClusterParam.cxx:355
 AliTPCClusterParam.cxx:356
 AliTPCClusterParam.cxx:357
 AliTPCClusterParam.cxx:358
 AliTPCClusterParam.cxx:359
 AliTPCClusterParam.cxx:360
 AliTPCClusterParam.cxx:361
 AliTPCClusterParam.cxx:362
 AliTPCClusterParam.cxx:363
 AliTPCClusterParam.cxx:364
 AliTPCClusterParam.cxx:365
 AliTPCClusterParam.cxx:366
 AliTPCClusterParam.cxx:367
 AliTPCClusterParam.cxx:368
 AliTPCClusterParam.cxx:369
 AliTPCClusterParam.cxx:370
 AliTPCClusterParam.cxx:371
 AliTPCClusterParam.cxx:372
 AliTPCClusterParam.cxx:373
 AliTPCClusterParam.cxx:374
 AliTPCClusterParam.cxx:375
 AliTPCClusterParam.cxx:376
 AliTPCClusterParam.cxx:377
 AliTPCClusterParam.cxx:378
 AliTPCClusterParam.cxx:379
 AliTPCClusterParam.cxx:380
 AliTPCClusterParam.cxx:381
 AliTPCClusterParam.cxx:382
 AliTPCClusterParam.cxx:383
 AliTPCClusterParam.cxx:384
 AliTPCClusterParam.cxx:385
 AliTPCClusterParam.cxx:386
 AliTPCClusterParam.cxx:387
 AliTPCClusterParam.cxx:388
 AliTPCClusterParam.cxx:389
 AliTPCClusterParam.cxx:390
 AliTPCClusterParam.cxx:391
 AliTPCClusterParam.cxx:392
 AliTPCClusterParam.cxx:393
 AliTPCClusterParam.cxx:394
 AliTPCClusterParam.cxx:395
 AliTPCClusterParam.cxx:396
 AliTPCClusterParam.cxx:397
 AliTPCClusterParam.cxx:398
 AliTPCClusterParam.cxx:399
 AliTPCClusterParam.cxx:400
 AliTPCClusterParam.cxx:401
 AliTPCClusterParam.cxx:402
 AliTPCClusterParam.cxx:403
 AliTPCClusterParam.cxx:404
 AliTPCClusterParam.cxx:405
 AliTPCClusterParam.cxx:406
 AliTPCClusterParam.cxx:407
 AliTPCClusterParam.cxx:408
 AliTPCClusterParam.cxx:409
 AliTPCClusterParam.cxx:410
 AliTPCClusterParam.cxx:411
 AliTPCClusterParam.cxx:412
 AliTPCClusterParam.cxx:413
 AliTPCClusterParam.cxx:414
 AliTPCClusterParam.cxx:415
 AliTPCClusterParam.cxx:416
 AliTPCClusterParam.cxx:417
 AliTPCClusterParam.cxx:418
 AliTPCClusterParam.cxx:419
 AliTPCClusterParam.cxx:420
 AliTPCClusterParam.cxx:421
 AliTPCClusterParam.cxx:422
 AliTPCClusterParam.cxx:423
 AliTPCClusterParam.cxx:424
 AliTPCClusterParam.cxx:425
 AliTPCClusterParam.cxx:426
 AliTPCClusterParam.cxx:427
 AliTPCClusterParam.cxx:428
 AliTPCClusterParam.cxx:429
 AliTPCClusterParam.cxx:430
 AliTPCClusterParam.cxx:431
 AliTPCClusterParam.cxx:432
 AliTPCClusterParam.cxx:433
 AliTPCClusterParam.cxx:434
 AliTPCClusterParam.cxx:435
 AliTPCClusterParam.cxx:436
 AliTPCClusterParam.cxx:437
 AliTPCClusterParam.cxx:438
 AliTPCClusterParam.cxx:439
 AliTPCClusterParam.cxx:440
 AliTPCClusterParam.cxx:441
 AliTPCClusterParam.cxx:442
 AliTPCClusterParam.cxx:443
 AliTPCClusterParam.cxx:444
 AliTPCClusterParam.cxx:445
 AliTPCClusterParam.cxx:446
 AliTPCClusterParam.cxx:447
 AliTPCClusterParam.cxx:448
 AliTPCClusterParam.cxx:449
 AliTPCClusterParam.cxx:450
 AliTPCClusterParam.cxx:451
 AliTPCClusterParam.cxx:452
 AliTPCClusterParam.cxx:453
 AliTPCClusterParam.cxx:454
 AliTPCClusterParam.cxx:455
 AliTPCClusterParam.cxx:456
 AliTPCClusterParam.cxx:457
 AliTPCClusterParam.cxx:458
 AliTPCClusterParam.cxx:459
 AliTPCClusterParam.cxx:460
 AliTPCClusterParam.cxx:461
 AliTPCClusterParam.cxx:462
 AliTPCClusterParam.cxx:463
 AliTPCClusterParam.cxx:464
 AliTPCClusterParam.cxx:465
 AliTPCClusterParam.cxx:466
 AliTPCClusterParam.cxx:467
 AliTPCClusterParam.cxx:468
 AliTPCClusterParam.cxx:469
 AliTPCClusterParam.cxx:470
 AliTPCClusterParam.cxx:471
 AliTPCClusterParam.cxx:472
 AliTPCClusterParam.cxx:473
 AliTPCClusterParam.cxx:474
 AliTPCClusterParam.cxx:475
 AliTPCClusterParam.cxx:476
 AliTPCClusterParam.cxx:477
 AliTPCClusterParam.cxx:478
 AliTPCClusterParam.cxx:479
 AliTPCClusterParam.cxx:480
 AliTPCClusterParam.cxx:481
 AliTPCClusterParam.cxx:482
 AliTPCClusterParam.cxx:483
 AliTPCClusterParam.cxx:484
 AliTPCClusterParam.cxx:485
 AliTPCClusterParam.cxx:486
 AliTPCClusterParam.cxx:487
 AliTPCClusterParam.cxx:488
 AliTPCClusterParam.cxx:489
 AliTPCClusterParam.cxx:490
 AliTPCClusterParam.cxx:491
 AliTPCClusterParam.cxx:492
 AliTPCClusterParam.cxx:493
 AliTPCClusterParam.cxx:494
 AliTPCClusterParam.cxx:495
 AliTPCClusterParam.cxx:496
 AliTPCClusterParam.cxx:497
 AliTPCClusterParam.cxx:498
 AliTPCClusterParam.cxx:499
 AliTPCClusterParam.cxx:500
 AliTPCClusterParam.cxx:501
 AliTPCClusterParam.cxx:502
 AliTPCClusterParam.cxx:503
 AliTPCClusterParam.cxx:504
 AliTPCClusterParam.cxx:505
 AliTPCClusterParam.cxx:506
 AliTPCClusterParam.cxx:507
 AliTPCClusterParam.cxx:508
 AliTPCClusterParam.cxx:509
 AliTPCClusterParam.cxx:510
 AliTPCClusterParam.cxx:511
 AliTPCClusterParam.cxx:512
 AliTPCClusterParam.cxx:513
 AliTPCClusterParam.cxx:514
 AliTPCClusterParam.cxx:515
 AliTPCClusterParam.cxx:516
 AliTPCClusterParam.cxx:517
 AliTPCClusterParam.cxx:518
 AliTPCClusterParam.cxx:519
 AliTPCClusterParam.cxx:520
 AliTPCClusterParam.cxx:521
 AliTPCClusterParam.cxx:522
 AliTPCClusterParam.cxx:523
 AliTPCClusterParam.cxx:524
 AliTPCClusterParam.cxx:525
 AliTPCClusterParam.cxx:526
 AliTPCClusterParam.cxx:527
 AliTPCClusterParam.cxx:528
 AliTPCClusterParam.cxx:529
 AliTPCClusterParam.cxx:530
 AliTPCClusterParam.cxx:531
 AliTPCClusterParam.cxx:532
 AliTPCClusterParam.cxx:533
 AliTPCClusterParam.cxx:534
 AliTPCClusterParam.cxx:535
 AliTPCClusterParam.cxx:536
 AliTPCClusterParam.cxx:537
 AliTPCClusterParam.cxx:538
 AliTPCClusterParam.cxx:539
 AliTPCClusterParam.cxx:540
 AliTPCClusterParam.cxx:541
 AliTPCClusterParam.cxx:542
 AliTPCClusterParam.cxx:543
 AliTPCClusterParam.cxx:544
 AliTPCClusterParam.cxx:545
 AliTPCClusterParam.cxx:546
 AliTPCClusterParam.cxx:547
 AliTPCClusterParam.cxx:548
 AliTPCClusterParam.cxx:549
 AliTPCClusterParam.cxx:550
 AliTPCClusterParam.cxx:551
 AliTPCClusterParam.cxx:552
 AliTPCClusterParam.cxx:553
 AliTPCClusterParam.cxx:554
 AliTPCClusterParam.cxx:555
 AliTPCClusterParam.cxx:556
 AliTPCClusterParam.cxx:557
 AliTPCClusterParam.cxx:558
 AliTPCClusterParam.cxx:559
 AliTPCClusterParam.cxx:560
 AliTPCClusterParam.cxx:561
 AliTPCClusterParam.cxx:562
 AliTPCClusterParam.cxx:563
 AliTPCClusterParam.cxx:564
 AliTPCClusterParam.cxx:565
 AliTPCClusterParam.cxx:566
 AliTPCClusterParam.cxx:567
 AliTPCClusterParam.cxx:568
 AliTPCClusterParam.cxx:569
 AliTPCClusterParam.cxx:570
 AliTPCClusterParam.cxx:571
 AliTPCClusterParam.cxx:572
 AliTPCClusterParam.cxx:573
 AliTPCClusterParam.cxx:574
 AliTPCClusterParam.cxx:575
 AliTPCClusterParam.cxx:576
 AliTPCClusterParam.cxx:577
 AliTPCClusterParam.cxx:578
 AliTPCClusterParam.cxx:579
 AliTPCClusterParam.cxx:580
 AliTPCClusterParam.cxx:581
 AliTPCClusterParam.cxx:582
 AliTPCClusterParam.cxx:583
 AliTPCClusterParam.cxx:584
 AliTPCClusterParam.cxx:585
 AliTPCClusterParam.cxx:586
 AliTPCClusterParam.cxx:587
 AliTPCClusterParam.cxx:588
 AliTPCClusterParam.cxx:589
 AliTPCClusterParam.cxx:590
 AliTPCClusterParam.cxx:591
 AliTPCClusterParam.cxx:592
 AliTPCClusterParam.cxx:593
 AliTPCClusterParam.cxx:594
 AliTPCClusterParam.cxx:595
 AliTPCClusterParam.cxx:596
 AliTPCClusterParam.cxx:597
 AliTPCClusterParam.cxx:598
 AliTPCClusterParam.cxx:599
 AliTPCClusterParam.cxx:600
 AliTPCClusterParam.cxx:601
 AliTPCClusterParam.cxx:602
 AliTPCClusterParam.cxx:603
 AliTPCClusterParam.cxx:604
 AliTPCClusterParam.cxx:605
 AliTPCClusterParam.cxx:606
 AliTPCClusterParam.cxx:607
 AliTPCClusterParam.cxx:608
 AliTPCClusterParam.cxx:609
 AliTPCClusterParam.cxx:610
 AliTPCClusterParam.cxx:611
 AliTPCClusterParam.cxx:612
 AliTPCClusterParam.cxx:613
 AliTPCClusterParam.cxx:614
 AliTPCClusterParam.cxx:615
 AliTPCClusterParam.cxx:616
 AliTPCClusterParam.cxx:617
 AliTPCClusterParam.cxx:618
 AliTPCClusterParam.cxx:619
 AliTPCClusterParam.cxx:620
 AliTPCClusterParam.cxx:621
 AliTPCClusterParam.cxx:622
 AliTPCClusterParam.cxx:623
 AliTPCClusterParam.cxx:624
 AliTPCClusterParam.cxx:625
 AliTPCClusterParam.cxx:626
 AliTPCClusterParam.cxx:627
 AliTPCClusterParam.cxx:628
 AliTPCClusterParam.cxx:629
 AliTPCClusterParam.cxx:630
 AliTPCClusterParam.cxx:631
 AliTPCClusterParam.cxx:632
 AliTPCClusterParam.cxx:633
 AliTPCClusterParam.cxx:634
 AliTPCClusterParam.cxx:635
 AliTPCClusterParam.cxx:636
 AliTPCClusterParam.cxx:637
 AliTPCClusterParam.cxx:638
 AliTPCClusterParam.cxx:639
 AliTPCClusterParam.cxx:640
 AliTPCClusterParam.cxx:641
 AliTPCClusterParam.cxx:642
 AliTPCClusterParam.cxx:643
 AliTPCClusterParam.cxx:644
 AliTPCClusterParam.cxx:645
 AliTPCClusterParam.cxx:646
 AliTPCClusterParam.cxx:647
 AliTPCClusterParam.cxx:648
 AliTPCClusterParam.cxx:649
 AliTPCClusterParam.cxx:650
 AliTPCClusterParam.cxx:651
 AliTPCClusterParam.cxx:652
 AliTPCClusterParam.cxx:653
 AliTPCClusterParam.cxx:654
 AliTPCClusterParam.cxx:655
 AliTPCClusterParam.cxx:656
 AliTPCClusterParam.cxx:657
 AliTPCClusterParam.cxx:658
 AliTPCClusterParam.cxx:659
 AliTPCClusterParam.cxx:660
 AliTPCClusterParam.cxx:661
 AliTPCClusterParam.cxx:662
 AliTPCClusterParam.cxx:663
 AliTPCClusterParam.cxx:664
 AliTPCClusterParam.cxx:665
 AliTPCClusterParam.cxx:666
 AliTPCClusterParam.cxx:667
 AliTPCClusterParam.cxx:668
 AliTPCClusterParam.cxx:669
 AliTPCClusterParam.cxx:670
 AliTPCClusterParam.cxx:671
 AliTPCClusterParam.cxx:672
 AliTPCClusterParam.cxx:673
 AliTPCClusterParam.cxx:674
 AliTPCClusterParam.cxx:675
 AliTPCClusterParam.cxx:676
 AliTPCClusterParam.cxx:677
 AliTPCClusterParam.cxx:678
 AliTPCClusterParam.cxx:679
 AliTPCClusterParam.cxx:680
 AliTPCClusterParam.cxx:681
 AliTPCClusterParam.cxx:682
 AliTPCClusterParam.cxx:683
 AliTPCClusterParam.cxx:684
 AliTPCClusterParam.cxx:685
 AliTPCClusterParam.cxx:686
 AliTPCClusterParam.cxx:687
 AliTPCClusterParam.cxx:688
 AliTPCClusterParam.cxx:689
 AliTPCClusterParam.cxx:690
 AliTPCClusterParam.cxx:691
 AliTPCClusterParam.cxx:692
 AliTPCClusterParam.cxx:693
 AliTPCClusterParam.cxx:694
 AliTPCClusterParam.cxx:695
 AliTPCClusterParam.cxx:696
 AliTPCClusterParam.cxx:697
 AliTPCClusterParam.cxx:698
 AliTPCClusterParam.cxx:699
 AliTPCClusterParam.cxx:700
 AliTPCClusterParam.cxx:701
 AliTPCClusterParam.cxx:702
 AliTPCClusterParam.cxx:703
 AliTPCClusterParam.cxx:704
 AliTPCClusterParam.cxx:705
 AliTPCClusterParam.cxx:706
 AliTPCClusterParam.cxx:707
 AliTPCClusterParam.cxx:708
 AliTPCClusterParam.cxx:709
 AliTPCClusterParam.cxx:710
 AliTPCClusterParam.cxx:711
 AliTPCClusterParam.cxx:712
 AliTPCClusterParam.cxx:713
 AliTPCClusterParam.cxx:714
 AliTPCClusterParam.cxx:715
 AliTPCClusterParam.cxx:716
 AliTPCClusterParam.cxx:717
 AliTPCClusterParam.cxx:718
 AliTPCClusterParam.cxx:719
 AliTPCClusterParam.cxx:720
 AliTPCClusterParam.cxx:721
 AliTPCClusterParam.cxx:722
 AliTPCClusterParam.cxx:723
 AliTPCClusterParam.cxx:724
 AliTPCClusterParam.cxx:725
 AliTPCClusterParam.cxx:726
 AliTPCClusterParam.cxx:727
 AliTPCClusterParam.cxx:728
 AliTPCClusterParam.cxx:729
 AliTPCClusterParam.cxx:730
 AliTPCClusterParam.cxx:731
 AliTPCClusterParam.cxx:732
 AliTPCClusterParam.cxx:733
 AliTPCClusterParam.cxx:734
 AliTPCClusterParam.cxx:735
 AliTPCClusterParam.cxx:736
 AliTPCClusterParam.cxx:737
 AliTPCClusterParam.cxx:738
 AliTPCClusterParam.cxx:739
 AliTPCClusterParam.cxx:740
 AliTPCClusterParam.cxx:741
 AliTPCClusterParam.cxx:742
 AliTPCClusterParam.cxx:743
 AliTPCClusterParam.cxx:744
 AliTPCClusterParam.cxx:745
 AliTPCClusterParam.cxx:746
 AliTPCClusterParam.cxx:747
 AliTPCClusterParam.cxx:748
 AliTPCClusterParam.cxx:749
 AliTPCClusterParam.cxx:750
 AliTPCClusterParam.cxx:751
 AliTPCClusterParam.cxx:752
 AliTPCClusterParam.cxx:753
 AliTPCClusterParam.cxx:754
 AliTPCClusterParam.cxx:755
 AliTPCClusterParam.cxx:756
 AliTPCClusterParam.cxx:757
 AliTPCClusterParam.cxx:758
 AliTPCClusterParam.cxx:759
 AliTPCClusterParam.cxx:760
 AliTPCClusterParam.cxx:761
 AliTPCClusterParam.cxx:762
 AliTPCClusterParam.cxx:763
 AliTPCClusterParam.cxx:764
 AliTPCClusterParam.cxx:765
 AliTPCClusterParam.cxx:766
 AliTPCClusterParam.cxx:767
 AliTPCClusterParam.cxx:768
 AliTPCClusterParam.cxx:769
 AliTPCClusterParam.cxx:770
 AliTPCClusterParam.cxx:771
 AliTPCClusterParam.cxx:772
 AliTPCClusterParam.cxx:773
 AliTPCClusterParam.cxx:774
 AliTPCClusterParam.cxx:775
 AliTPCClusterParam.cxx:776
 AliTPCClusterParam.cxx:777
 AliTPCClusterParam.cxx:778
 AliTPCClusterParam.cxx:779
 AliTPCClusterParam.cxx:780
 AliTPCClusterParam.cxx:781
 AliTPCClusterParam.cxx:782
 AliTPCClusterParam.cxx:783
 AliTPCClusterParam.cxx:784
 AliTPCClusterParam.cxx:785
 AliTPCClusterParam.cxx:786
 AliTPCClusterParam.cxx:787
 AliTPCClusterParam.cxx:788
 AliTPCClusterParam.cxx:789
 AliTPCClusterParam.cxx:790
 AliTPCClusterParam.cxx:791
 AliTPCClusterParam.cxx:792
 AliTPCClusterParam.cxx:793
 AliTPCClusterParam.cxx:794
 AliTPCClusterParam.cxx:795
 AliTPCClusterParam.cxx:796
 AliTPCClusterParam.cxx:797
 AliTPCClusterParam.cxx:798
 AliTPCClusterParam.cxx:799
 AliTPCClusterParam.cxx:800
 AliTPCClusterParam.cxx:801
 AliTPCClusterParam.cxx:802
 AliTPCClusterParam.cxx:803
 AliTPCClusterParam.cxx:804
 AliTPCClusterParam.cxx:805
 AliTPCClusterParam.cxx:806
 AliTPCClusterParam.cxx:807
 AliTPCClusterParam.cxx:808
 AliTPCClusterParam.cxx:809
 AliTPCClusterParam.cxx:810
 AliTPCClusterParam.cxx:811
 AliTPCClusterParam.cxx:812
 AliTPCClusterParam.cxx:813
 AliTPCClusterParam.cxx:814
 AliTPCClusterParam.cxx:815
 AliTPCClusterParam.cxx:816
 AliTPCClusterParam.cxx:817
 AliTPCClusterParam.cxx:818
 AliTPCClusterParam.cxx:819
 AliTPCClusterParam.cxx:820
 AliTPCClusterParam.cxx:821
 AliTPCClusterParam.cxx:822
 AliTPCClusterParam.cxx:823
 AliTPCClusterParam.cxx:824
 AliTPCClusterParam.cxx:825
 AliTPCClusterParam.cxx:826
 AliTPCClusterParam.cxx:827
 AliTPCClusterParam.cxx:828
 AliTPCClusterParam.cxx:829
 AliTPCClusterParam.cxx:830
 AliTPCClusterParam.cxx:831
 AliTPCClusterParam.cxx:832
 AliTPCClusterParam.cxx:833
 AliTPCClusterParam.cxx:834
 AliTPCClusterParam.cxx:835
 AliTPCClusterParam.cxx:836
 AliTPCClusterParam.cxx:837
 AliTPCClusterParam.cxx:838
 AliTPCClusterParam.cxx:839
 AliTPCClusterParam.cxx:840
 AliTPCClusterParam.cxx:841
 AliTPCClusterParam.cxx:842
 AliTPCClusterParam.cxx:843
 AliTPCClusterParam.cxx:844
 AliTPCClusterParam.cxx:845
 AliTPCClusterParam.cxx:846
 AliTPCClusterParam.cxx:847
 AliTPCClusterParam.cxx:848
 AliTPCClusterParam.cxx:849
 AliTPCClusterParam.cxx:850
 AliTPCClusterParam.cxx:851
 AliTPCClusterParam.cxx:852
 AliTPCClusterParam.cxx:853
 AliTPCClusterParam.cxx:854
 AliTPCClusterParam.cxx:855
 AliTPCClusterParam.cxx:856
 AliTPCClusterParam.cxx:857
 AliTPCClusterParam.cxx:858
 AliTPCClusterParam.cxx:859
 AliTPCClusterParam.cxx:860
 AliTPCClusterParam.cxx:861
 AliTPCClusterParam.cxx:862
 AliTPCClusterParam.cxx:863
 AliTPCClusterParam.cxx:864
 AliTPCClusterParam.cxx:865
 AliTPCClusterParam.cxx:866
 AliTPCClusterParam.cxx:867
 AliTPCClusterParam.cxx:868
 AliTPCClusterParam.cxx:869
 AliTPCClusterParam.cxx:870
 AliTPCClusterParam.cxx:871
 AliTPCClusterParam.cxx:872
 AliTPCClusterParam.cxx:873
 AliTPCClusterParam.cxx:874
 AliTPCClusterParam.cxx:875
 AliTPCClusterParam.cxx:876
 AliTPCClusterParam.cxx:877
 AliTPCClusterParam.cxx:878
 AliTPCClusterParam.cxx:879
 AliTPCClusterParam.cxx:880
 AliTPCClusterParam.cxx:881
 AliTPCClusterParam.cxx:882
 AliTPCClusterParam.cxx:883
 AliTPCClusterParam.cxx:884
 AliTPCClusterParam.cxx:885
 AliTPCClusterParam.cxx:886
 AliTPCClusterParam.cxx:887
 AliTPCClusterParam.cxx:888
 AliTPCClusterParam.cxx:889
 AliTPCClusterParam.cxx:890
 AliTPCClusterParam.cxx:891
 AliTPCClusterParam.cxx:892
 AliTPCClusterParam.cxx:893
 AliTPCClusterParam.cxx:894
 AliTPCClusterParam.cxx:895
 AliTPCClusterParam.cxx:896
 AliTPCClusterParam.cxx:897
 AliTPCClusterParam.cxx:898
 AliTPCClusterParam.cxx:899
 AliTPCClusterParam.cxx:900
 AliTPCClusterParam.cxx:901
 AliTPCClusterParam.cxx:902
 AliTPCClusterParam.cxx:903
 AliTPCClusterParam.cxx:904
 AliTPCClusterParam.cxx:905
 AliTPCClusterParam.cxx:906
 AliTPCClusterParam.cxx:907
 AliTPCClusterParam.cxx:908
 AliTPCClusterParam.cxx:909
 AliTPCClusterParam.cxx:910
 AliTPCClusterParam.cxx:911
 AliTPCClusterParam.cxx:912
 AliTPCClusterParam.cxx:913
 AliTPCClusterParam.cxx:914
 AliTPCClusterParam.cxx:915
 AliTPCClusterParam.cxx:916
 AliTPCClusterParam.cxx:917
 AliTPCClusterParam.cxx:918
 AliTPCClusterParam.cxx:919
 AliTPCClusterParam.cxx:920
 AliTPCClusterParam.cxx:921
 AliTPCClusterParam.cxx:922
 AliTPCClusterParam.cxx:923
 AliTPCClusterParam.cxx:924
 AliTPCClusterParam.cxx:925
 AliTPCClusterParam.cxx:926
 AliTPCClusterParam.cxx:927
 AliTPCClusterParam.cxx:928
 AliTPCClusterParam.cxx:929
 AliTPCClusterParam.cxx:930
 AliTPCClusterParam.cxx:931
 AliTPCClusterParam.cxx:932
 AliTPCClusterParam.cxx:933
 AliTPCClusterParam.cxx:934
 AliTPCClusterParam.cxx:935
 AliTPCClusterParam.cxx:936
 AliTPCClusterParam.cxx:937
 AliTPCClusterParam.cxx:938
 AliTPCClusterParam.cxx:939
 AliTPCClusterParam.cxx:940
 AliTPCClusterParam.cxx:941
 AliTPCClusterParam.cxx:942
 AliTPCClusterParam.cxx:943
 AliTPCClusterParam.cxx:944
 AliTPCClusterParam.cxx:945
 AliTPCClusterParam.cxx:946
 AliTPCClusterParam.cxx:947
 AliTPCClusterParam.cxx:948
 AliTPCClusterParam.cxx:949
 AliTPCClusterParam.cxx:950
 AliTPCClusterParam.cxx:951
 AliTPCClusterParam.cxx:952
 AliTPCClusterParam.cxx:953
 AliTPCClusterParam.cxx:954
 AliTPCClusterParam.cxx:955
 AliTPCClusterParam.cxx:956
 AliTPCClusterParam.cxx:957
 AliTPCClusterParam.cxx:958
 AliTPCClusterParam.cxx:959
 AliTPCClusterParam.cxx:960
 AliTPCClusterParam.cxx:961
 AliTPCClusterParam.cxx:962
 AliTPCClusterParam.cxx:963
 AliTPCClusterParam.cxx:964
 AliTPCClusterParam.cxx:965
 AliTPCClusterParam.cxx:966
 AliTPCClusterParam.cxx:967
 AliTPCClusterParam.cxx:968
 AliTPCClusterParam.cxx:969
 AliTPCClusterParam.cxx:970
 AliTPCClusterParam.cxx:971
 AliTPCClusterParam.cxx:972
 AliTPCClusterParam.cxx:973
 AliTPCClusterParam.cxx:974
 AliTPCClusterParam.cxx:975
 AliTPCClusterParam.cxx:976
 AliTPCClusterParam.cxx:977
 AliTPCClusterParam.cxx:978
 AliTPCClusterParam.cxx:979
 AliTPCClusterParam.cxx:980
 AliTPCClusterParam.cxx:981
 AliTPCClusterParam.cxx:982
 AliTPCClusterParam.cxx:983
 AliTPCClusterParam.cxx:984
 AliTPCClusterParam.cxx:985
 AliTPCClusterParam.cxx:986
 AliTPCClusterParam.cxx:987
 AliTPCClusterParam.cxx:988
 AliTPCClusterParam.cxx:989
 AliTPCClusterParam.cxx:990
 AliTPCClusterParam.cxx:991
 AliTPCClusterParam.cxx:992
 AliTPCClusterParam.cxx:993
 AliTPCClusterParam.cxx:994
 AliTPCClusterParam.cxx:995
 AliTPCClusterParam.cxx:996
 AliTPCClusterParam.cxx:997
 AliTPCClusterParam.cxx:998
 AliTPCClusterParam.cxx:999
 AliTPCClusterParam.cxx:1000
 AliTPCClusterParam.cxx:1001
 AliTPCClusterParam.cxx:1002
 AliTPCClusterParam.cxx:1003
 AliTPCClusterParam.cxx:1004
 AliTPCClusterParam.cxx:1005
 AliTPCClusterParam.cxx:1006
 AliTPCClusterParam.cxx:1007
 AliTPCClusterParam.cxx:1008
 AliTPCClusterParam.cxx:1009
 AliTPCClusterParam.cxx:1010
 AliTPCClusterParam.cxx:1011
 AliTPCClusterParam.cxx:1012
 AliTPCClusterParam.cxx:1013
 AliTPCClusterParam.cxx:1014
 AliTPCClusterParam.cxx:1015
 AliTPCClusterParam.cxx:1016
 AliTPCClusterParam.cxx:1017
 AliTPCClusterParam.cxx:1018
 AliTPCClusterParam.cxx:1019
 AliTPCClusterParam.cxx:1020
 AliTPCClusterParam.cxx:1021
 AliTPCClusterParam.cxx:1022
 AliTPCClusterParam.cxx:1023
 AliTPCClusterParam.cxx:1024
 AliTPCClusterParam.cxx:1025
 AliTPCClusterParam.cxx:1026
 AliTPCClusterParam.cxx:1027
 AliTPCClusterParam.cxx:1028
 AliTPCClusterParam.cxx:1029
 AliTPCClusterParam.cxx:1030
 AliTPCClusterParam.cxx:1031
 AliTPCClusterParam.cxx:1032
 AliTPCClusterParam.cxx:1033
 AliTPCClusterParam.cxx:1034
 AliTPCClusterParam.cxx:1035
 AliTPCClusterParam.cxx:1036
 AliTPCClusterParam.cxx:1037
 AliTPCClusterParam.cxx:1038
 AliTPCClusterParam.cxx:1039
 AliTPCClusterParam.cxx:1040
 AliTPCClusterParam.cxx:1041
 AliTPCClusterParam.cxx:1042
 AliTPCClusterParam.cxx:1043
 AliTPCClusterParam.cxx:1044
 AliTPCClusterParam.cxx:1045
 AliTPCClusterParam.cxx:1046
 AliTPCClusterParam.cxx:1047
 AliTPCClusterParam.cxx:1048
 AliTPCClusterParam.cxx:1049
 AliTPCClusterParam.cxx:1050
 AliTPCClusterParam.cxx:1051
 AliTPCClusterParam.cxx:1052
 AliTPCClusterParam.cxx:1053
 AliTPCClusterParam.cxx:1054
 AliTPCClusterParam.cxx:1055
 AliTPCClusterParam.cxx:1056
 AliTPCClusterParam.cxx:1057
 AliTPCClusterParam.cxx:1058
 AliTPCClusterParam.cxx:1059
 AliTPCClusterParam.cxx:1060
 AliTPCClusterParam.cxx:1061
 AliTPCClusterParam.cxx:1062
 AliTPCClusterParam.cxx:1063
 AliTPCClusterParam.cxx:1064
 AliTPCClusterParam.cxx:1065
 AliTPCClusterParam.cxx:1066
 AliTPCClusterParam.cxx:1067
 AliTPCClusterParam.cxx:1068
 AliTPCClusterParam.cxx:1069
 AliTPCClusterParam.cxx:1070
 AliTPCClusterParam.cxx:1071
 AliTPCClusterParam.cxx:1072
 AliTPCClusterParam.cxx:1073
 AliTPCClusterParam.cxx:1074
 AliTPCClusterParam.cxx:1075
 AliTPCClusterParam.cxx:1076
 AliTPCClusterParam.cxx:1077
 AliTPCClusterParam.cxx:1078
 AliTPCClusterParam.cxx:1079
 AliTPCClusterParam.cxx:1080
 AliTPCClusterParam.cxx:1081
 AliTPCClusterParam.cxx:1082
 AliTPCClusterParam.cxx:1083
 AliTPCClusterParam.cxx:1084
 AliTPCClusterParam.cxx:1085
 AliTPCClusterParam.cxx:1086
 AliTPCClusterParam.cxx:1087
 AliTPCClusterParam.cxx:1088
 AliTPCClusterParam.cxx:1089
 AliTPCClusterParam.cxx:1090
 AliTPCClusterParam.cxx:1091
 AliTPCClusterParam.cxx:1092
 AliTPCClusterParam.cxx:1093
 AliTPCClusterParam.cxx:1094
 AliTPCClusterParam.cxx:1095
 AliTPCClusterParam.cxx:1096
 AliTPCClusterParam.cxx:1097
 AliTPCClusterParam.cxx:1098
 AliTPCClusterParam.cxx:1099
 AliTPCClusterParam.cxx:1100
 AliTPCClusterParam.cxx:1101
 AliTPCClusterParam.cxx:1102
 AliTPCClusterParam.cxx:1103
 AliTPCClusterParam.cxx:1104
 AliTPCClusterParam.cxx:1105
 AliTPCClusterParam.cxx:1106
 AliTPCClusterParam.cxx:1107
 AliTPCClusterParam.cxx:1108
 AliTPCClusterParam.cxx:1109
 AliTPCClusterParam.cxx:1110
 AliTPCClusterParam.cxx:1111
 AliTPCClusterParam.cxx:1112
 AliTPCClusterParam.cxx:1113
 AliTPCClusterParam.cxx:1114
 AliTPCClusterParam.cxx:1115
 AliTPCClusterParam.cxx:1116
 AliTPCClusterParam.cxx:1117
 AliTPCClusterParam.cxx:1118
 AliTPCClusterParam.cxx:1119
 AliTPCClusterParam.cxx:1120
 AliTPCClusterParam.cxx:1121
 AliTPCClusterParam.cxx:1122
 AliTPCClusterParam.cxx:1123
 AliTPCClusterParam.cxx:1124
 AliTPCClusterParam.cxx:1125
 AliTPCClusterParam.cxx:1126
 AliTPCClusterParam.cxx:1127
 AliTPCClusterParam.cxx:1128
 AliTPCClusterParam.cxx:1129
 AliTPCClusterParam.cxx:1130
 AliTPCClusterParam.cxx:1131
 AliTPCClusterParam.cxx:1132
 AliTPCClusterParam.cxx:1133
 AliTPCClusterParam.cxx:1134
 AliTPCClusterParam.cxx:1135
 AliTPCClusterParam.cxx:1136
 AliTPCClusterParam.cxx:1137
 AliTPCClusterParam.cxx:1138
 AliTPCClusterParam.cxx:1139
 AliTPCClusterParam.cxx:1140
 AliTPCClusterParam.cxx:1141
 AliTPCClusterParam.cxx:1142
 AliTPCClusterParam.cxx:1143
 AliTPCClusterParam.cxx:1144
 AliTPCClusterParam.cxx:1145
 AliTPCClusterParam.cxx:1146
 AliTPCClusterParam.cxx:1147
 AliTPCClusterParam.cxx:1148
 AliTPCClusterParam.cxx:1149
 AliTPCClusterParam.cxx:1150
 AliTPCClusterParam.cxx:1151
 AliTPCClusterParam.cxx:1152
 AliTPCClusterParam.cxx:1153
 AliTPCClusterParam.cxx:1154
 AliTPCClusterParam.cxx:1155
 AliTPCClusterParam.cxx:1156
 AliTPCClusterParam.cxx:1157
 AliTPCClusterParam.cxx:1158
 AliTPCClusterParam.cxx:1159
 AliTPCClusterParam.cxx:1160
 AliTPCClusterParam.cxx:1161
 AliTPCClusterParam.cxx:1162
 AliTPCClusterParam.cxx:1163
 AliTPCClusterParam.cxx:1164
 AliTPCClusterParam.cxx:1165
 AliTPCClusterParam.cxx:1166
 AliTPCClusterParam.cxx:1167
 AliTPCClusterParam.cxx:1168
 AliTPCClusterParam.cxx:1169
 AliTPCClusterParam.cxx:1170
 AliTPCClusterParam.cxx:1171
 AliTPCClusterParam.cxx:1172
 AliTPCClusterParam.cxx:1173
 AliTPCClusterParam.cxx:1174
 AliTPCClusterParam.cxx:1175
 AliTPCClusterParam.cxx:1176
 AliTPCClusterParam.cxx:1177
 AliTPCClusterParam.cxx:1178
 AliTPCClusterParam.cxx:1179
 AliTPCClusterParam.cxx:1180
 AliTPCClusterParam.cxx:1181
 AliTPCClusterParam.cxx:1182
 AliTPCClusterParam.cxx:1183
 AliTPCClusterParam.cxx:1184
 AliTPCClusterParam.cxx:1185
 AliTPCClusterParam.cxx:1186
 AliTPCClusterParam.cxx:1187
 AliTPCClusterParam.cxx:1188
 AliTPCClusterParam.cxx:1189
 AliTPCClusterParam.cxx:1190
 AliTPCClusterParam.cxx:1191
 AliTPCClusterParam.cxx:1192
 AliTPCClusterParam.cxx:1193
 AliTPCClusterParam.cxx:1194
 AliTPCClusterParam.cxx:1195
 AliTPCClusterParam.cxx:1196
 AliTPCClusterParam.cxx:1197
 AliTPCClusterParam.cxx:1198
 AliTPCClusterParam.cxx:1199
 AliTPCClusterParam.cxx:1200
 AliTPCClusterParam.cxx:1201
 AliTPCClusterParam.cxx:1202
 AliTPCClusterParam.cxx:1203
 AliTPCClusterParam.cxx:1204
 AliTPCClusterParam.cxx:1205
 AliTPCClusterParam.cxx:1206
 AliTPCClusterParam.cxx:1207
 AliTPCClusterParam.cxx:1208
 AliTPCClusterParam.cxx:1209
 AliTPCClusterParam.cxx:1210
 AliTPCClusterParam.cxx:1211
 AliTPCClusterParam.cxx:1212
 AliTPCClusterParam.cxx:1213
 AliTPCClusterParam.cxx:1214
 AliTPCClusterParam.cxx:1215
 AliTPCClusterParam.cxx:1216
 AliTPCClusterParam.cxx:1217
 AliTPCClusterParam.cxx:1218
 AliTPCClusterParam.cxx:1219
 AliTPCClusterParam.cxx:1220
 AliTPCClusterParam.cxx:1221
 AliTPCClusterParam.cxx:1222
 AliTPCClusterParam.cxx:1223
 AliTPCClusterParam.cxx:1224
 AliTPCClusterParam.cxx:1225
 AliTPCClusterParam.cxx:1226
 AliTPCClusterParam.cxx:1227
 AliTPCClusterParam.cxx:1228
 AliTPCClusterParam.cxx:1229
 AliTPCClusterParam.cxx:1230
 AliTPCClusterParam.cxx:1231
 AliTPCClusterParam.cxx:1232
 AliTPCClusterParam.cxx:1233
 AliTPCClusterParam.cxx:1234
 AliTPCClusterParam.cxx:1235
 AliTPCClusterParam.cxx:1236
 AliTPCClusterParam.cxx:1237
 AliTPCClusterParam.cxx:1238
 AliTPCClusterParam.cxx:1239
 AliTPCClusterParam.cxx:1240
 AliTPCClusterParam.cxx:1241
 AliTPCClusterParam.cxx:1242
 AliTPCClusterParam.cxx:1243
 AliTPCClusterParam.cxx:1244
 AliTPCClusterParam.cxx:1245
 AliTPCClusterParam.cxx:1246
 AliTPCClusterParam.cxx:1247
 AliTPCClusterParam.cxx:1248
 AliTPCClusterParam.cxx:1249
 AliTPCClusterParam.cxx:1250
 AliTPCClusterParam.cxx:1251
 AliTPCClusterParam.cxx:1252
 AliTPCClusterParam.cxx:1253
 AliTPCClusterParam.cxx:1254
 AliTPCClusterParam.cxx:1255
 AliTPCClusterParam.cxx:1256
 AliTPCClusterParam.cxx:1257
 AliTPCClusterParam.cxx:1258
 AliTPCClusterParam.cxx:1259
 AliTPCClusterParam.cxx:1260
 AliTPCClusterParam.cxx:1261
 AliTPCClusterParam.cxx:1262
 AliTPCClusterParam.cxx:1263
 AliTPCClusterParam.cxx:1264
 AliTPCClusterParam.cxx:1265
 AliTPCClusterParam.cxx:1266
 AliTPCClusterParam.cxx:1267
 AliTPCClusterParam.cxx:1268
 AliTPCClusterParam.cxx:1269
 AliTPCClusterParam.cxx:1270
 AliTPCClusterParam.cxx:1271
 AliTPCClusterParam.cxx:1272
 AliTPCClusterParam.cxx:1273
 AliTPCClusterParam.cxx:1274
 AliTPCClusterParam.cxx:1275
 AliTPCClusterParam.cxx:1276
 AliTPCClusterParam.cxx:1277
 AliTPCClusterParam.cxx:1278
 AliTPCClusterParam.cxx:1279
 AliTPCClusterParam.cxx:1280
 AliTPCClusterParam.cxx:1281
 AliTPCClusterParam.cxx:1282
 AliTPCClusterParam.cxx:1283
 AliTPCClusterParam.cxx:1284
 AliTPCClusterParam.cxx:1285
 AliTPCClusterParam.cxx:1286
 AliTPCClusterParam.cxx:1287
 AliTPCClusterParam.cxx:1288
 AliTPCClusterParam.cxx:1289
 AliTPCClusterParam.cxx:1290
 AliTPCClusterParam.cxx:1291
 AliTPCClusterParam.cxx:1292
 AliTPCClusterParam.cxx:1293
 AliTPCClusterParam.cxx:1294
 AliTPCClusterParam.cxx:1295
 AliTPCClusterParam.cxx:1296
 AliTPCClusterParam.cxx:1297
 AliTPCClusterParam.cxx:1298
 AliTPCClusterParam.cxx:1299
 AliTPCClusterParam.cxx:1300
 AliTPCClusterParam.cxx:1301
 AliTPCClusterParam.cxx:1302
 AliTPCClusterParam.cxx:1303
 AliTPCClusterParam.cxx:1304
 AliTPCClusterParam.cxx:1305
 AliTPCClusterParam.cxx:1306
 AliTPCClusterParam.cxx:1307
 AliTPCClusterParam.cxx:1308
 AliTPCClusterParam.cxx:1309
 AliTPCClusterParam.cxx:1310
 AliTPCClusterParam.cxx:1311
 AliTPCClusterParam.cxx:1312
 AliTPCClusterParam.cxx:1313
 AliTPCClusterParam.cxx:1314
 AliTPCClusterParam.cxx:1315
 AliTPCClusterParam.cxx:1316
 AliTPCClusterParam.cxx:1317
 AliTPCClusterParam.cxx:1318
 AliTPCClusterParam.cxx:1319
 AliTPCClusterParam.cxx:1320
 AliTPCClusterParam.cxx:1321
 AliTPCClusterParam.cxx:1322
 AliTPCClusterParam.cxx:1323
 AliTPCClusterParam.cxx:1324
 AliTPCClusterParam.cxx:1325
 AliTPCClusterParam.cxx:1326
 AliTPCClusterParam.cxx:1327
 AliTPCClusterParam.cxx:1328
 AliTPCClusterParam.cxx:1329
 AliTPCClusterParam.cxx:1330
 AliTPCClusterParam.cxx:1331
 AliTPCClusterParam.cxx:1332
 AliTPCClusterParam.cxx:1333
 AliTPCClusterParam.cxx:1334
 AliTPCClusterParam.cxx:1335
 AliTPCClusterParam.cxx:1336
 AliTPCClusterParam.cxx:1337
 AliTPCClusterParam.cxx:1338
 AliTPCClusterParam.cxx:1339
 AliTPCClusterParam.cxx:1340
 AliTPCClusterParam.cxx:1341
 AliTPCClusterParam.cxx:1342
 AliTPCClusterParam.cxx:1343
 AliTPCClusterParam.cxx:1344
 AliTPCClusterParam.cxx:1345
 AliTPCClusterParam.cxx:1346
 AliTPCClusterParam.cxx:1347
 AliTPCClusterParam.cxx:1348
 AliTPCClusterParam.cxx:1349
 AliTPCClusterParam.cxx:1350
 AliTPCClusterParam.cxx:1351
 AliTPCClusterParam.cxx:1352
 AliTPCClusterParam.cxx:1353
 AliTPCClusterParam.cxx:1354
 AliTPCClusterParam.cxx:1355
 AliTPCClusterParam.cxx:1356
 AliTPCClusterParam.cxx:1357
 AliTPCClusterParam.cxx:1358
 AliTPCClusterParam.cxx:1359
 AliTPCClusterParam.cxx:1360
 AliTPCClusterParam.cxx:1361
 AliTPCClusterParam.cxx:1362
 AliTPCClusterParam.cxx:1363
 AliTPCClusterParam.cxx:1364
 AliTPCClusterParam.cxx:1365
 AliTPCClusterParam.cxx:1366
 AliTPCClusterParam.cxx:1367
 AliTPCClusterParam.cxx:1368
 AliTPCClusterParam.cxx:1369
 AliTPCClusterParam.cxx:1370
 AliTPCClusterParam.cxx:1371
 AliTPCClusterParam.cxx:1372
 AliTPCClusterParam.cxx:1373
 AliTPCClusterParam.cxx:1374
 AliTPCClusterParam.cxx:1375
 AliTPCClusterParam.cxx:1376
 AliTPCClusterParam.cxx:1377
 AliTPCClusterParam.cxx:1378
 AliTPCClusterParam.cxx:1379
 AliTPCClusterParam.cxx:1380
 AliTPCClusterParam.cxx:1381
 AliTPCClusterParam.cxx:1382
 AliTPCClusterParam.cxx:1383
 AliTPCClusterParam.cxx:1384
 AliTPCClusterParam.cxx:1385
 AliTPCClusterParam.cxx:1386
 AliTPCClusterParam.cxx:1387
 AliTPCClusterParam.cxx:1388
 AliTPCClusterParam.cxx:1389
 AliTPCClusterParam.cxx:1390
 AliTPCClusterParam.cxx:1391
 AliTPCClusterParam.cxx:1392
 AliTPCClusterParam.cxx:1393
 AliTPCClusterParam.cxx:1394
 AliTPCClusterParam.cxx:1395
 AliTPCClusterParam.cxx:1396
 AliTPCClusterParam.cxx:1397
 AliTPCClusterParam.cxx:1398
 AliTPCClusterParam.cxx:1399
 AliTPCClusterParam.cxx:1400
 AliTPCClusterParam.cxx:1401
 AliTPCClusterParam.cxx:1402
 AliTPCClusterParam.cxx:1403
 AliTPCClusterParam.cxx:1404
 AliTPCClusterParam.cxx:1405
 AliTPCClusterParam.cxx:1406
 AliTPCClusterParam.cxx:1407
 AliTPCClusterParam.cxx:1408
 AliTPCClusterParam.cxx:1409
 AliTPCClusterParam.cxx:1410
 AliTPCClusterParam.cxx:1411
 AliTPCClusterParam.cxx:1412
 AliTPCClusterParam.cxx:1413
 AliTPCClusterParam.cxx:1414
 AliTPCClusterParam.cxx:1415
 AliTPCClusterParam.cxx:1416
 AliTPCClusterParam.cxx:1417
 AliTPCClusterParam.cxx:1418
 AliTPCClusterParam.cxx:1419
 AliTPCClusterParam.cxx:1420
 AliTPCClusterParam.cxx:1421
 AliTPCClusterParam.cxx:1422
 AliTPCClusterParam.cxx:1423
 AliTPCClusterParam.cxx:1424
 AliTPCClusterParam.cxx:1425
 AliTPCClusterParam.cxx:1426
 AliTPCClusterParam.cxx:1427
 AliTPCClusterParam.cxx:1428
 AliTPCClusterParam.cxx:1429
 AliTPCClusterParam.cxx:1430
 AliTPCClusterParam.cxx:1431
 AliTPCClusterParam.cxx:1432
 AliTPCClusterParam.cxx:1433
 AliTPCClusterParam.cxx:1434
 AliTPCClusterParam.cxx:1435
 AliTPCClusterParam.cxx:1436
 AliTPCClusterParam.cxx:1437
 AliTPCClusterParam.cxx:1438
 AliTPCClusterParam.cxx:1439
 AliTPCClusterParam.cxx:1440
 AliTPCClusterParam.cxx:1441
 AliTPCClusterParam.cxx:1442
 AliTPCClusterParam.cxx:1443
 AliTPCClusterParam.cxx:1444
 AliTPCClusterParam.cxx:1445
 AliTPCClusterParam.cxx:1446
 AliTPCClusterParam.cxx:1447
 AliTPCClusterParam.cxx:1448
 AliTPCClusterParam.cxx:1449
 AliTPCClusterParam.cxx:1450
 AliTPCClusterParam.cxx:1451
 AliTPCClusterParam.cxx:1452
 AliTPCClusterParam.cxx:1453
 AliTPCClusterParam.cxx:1454
 AliTPCClusterParam.cxx:1455
 AliTPCClusterParam.cxx:1456
 AliTPCClusterParam.cxx:1457
 AliTPCClusterParam.cxx:1458
 AliTPCClusterParam.cxx:1459
 AliTPCClusterParam.cxx:1460
 AliTPCClusterParam.cxx:1461
 AliTPCClusterParam.cxx:1462
 AliTPCClusterParam.cxx:1463
 AliTPCClusterParam.cxx:1464
 AliTPCClusterParam.cxx:1465
 AliTPCClusterParam.cxx:1466
 AliTPCClusterParam.cxx:1467
 AliTPCClusterParam.cxx:1468
 AliTPCClusterParam.cxx:1469
 AliTPCClusterParam.cxx:1470
 AliTPCClusterParam.cxx:1471
 AliTPCClusterParam.cxx:1472
 AliTPCClusterParam.cxx:1473
 AliTPCClusterParam.cxx:1474
 AliTPCClusterParam.cxx:1475
 AliTPCClusterParam.cxx:1476
 AliTPCClusterParam.cxx:1477
 AliTPCClusterParam.cxx:1478
 AliTPCClusterParam.cxx:1479
 AliTPCClusterParam.cxx:1480
 AliTPCClusterParam.cxx:1481
 AliTPCClusterParam.cxx:1482
 AliTPCClusterParam.cxx:1483
 AliTPCClusterParam.cxx:1484
 AliTPCClusterParam.cxx:1485
 AliTPCClusterParam.cxx:1486
 AliTPCClusterParam.cxx:1487
 AliTPCClusterParam.cxx:1488
 AliTPCClusterParam.cxx:1489
 AliTPCClusterParam.cxx:1490
 AliTPCClusterParam.cxx:1491
 AliTPCClusterParam.cxx:1492
 AliTPCClusterParam.cxx:1493
 AliTPCClusterParam.cxx:1494
 AliTPCClusterParam.cxx:1495
 AliTPCClusterParam.cxx:1496
 AliTPCClusterParam.cxx:1497
 AliTPCClusterParam.cxx:1498
 AliTPCClusterParam.cxx:1499
 AliTPCClusterParam.cxx:1500
 AliTPCClusterParam.cxx:1501
 AliTPCClusterParam.cxx:1502
 AliTPCClusterParam.cxx:1503
 AliTPCClusterParam.cxx:1504
 AliTPCClusterParam.cxx:1505
 AliTPCClusterParam.cxx:1506
 AliTPCClusterParam.cxx:1507
 AliTPCClusterParam.cxx:1508
 AliTPCClusterParam.cxx:1509
 AliTPCClusterParam.cxx:1510
 AliTPCClusterParam.cxx:1511
 AliTPCClusterParam.cxx:1512
 AliTPCClusterParam.cxx:1513
 AliTPCClusterParam.cxx:1514
 AliTPCClusterParam.cxx:1515
 AliTPCClusterParam.cxx:1516
 AliTPCClusterParam.cxx:1517
 AliTPCClusterParam.cxx:1518
 AliTPCClusterParam.cxx:1519
 AliTPCClusterParam.cxx:1520
 AliTPCClusterParam.cxx:1521
 AliTPCClusterParam.cxx:1522
 AliTPCClusterParam.cxx:1523
 AliTPCClusterParam.cxx:1524
 AliTPCClusterParam.cxx:1525
 AliTPCClusterParam.cxx:1526
 AliTPCClusterParam.cxx:1527
 AliTPCClusterParam.cxx:1528
 AliTPCClusterParam.cxx:1529
 AliTPCClusterParam.cxx:1530
 AliTPCClusterParam.cxx:1531
 AliTPCClusterParam.cxx:1532
 AliTPCClusterParam.cxx:1533
 AliTPCClusterParam.cxx:1534
 AliTPCClusterParam.cxx:1535
 AliTPCClusterParam.cxx:1536
 AliTPCClusterParam.cxx:1537
 AliTPCClusterParam.cxx:1538
 AliTPCClusterParam.cxx:1539
 AliTPCClusterParam.cxx:1540
 AliTPCClusterParam.cxx:1541
 AliTPCClusterParam.cxx:1542
 AliTPCClusterParam.cxx:1543
 AliTPCClusterParam.cxx:1544
 AliTPCClusterParam.cxx:1545
 AliTPCClusterParam.cxx:1546
 AliTPCClusterParam.cxx:1547
 AliTPCClusterParam.cxx:1548
 AliTPCClusterParam.cxx:1549
 AliTPCClusterParam.cxx:1550
 AliTPCClusterParam.cxx:1551
 AliTPCClusterParam.cxx:1552
 AliTPCClusterParam.cxx:1553
 AliTPCClusterParam.cxx:1554
 AliTPCClusterParam.cxx:1555
 AliTPCClusterParam.cxx:1556
 AliTPCClusterParam.cxx:1557
 AliTPCClusterParam.cxx:1558
 AliTPCClusterParam.cxx:1559
 AliTPCClusterParam.cxx:1560
 AliTPCClusterParam.cxx:1561
 AliTPCClusterParam.cxx:1562
 AliTPCClusterParam.cxx:1563
 AliTPCClusterParam.cxx:1564
 AliTPCClusterParam.cxx:1565
 AliTPCClusterParam.cxx:1566
 AliTPCClusterParam.cxx:1567
 AliTPCClusterParam.cxx:1568
 AliTPCClusterParam.cxx:1569
 AliTPCClusterParam.cxx:1570
 AliTPCClusterParam.cxx:1571
 AliTPCClusterParam.cxx:1572
 AliTPCClusterParam.cxx:1573
 AliTPCClusterParam.cxx:1574
 AliTPCClusterParam.cxx:1575
 AliTPCClusterParam.cxx:1576
 AliTPCClusterParam.cxx:1577
 AliTPCClusterParam.cxx:1578
 AliTPCClusterParam.cxx:1579
 AliTPCClusterParam.cxx:1580
 AliTPCClusterParam.cxx:1581
 AliTPCClusterParam.cxx:1582
 AliTPCClusterParam.cxx:1583
 AliTPCClusterParam.cxx:1584
 AliTPCClusterParam.cxx:1585
 AliTPCClusterParam.cxx:1586
 AliTPCClusterParam.cxx:1587
 AliTPCClusterParam.cxx:1588
 AliTPCClusterParam.cxx:1589
 AliTPCClusterParam.cxx:1590
 AliTPCClusterParam.cxx:1591
 AliTPCClusterParam.cxx:1592
 AliTPCClusterParam.cxx:1593
 AliTPCClusterParam.cxx:1594
 AliTPCClusterParam.cxx:1595
 AliTPCClusterParam.cxx:1596
 AliTPCClusterParam.cxx:1597
 AliTPCClusterParam.cxx:1598
 AliTPCClusterParam.cxx:1599
 AliTPCClusterParam.cxx:1600
 AliTPCClusterParam.cxx:1601
 AliTPCClusterParam.cxx:1602
 AliTPCClusterParam.cxx:1603
 AliTPCClusterParam.cxx:1604
 AliTPCClusterParam.cxx:1605
 AliTPCClusterParam.cxx:1606
 AliTPCClusterParam.cxx:1607
 AliTPCClusterParam.cxx:1608
 AliTPCClusterParam.cxx:1609
 AliTPCClusterParam.cxx:1610
 AliTPCClusterParam.cxx:1611
 AliTPCClusterParam.cxx:1612
 AliTPCClusterParam.cxx:1613
 AliTPCClusterParam.cxx:1614
 AliTPCClusterParam.cxx:1615
 AliTPCClusterParam.cxx:1616
 AliTPCClusterParam.cxx:1617
 AliTPCClusterParam.cxx:1618
 AliTPCClusterParam.cxx:1619
 AliTPCClusterParam.cxx:1620
 AliTPCClusterParam.cxx:1621
 AliTPCClusterParam.cxx:1622
 AliTPCClusterParam.cxx:1623
 AliTPCClusterParam.cxx:1624
 AliTPCClusterParam.cxx:1625
 AliTPCClusterParam.cxx:1626
 AliTPCClusterParam.cxx:1627
 AliTPCClusterParam.cxx:1628
 AliTPCClusterParam.cxx:1629
 AliTPCClusterParam.cxx:1630
 AliTPCClusterParam.cxx:1631
 AliTPCClusterParam.cxx:1632
 AliTPCClusterParam.cxx:1633
 AliTPCClusterParam.cxx:1634
 AliTPCClusterParam.cxx:1635
 AliTPCClusterParam.cxx:1636
 AliTPCClusterParam.cxx:1637
 AliTPCClusterParam.cxx:1638
 AliTPCClusterParam.cxx:1639
 AliTPCClusterParam.cxx:1640
 AliTPCClusterParam.cxx:1641
 AliTPCClusterParam.cxx:1642
 AliTPCClusterParam.cxx:1643
 AliTPCClusterParam.cxx:1644
 AliTPCClusterParam.cxx:1645
 AliTPCClusterParam.cxx:1646
 AliTPCClusterParam.cxx:1647
 AliTPCClusterParam.cxx:1648
 AliTPCClusterParam.cxx:1649
 AliTPCClusterParam.cxx:1650
 AliTPCClusterParam.cxx:1651
 AliTPCClusterParam.cxx:1652
 AliTPCClusterParam.cxx:1653
 AliTPCClusterParam.cxx:1654
 AliTPCClusterParam.cxx:1655
 AliTPCClusterParam.cxx:1656
 AliTPCClusterParam.cxx:1657
 AliTPCClusterParam.cxx:1658
 AliTPCClusterParam.cxx:1659
 AliTPCClusterParam.cxx:1660
 AliTPCClusterParam.cxx:1661
 AliTPCClusterParam.cxx:1662
 AliTPCClusterParam.cxx:1663
 AliTPCClusterParam.cxx:1664
 AliTPCClusterParam.cxx:1665
 AliTPCClusterParam.cxx:1666
 AliTPCClusterParam.cxx:1667
 AliTPCClusterParam.cxx:1668
 AliTPCClusterParam.cxx:1669
 AliTPCClusterParam.cxx:1670
 AliTPCClusterParam.cxx:1671
 AliTPCClusterParam.cxx:1672
 AliTPCClusterParam.cxx:1673
 AliTPCClusterParam.cxx:1674
 AliTPCClusterParam.cxx:1675
 AliTPCClusterParam.cxx:1676
 AliTPCClusterParam.cxx:1677
 AliTPCClusterParam.cxx:1678
 AliTPCClusterParam.cxx:1679
 AliTPCClusterParam.cxx:1680
 AliTPCClusterParam.cxx:1681
 AliTPCClusterParam.cxx:1682
 AliTPCClusterParam.cxx:1683
 AliTPCClusterParam.cxx:1684
 AliTPCClusterParam.cxx:1685
 AliTPCClusterParam.cxx:1686
 AliTPCClusterParam.cxx:1687
 AliTPCClusterParam.cxx:1688
 AliTPCClusterParam.cxx:1689
 AliTPCClusterParam.cxx:1690
 AliTPCClusterParam.cxx:1691
 AliTPCClusterParam.cxx:1692
 AliTPCClusterParam.cxx:1693
 AliTPCClusterParam.cxx:1694
 AliTPCClusterParam.cxx:1695
 AliTPCClusterParam.cxx:1696
 AliTPCClusterParam.cxx:1697
 AliTPCClusterParam.cxx:1698
 AliTPCClusterParam.cxx:1699
 AliTPCClusterParam.cxx:1700
 AliTPCClusterParam.cxx:1701
 AliTPCClusterParam.cxx:1702
 AliTPCClusterParam.cxx:1703
 AliTPCClusterParam.cxx:1704
 AliTPCClusterParam.cxx:1705
 AliTPCClusterParam.cxx:1706
 AliTPCClusterParam.cxx:1707
 AliTPCClusterParam.cxx:1708
 AliTPCClusterParam.cxx:1709
 AliTPCClusterParam.cxx:1710
 AliTPCClusterParam.cxx:1711
 AliTPCClusterParam.cxx:1712
 AliTPCClusterParam.cxx:1713
 AliTPCClusterParam.cxx:1714
 AliTPCClusterParam.cxx:1715
 AliTPCClusterParam.cxx:1716
 AliTPCClusterParam.cxx:1717
 AliTPCClusterParam.cxx:1718
 AliTPCClusterParam.cxx:1719
 AliTPCClusterParam.cxx:1720
 AliTPCClusterParam.cxx:1721
 AliTPCClusterParam.cxx:1722
 AliTPCClusterParam.cxx:1723
 AliTPCClusterParam.cxx:1724
 AliTPCClusterParam.cxx:1725
 AliTPCClusterParam.cxx:1726
 AliTPCClusterParam.cxx:1727
 AliTPCClusterParam.cxx:1728
 AliTPCClusterParam.cxx:1729
 AliTPCClusterParam.cxx:1730
 AliTPCClusterParam.cxx:1731
 AliTPCClusterParam.cxx:1732
 AliTPCClusterParam.cxx:1733
 AliTPCClusterParam.cxx:1734
 AliTPCClusterParam.cxx:1735
 AliTPCClusterParam.cxx:1736
 AliTPCClusterParam.cxx:1737
 AliTPCClusterParam.cxx:1738
 AliTPCClusterParam.cxx:1739
 AliTPCClusterParam.cxx:1740
 AliTPCClusterParam.cxx:1741
 AliTPCClusterParam.cxx:1742
 AliTPCClusterParam.cxx:1743
 AliTPCClusterParam.cxx:1744
 AliTPCClusterParam.cxx:1745
 AliTPCClusterParam.cxx:1746
 AliTPCClusterParam.cxx:1747
 AliTPCClusterParam.cxx:1748
 AliTPCClusterParam.cxx:1749
 AliTPCClusterParam.cxx:1750
 AliTPCClusterParam.cxx:1751
 AliTPCClusterParam.cxx:1752
 AliTPCClusterParam.cxx:1753
 AliTPCClusterParam.cxx:1754
 AliTPCClusterParam.cxx:1755
 AliTPCClusterParam.cxx:1756
 AliTPCClusterParam.cxx:1757
 AliTPCClusterParam.cxx:1758
 AliTPCClusterParam.cxx:1759
 AliTPCClusterParam.cxx:1760
 AliTPCClusterParam.cxx:1761
 AliTPCClusterParam.cxx:1762
 AliTPCClusterParam.cxx:1763
 AliTPCClusterParam.cxx:1764
 AliTPCClusterParam.cxx:1765
 AliTPCClusterParam.cxx:1766
 AliTPCClusterParam.cxx:1767
 AliTPCClusterParam.cxx:1768
 AliTPCClusterParam.cxx:1769
 AliTPCClusterParam.cxx:1770
 AliTPCClusterParam.cxx:1771
 AliTPCClusterParam.cxx:1772
 AliTPCClusterParam.cxx:1773
 AliTPCClusterParam.cxx:1774
 AliTPCClusterParam.cxx:1775
 AliTPCClusterParam.cxx:1776
 AliTPCClusterParam.cxx:1777
 AliTPCClusterParam.cxx:1778
 AliTPCClusterParam.cxx:1779
 AliTPCClusterParam.cxx:1780
 AliTPCClusterParam.cxx:1781
 AliTPCClusterParam.cxx:1782
 AliTPCClusterParam.cxx:1783
 AliTPCClusterParam.cxx:1784
 AliTPCClusterParam.cxx:1785
 AliTPCClusterParam.cxx:1786
 AliTPCClusterParam.cxx:1787
 AliTPCClusterParam.cxx:1788
 AliTPCClusterParam.cxx:1789
 AliTPCClusterParam.cxx:1790
 AliTPCClusterParam.cxx:1791
 AliTPCClusterParam.cxx:1792
 AliTPCClusterParam.cxx:1793
 AliTPCClusterParam.cxx:1794
 AliTPCClusterParam.cxx:1795
 AliTPCClusterParam.cxx:1796
 AliTPCClusterParam.cxx:1797
 AliTPCClusterParam.cxx:1798
 AliTPCClusterParam.cxx:1799
 AliTPCClusterParam.cxx:1800
 AliTPCClusterParam.cxx:1801
 AliTPCClusterParam.cxx:1802
 AliTPCClusterParam.cxx:1803
 AliTPCClusterParam.cxx:1804
 AliTPCClusterParam.cxx:1805
 AliTPCClusterParam.cxx:1806
 AliTPCClusterParam.cxx:1807
 AliTPCClusterParam.cxx:1808
 AliTPCClusterParam.cxx:1809
 AliTPCClusterParam.cxx:1810
 AliTPCClusterParam.cxx:1811
 AliTPCClusterParam.cxx:1812
 AliTPCClusterParam.cxx:1813
 AliTPCClusterParam.cxx:1814
 AliTPCClusterParam.cxx:1815
 AliTPCClusterParam.cxx:1816
 AliTPCClusterParam.cxx:1817
 AliTPCClusterParam.cxx:1818
 AliTPCClusterParam.cxx:1819
 AliTPCClusterParam.cxx:1820
 AliTPCClusterParam.cxx:1821
 AliTPCClusterParam.cxx:1822
 AliTPCClusterParam.cxx:1823
 AliTPCClusterParam.cxx:1824
 AliTPCClusterParam.cxx:1825
 AliTPCClusterParam.cxx:1826
 AliTPCClusterParam.cxx:1827
 AliTPCClusterParam.cxx:1828
 AliTPCClusterParam.cxx:1829
 AliTPCClusterParam.cxx:1830
 AliTPCClusterParam.cxx:1831
 AliTPCClusterParam.cxx:1832
 AliTPCClusterParam.cxx:1833
 AliTPCClusterParam.cxx:1834
 AliTPCClusterParam.cxx:1835
 AliTPCClusterParam.cxx:1836
 AliTPCClusterParam.cxx:1837
 AliTPCClusterParam.cxx:1838
 AliTPCClusterParam.cxx:1839
 AliTPCClusterParam.cxx:1840
 AliTPCClusterParam.cxx:1841
 AliTPCClusterParam.cxx:1842
 AliTPCClusterParam.cxx:1843
 AliTPCClusterParam.cxx:1844
 AliTPCClusterParam.cxx:1845
 AliTPCClusterParam.cxx:1846
 AliTPCClusterParam.cxx:1847
 AliTPCClusterParam.cxx:1848
 AliTPCClusterParam.cxx:1849
 AliTPCClusterParam.cxx:1850
 AliTPCClusterParam.cxx:1851
 AliTPCClusterParam.cxx:1852
 AliTPCClusterParam.cxx:1853
 AliTPCClusterParam.cxx:1854
 AliTPCClusterParam.cxx:1855
 AliTPCClusterParam.cxx:1856
 AliTPCClusterParam.cxx:1857
 AliTPCClusterParam.cxx:1858
 AliTPCClusterParam.cxx:1859
 AliTPCClusterParam.cxx:1860
 AliTPCClusterParam.cxx:1861
 AliTPCClusterParam.cxx:1862
 AliTPCClusterParam.cxx:1863
 AliTPCClusterParam.cxx:1864
 AliTPCClusterParam.cxx:1865
 AliTPCClusterParam.cxx:1866
 AliTPCClusterParam.cxx:1867
 AliTPCClusterParam.cxx:1868
 AliTPCClusterParam.cxx:1869
 AliTPCClusterParam.cxx:1870
 AliTPCClusterParam.cxx:1871
 AliTPCClusterParam.cxx:1872
 AliTPCClusterParam.cxx:1873
 AliTPCClusterParam.cxx:1874
 AliTPCClusterParam.cxx:1875
 AliTPCClusterParam.cxx:1876
 AliTPCClusterParam.cxx:1877
 AliTPCClusterParam.cxx:1878
 AliTPCClusterParam.cxx:1879
 AliTPCClusterParam.cxx:1880
 AliTPCClusterParam.cxx:1881
 AliTPCClusterParam.cxx:1882
 AliTPCClusterParam.cxx:1883
 AliTPCClusterParam.cxx:1884
 AliTPCClusterParam.cxx:1885
 AliTPCClusterParam.cxx:1886
 AliTPCClusterParam.cxx:1887
 AliTPCClusterParam.cxx:1888
 AliTPCClusterParam.cxx:1889
 AliTPCClusterParam.cxx:1890
 AliTPCClusterParam.cxx:1891
 AliTPCClusterParam.cxx:1892
 AliTPCClusterParam.cxx:1893
 AliTPCClusterParam.cxx:1894
 AliTPCClusterParam.cxx:1895
 AliTPCClusterParam.cxx:1896
 AliTPCClusterParam.cxx:1897
 AliTPCClusterParam.cxx:1898
 AliTPCClusterParam.cxx:1899
 AliTPCClusterParam.cxx:1900
 AliTPCClusterParam.cxx:1901
 AliTPCClusterParam.cxx:1902
 AliTPCClusterParam.cxx:1903
 AliTPCClusterParam.cxx:1904
 AliTPCClusterParam.cxx:1905
 AliTPCClusterParam.cxx:1906
 AliTPCClusterParam.cxx:1907
 AliTPCClusterParam.cxx:1908
 AliTPCClusterParam.cxx:1909
 AliTPCClusterParam.cxx:1910
 AliTPCClusterParam.cxx:1911
 AliTPCClusterParam.cxx:1912
 AliTPCClusterParam.cxx:1913
 AliTPCClusterParam.cxx:1914
 AliTPCClusterParam.cxx:1915
 AliTPCClusterParam.cxx:1916
 AliTPCClusterParam.cxx:1917
 AliTPCClusterParam.cxx:1918
 AliTPCClusterParam.cxx:1919
 AliTPCClusterParam.cxx:1920
 AliTPCClusterParam.cxx:1921
 AliTPCClusterParam.cxx:1922
 AliTPCClusterParam.cxx:1923
 AliTPCClusterParam.cxx:1924
 AliTPCClusterParam.cxx:1925
 AliTPCClusterParam.cxx:1926
 AliTPCClusterParam.cxx:1927
 AliTPCClusterParam.cxx:1928
 AliTPCClusterParam.cxx:1929
 AliTPCClusterParam.cxx:1930
 AliTPCClusterParam.cxx:1931
 AliTPCClusterParam.cxx:1932
 AliTPCClusterParam.cxx:1933
 AliTPCClusterParam.cxx:1934
 AliTPCClusterParam.cxx:1935
 AliTPCClusterParam.cxx:1936
 AliTPCClusterParam.cxx:1937
 AliTPCClusterParam.cxx:1938
 AliTPCClusterParam.cxx:1939
 AliTPCClusterParam.cxx:1940
 AliTPCClusterParam.cxx:1941
 AliTPCClusterParam.cxx:1942
 AliTPCClusterParam.cxx:1943
 AliTPCClusterParam.cxx:1944
 AliTPCClusterParam.cxx:1945
 AliTPCClusterParam.cxx:1946
 AliTPCClusterParam.cxx:1947
 AliTPCClusterParam.cxx:1948
 AliTPCClusterParam.cxx:1949
 AliTPCClusterParam.cxx:1950
 AliTPCClusterParam.cxx:1951
 AliTPCClusterParam.cxx:1952
 AliTPCClusterParam.cxx:1953
 AliTPCClusterParam.cxx:1954
 AliTPCClusterParam.cxx:1955
 AliTPCClusterParam.cxx:1956
 AliTPCClusterParam.cxx:1957
 AliTPCClusterParam.cxx:1958
 AliTPCClusterParam.cxx:1959
 AliTPCClusterParam.cxx:1960
 AliTPCClusterParam.cxx:1961
 AliTPCClusterParam.cxx:1962
 AliTPCClusterParam.cxx:1963
 AliTPCClusterParam.cxx:1964
 AliTPCClusterParam.cxx:1965
 AliTPCClusterParam.cxx:1966
 AliTPCClusterParam.cxx:1967
 AliTPCClusterParam.cxx:1968
 AliTPCClusterParam.cxx:1969