]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MFT/AliMFTSegmentation.h
Updating the upgraded beampipe and adding the MFT (Mario)
[u/mrichter/AliRoot.git] / MFT / AliMFTSegmentation.h
index 3a5ba96c82e6aed86b64c780365583ec2b38e870..7f6c700d7b2e16c5da0503593576a6527f5755e9 100644 (file)
@@ -34,7 +34,8 @@ public:
 
   THnSparseC* GetDetElem(Int_t detElemID) const;
 
-  Int_t GetDetElemID(Int_t plane, Int_t detElem) const { return fNMaxDetElemPerPlane*plane + detElem; }
+  Int_t GetDetElemGlobalID(Int_t plane, Int_t detElem) const { return fNMaxDetElemPerPlane*plane + detElem; }
+  Int_t GetDetElemLocalID(Int_t detElem) const { return detElem%fNMaxDetElemPerPlane; }
     
   Bool_t Hit2PixelID(Double_t xHit, Double_t yHit, Int_t detElemID, Int_t &xPixel, Int_t &yPixel);