X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDtrackV1.cxx;h=28f01efd64f6ddeffc9deb7526db80d4a5a60bf2;hb=803dc399b238096dcf58224967bf3ba25a3efcd4;hp=587886c2718044baefa2fc1271b669f7c85e70f6;hpb=5c5d503aeb880dc107412dd3105750a3ac29ea26;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDtrackV1.cxx b/TRD/AliTRDtrackV1.cxx index 587886c2718..28f01efd64f 100644 --- a/TRD/AliTRDtrackV1.cxx +++ b/TRD/AliTRDtrackV1.cxx @@ -584,7 +584,7 @@ Int_t AliTRDtrackV1::GetProlongation(Double_t xk, Double_t &y, Double_t &z) cons } //_____________________________________________________________________________ -Bool_t AliTRDtrackV1::PropagateTo(Double_t xk, Double_t /*xx0*/, Double_t xrho) +Bool_t AliTRDtrackV1::PropagateTo(Double_t xk, Double_t xx0, Double_t xrho) { // // Propagates this track to a reference plane defined by "xk" [cm] @@ -621,8 +621,7 @@ Bool_t AliTRDtrackV1::PropagateTo(Double_t xk, Double_t /*xx0*/, Double_t xrho) AddTimeStep(l2); } } - -// if (!AliExternalTrackParam::CorrectForMeanMaterial(xx0, xrho, GetMass())) return kFALSE; + if (!AliExternalTrackParam::CorrectForMeanMaterial(xx0, xrho, GetMass())) return kFALSE; { @@ -883,8 +882,11 @@ void AliTRDtrackV1::UpdateESDtrack(AliESDtrack *track) // first implementation store no. of time bins filled in tracklet (5bits see "y" bits) and // no. of double clusters in case of pad row cross (4bits see "x" bits) // bit map for tracklet quality xxxxyyyyy + // 27.10.11 A.Bercuci + // add chamber status bit "z" bit + // bit map for tracklet quality zxxxxyyyyy Int_t nCross(fTracklet[ip]->IsRowCross()?fTracklet[ip]->GetTBcross():0); - spd = Double_t(fTracklet[ip]->GetTBoccupancy() | (nCross<<5)); + spd = Double_t(fTracklet[ip]->GetTBoccupancy() | (nCross<<5) | (fTracklet[ip]->IsChmbGood()<<9)); track->SetTRDmomentum(p, ip, &spd); track->SetTRDslice(fTracklet[ip]->GetdQdl(), ip, 0); // Set Summed dEdx into the first slice }