During simulation: fill STU region w/ non null time sums
[u/mrichter/AliRoot.git] / TPC / AliTPCRecoParam.cxx
index e1ad3a7..561a9c0 100644 (file)
@@ -61,6 +61,7 @@ Bool_t AliTPCRecoParam::fgUseTimeCalibration=kTRUE; // flag usage the time depen
 //_____________________________________________________________________________
 AliTPCRecoParam::AliTPCRecoParam():
   AliDetectorRecoParam(),
+  fUseHLTClusters(4),  // use HLTorRAW data
   fBClusterSharing(kTRUE),
   fCtgRange(1.05),       
   fMaxSnpTracker(0.95),
@@ -74,6 +75,8 @@ AliTPCRecoParam::AliTPCRecoParam():
   fDumpAmplitudeMin(100),
   fMaxNoise(2.),
   //
+  fUseOnePadCluster(kTRUE),
+  fUseHLTOnePadCluster(kFALSE),
   fMinMaxCutAbs(4.),
   fMinLeftRightCutAbs(6.),
   fMinUpDownCutAbs(6.),
@@ -85,7 +88,10 @@ AliTPCRecoParam::AliTPCRecoParam():
   fBSpecialSeeding(kFALSE),
   fBKinkFinder(kTRUE),
   fLastSeedRowSec(120),
+  fSeedGapPrim(6),
+  fSeedGapSec(6),
   fUseFieldCorrection(2),      // use field correction
+  fUseComposedCorrection(kFALSE),      // use field correction
   fUseRPHICorrection(0),      // use rphi correction
   fUseRadialCorrection(0),    // use radial correction
   fUseQuadrantAlignment(0),   // use quadrant alignment
@@ -94,11 +100,15 @@ AliTPCRecoParam::AliTPCRecoParam():
   fUseDriftCorrectionGY(1),   // use drif correction global y
   fUseGainCorrectionTime(0),  // use gain correction time
   fUseExBCorrection(1),  // use ExB correction
+  fUseMultiplicityCorrectionDedx(kTRUE), // use Dedx multiplicity correction
+  fUseAlignmentTime(kTRUE),              // use time dependent alignment correction
   //
   fUseTotCharge(kTRUE),          // switch use total or max charge
   fMinFraction(0.01),           // truncated mean - lower threshold
   fMaxFaction(0.7),            // truncated mean - upper threshold
-  fUseTOFCorrection(kTRUE)
+  fNeighborRowsDedx(2),           // neighbour rows for below threshold dEdx calculation
+  fUseTOFCorrection(kTRUE),
+  fUseSystematicCorrelation(kTRUE)
 {
   //
   // constructor
@@ -124,7 +134,17 @@ AliTPCRecoParam::~AliTPCRecoParam()
   //  
 }
 
-
+void AliTPCRecoParam::Print(const Option_t* /*option*/) const{
+  //
+  //
+  //
+  AliTPCRecoParam::Dump();
+  printf("Systematic errors:\n");
+  const char * cherrs[5]={"sy=","sz=","ssnp=","stheta=","s1pt="};
+  for (Int_t i=0; i<5; i++){
+    printf("%s%f\n",cherrs[i],fSystematicErrors[i]);
+  }
+}
 
 
 AliTPCRecoParam *AliTPCRecoParam::GetLowFluxParam(){
@@ -188,6 +208,7 @@ AliTPCRecoParam *AliTPCRecoParam::GetLaserTestParam(Bool_t bPedestal){
   param->fMaxC          = 0.02;
   param->fBSpecialSeeding = kTRUE;
   param->fUseTOFCorrection=kFALSE;
+  param->fUseHLTClusters=1; // always RAW data
   //
   //
   param->SetName("Laser Flux");
@@ -217,4 +238,16 @@ AliTPCRecoParam *AliTPCRecoParam::GetCosmicTestParam(Bool_t bPedestal){
 }
 
 
+Bool_t  AliTPCRecoParam::GetUseTimeCalibration(){ 
+  //
+  // get
+  //
+  return fgUseTimeCalibration;
+}
+void    AliTPCRecoParam::SetUseTimeCalibration(Bool_t useTimeCalibration) {
+  //
+  // set 
+  //
+  fgUseTimeCalibration = useTimeCalibration;
+}