Applying transformation AliTPCTransform
[u/mrichter/AliRoot.git] / TPC / AliTPCclustererMI.cxx
index c4a6dd39815872e4e793e28bc31ca028d7d152b8..b48ee755949d7e0ee63936aba11a8652e1e13b6d 100644 (file)
@@ -545,11 +545,13 @@ void AliTPCclustererMI::AddCluster(AliTPCclusterMI &c, Float_t * matrix, Int_t p
   w=fZWidth;
   c.SetSigmaZ2(s2*w*w);
   c.SetY((meani - 2.5 - 0.5*fMaxPad)*fParam->GetPadPitchWidth(fSector));
   w=fZWidth;
   c.SetSigmaZ2(s2*w*w);
   c.SetY((meani - 2.5 - 0.5*fMaxPad)*fParam->GetPadPitchWidth(fSector));
+  c.SetPad(meani-2.5);
   if (!fRecoParam->GetBYMirror()){
     if (fSector%36>17){
       c.SetY(-(meani - 2.5 - 0.5*fMaxPad)*fParam->GetPadPitchWidth(fSector));
     }
   }
   if (!fRecoParam->GetBYMirror()){
     if (fSector%36>17){
       c.SetY(-(meani - 2.5 - 0.5*fMaxPad)*fParam->GetPadPitchWidth(fSector));
     }
   }
+  c.SetTimeBin(meanj-3);
   c.SetZ(fZWidth*(meanj-3)); 
   c.SetZ(c.GetZ() - 3.*fParam->GetZSigma() + fParam->GetNTBinsL1()*fParam->GetZWidth()); // PASA delay + L1 delay
   c.SetZ(fSign*(fParam->GetZLength(fSector) - c.GetZ()));
   c.SetZ(fZWidth*(meanj-3)); 
   c.SetZ(c.GetZ() - 3.*fParam->GetZSigma() + fParam->GetNTBinsL1()*fParam->GetZWidth()); // PASA delay + L1 delay
   c.SetZ(fSign*(fParam->GetZLength(fSector) - c.GetZ()));