add un-use functionality to clusters
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 May 2009 15:29:48 +0000 (15:29 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 May 2009 15:29:48 +0000 (15:29 +0000)
modify z error parametrization for pad row cross tracklets

TRD/AliTRDcluster.h
TRD/AliTRDseedV1.cxx

index c5fae07f80c438887e61bb7decdc84d272ea160d..39c820bc4cbcb7b4c09dc11961059271a666a1df 100644 (file)
@@ -83,7 +83,7 @@ public:
   void     SetQ(Float_t inQ){ fQ = inQ;}
   void     SetClusterMasking(UChar_t inClusterMasking){ fClusterMasking = inClusterMasking;}
   void     SetShared(Bool_t sh  = kTRUE)   { SetBit(AliCluster::kShared,sh);    }
-  void     Use(Int_t = 0)                  { SetBit(AliCluster::kUsed, kTRUE);              }
+  void     Use(Int_t u = 1)                  { SetBit(AliCluster::kUsed, u ? kTRUE : kFALSE);              }
   void     SetFivePad(Bool_t b = kTRUE) { SetBit(kFivePad,b);}
 
 protected:
index c3c32de2c3b23f4c758a3a650370efb2ddaf92cf..0553c38a738215ae77ae7b8b5d73407672cd09b8 100644 (file)
@@ -1156,11 +1156,11 @@ Bool_t AliTRDseedV1::Fit(Bool_t tilt, Bool_t zcorr)
       fX=(fX<0.)?0.:fX;
       Float_t dl = .5*AliTRDgeometry::CamHght()+AliTRDgeometry::CdrHght();
       fX=(fX> dl)?dl:fX;
-      fX+=.055; // TODO to be understood
+      fX-=.055; // TODO to be understood
     }
 
     fZfit[0] = .5*(zc[0]+zc[kNclusters-1]); fZfit[1] = 0.;
-    fS2Z     = 0.02+1.55*fZref[1]; fS2Z *= fS2Z;
+    fS2Z     = 0.5+0.4*fZref[1]; fS2Z *= fS2Z;
   } else {
     fZfit[0] = zc[0]; fZfit[1] = 0.;
     fS2Z     = GetPadLength()*GetPadLength()/12.;