From daf14717c3108b70e82dbd92dc1ea94017cb7272 Mon Sep 17 00:00:00 2001 From: cvetan Date: Fri, 24 Mar 2006 13:48:46 +0000 Subject: [PATCH] L1 Gating signal is now used to remove the TPC hits which arrive before the gating signal. By default its delay is set to 0, so no hits will be removed. --- TPC/AliTPC.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/TPC/AliTPC.cxx b/TPC/AliTPC.cxx index 8d33223b664..4df5f01f6aa 100644 --- a/TPC/AliTPC.cxx +++ b/TPC/AliTPC.cxx @@ -1668,6 +1668,13 @@ void AliTPC::MakeSector(Int_t isec,Int_t nrows,TTree *TH, continue; } + // Remove hits which arrive before the TPC opening gate signal + if(((fTPCParam->GetZLength()-TMath::Abs(tpcHit->Z())) + /fTPCParam->GetDriftV()+tpcHit->Time())GetGateDelay()) { + tpcHit = (AliTPChit*) NextHit(); + continue; + } + currentTrack = tpcHit->Track(); // track number if(currentTrack != previousTrack){ -- 2.39.3