]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCRecoParam.cxx
Iteration number stored into output file
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.cxx
index a94209c35ba13f3e86d6857e94a581f9ce2fe6a9..a4bd18e14060fb0a195b9b15d9edcb7d4e226705 100644 (file)
 //                                                                           //
 // Class with TPC reconstruction parameters                                  //
 //                                                                           //  
-//                                                                           //
+//
+/*
+  The reconstruction parameters are used in the AliTPCclustererMI and AliTPCtrackerMI
+  
+  They are retrieved:
+  0. User speciefied it in reconstruction macro
+  1. if (not 0) from OCDB  - AliTPCcalibDB::GetRecoParam(eventtype)
+  2. if (not 0 or 1) default parameter - High flux enevironment used  
+
+  FIXME:
+  In the future  reconstruction parameters should be changed on event basis
+  But for the moment, event types are still not defined 
+
+
+  // Setting for systematic errors addition
+  [0] - systematic RMSY
+  [1] - systematic RMSZ
+  [2] - systematic RMSSNP
+  [3] - systematic RMSTheta
+  [4] - systematic RMSCuravture -  systematic error in 1/cm not in 1/pt
+  //
+  //  How to add it example - 3 mm systematic error y, 3 cm systematic error z (drift)
+  Double_t sysError[5]={0.3,3, 0.3/150., 3./150.,1/(0.3*150*150.)}
+  param->SetSystematicError(sysError);
+
+*/
+                                                                           //
 ///////////////////////////////////////////////////////////////////////////////
 
 
@@ -31,10 +57,11 @@ ClassImp(AliTPCRecoParam)
 
 //_____________________________________________________________________________
 AliTPCRecoParam::AliTPCRecoParam():
+  AliDetectorRecoParam(),
+  fBClusterSharing(kTRUE),
   fCtgRange(1.05),       
   fMaxSnpTracker(0.95),
   fMaxSnpTrack(0.999),
-  fBYMirror(kTRUE),
   fDumpSignal(kFALSE),
   fFirstBin(0),
   fLastBin(-1),
@@ -56,6 +83,9 @@ AliTPCRecoParam::AliTPCRecoParam():
   //
   // constructor
   //
+  SetName("TPC");
+  SetTitle("TPC");
+  for (Int_t i=0;i<5;i++) fSystematicErrors[i]=0;
 }
 
 //_____________________________________________________________________________
@@ -77,6 +107,8 @@ AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
   param->fCtgRange = 10;
   param->fFirstBin = 0;
   param->fLastBin  = 1000;
+  param->SetName("Low Flux");
+  param->SetTitle("Low Flux");
   return param;
 }
 
@@ -87,7 +119,26 @@ AliTPCRecoParam *AliTPCRecoParam::GetHighFluxParam(){
   AliTPCRecoParam *param = new AliTPCRecoParam;
   param->fCtgRange = 1.05;
   param->fFirstBin = 0;
-  param->fLastBin  = 1000;
+  param->fLastBin  = 1000;  
+  param->SetName("High Flux");
+  param->SetTitle("High Flux");
+  return param;
+}
+
+AliTPCRecoParam *AliTPCRecoParam::GetHLTParam(){
+  //
+  // make reco parameters for high flux env.
+  //
+  AliTPCRecoParam *param = new AliTPCRecoParam;
+  param->fCtgRange = 1.05;
+  param->fFirstBin = 80;
+  param->fLastBin  = 1000;  
+  param->fMaxSnpTracker = 0.9; 
+  param->fMaxC          = 0.06; 
+  //
+  param->SetName("Hlt Param");
+  param->SetTitle("Hlt Param"); 
+  param->fBKinkFinder   = kFALSE;
   return param;
 }
 
@@ -107,7 +158,10 @@ AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
   param->fMaxSnpTracker = 0.98;
   param->fMaxC          = 0.02;
   param->fBSpecialSeeding = kTRUE;
-  param->fBYMirror      = kFALSE;
+  //
+  //
+  param->SetName("Laser Flux");
+  param->SetTitle("Laser Flux");
   return param;
 }
 
@@ -125,7 +179,9 @@ AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
   param->fBSpecialSeeding = kTRUE;
   param->fMaxC          = 0.07;
   param->fBKinkFinder   = kFALSE;
-  param->fBYMirror      = kFALSE;
+  param->SetName("Cosmic Flux");
+  param->SetTitle("Cosmic Flux");
+
   return param;
 }