]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/HplotDA.C
Moving the copy constructors and assignment operators to private: and removing the...
[u/mrichter/AliRoot.git] / HMPID / HplotDA.C
index 8ba3677f52c30006899a1b4491fe6dc3d4453a14..c97bd0bbc075bc12dd6bd09c6553249443f1959c 100644 (file)
@@ -34,13 +34,11 @@ TFile *fgout=0x0;
 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++      
 void Convert(Int_t ddl,Int_t r,Int_t d,Int_t a,Int_t &ch, Int_t &pc, Int_t &px, Int_t &py)
 {
-  
   Int_t a2y[6]={3,2,4,1,5,0};//pady for a given address (for single DILOGIC chip)
   
   Int_t ch=ddl/2;
   Int_t tmp=(24-r)/8;              Int_t pc=(ddl%2)? 5-2*tmp:2*tmp; 
-                                  Int_t px=(d-1)*8+a/6;
+  Int_t px=dil*8-pad/6-1;  //flip according to Paolo (26-3-2008)
         tmp=(ddl%2)?r-1:(24-r);   Int_t py=6*(tmp%8)+a2y[a%6];
 }
 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++