New functions to set the acceptance of parts of the chambers. Minors.
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Jun 2010 09:35:56 +0000 (09:35 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Jun 2010 09:35:56 +0000 (09:35 +0000)
HMPID/AliHMPIDRecon.cxx

index 932acde..85495c4 100644 (file)
@@ -493,6 +493,8 @@ Double_t AliHMPIDRecon::HoughResponse()
       TVector2 pos; pos=TracePhot(ckov,j*TMath::TwoPi()/(Double_t)(nStep-1));
       if(fParam->IsInDead(pos.X(),pos.Y())) continue;
       fParam->Lors2Pad(pos.X(),pos.Y(),ipc,ipadx,ipady);
+      ipadx+=(ipc%2)*fParam->kPadPcX;
+      ipady+=(ipc/2)*fParam->kPadPcY;
       if(fParam->IsDeadPad(ipadx,ipady,ch)) continue;
       nPhi++;
     }//point loop