]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerSegmentationV2.h
- Added handling of tracks and file mask (used when merging different files).
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerSegmentationV2.h
index e5d6780f2057d98cae5f1508862f390a170b8ae7..de51c9271e4055e62567812679193d6926f979c4 100644 (file)
@@ -32,7 +32,8 @@ class AliMUONTriggerSegmentationV2 : public AliMUONVGeometryDESegmentation
  public:
 
   AliMUONTriggerSegmentationV2();
-  AliMUONTriggerSegmentationV2(Int_t detElemId, AliMpPlaneType bendingOrNonBending);
+  AliMUONTriggerSegmentationV2(AliMpVSegmentation* segmentation,
+                               Int_t detElemId, AliMpPlaneType bendingOrNonBending);
   virtual ~AliMUONTriggerSegmentationV2();
       
   /// Distance between 1 pad and a position
@@ -54,6 +55,7 @@ class AliMUONTriggerSegmentationV2 : public AliMUONVGeometryDESegmentation
   virtual Bool_t HasPad(Int_t ix, Int_t iy);
   
   virtual AliMUONGeometryDirection GetDirection();
+  virtual const AliMpVSegmentation* GetMpSegmentation() const;
 
   virtual Float_t GetAnod(Float_t /*xhit*/) const;
 
@@ -111,22 +113,19 @@ public:
     void GetPadLoc2Glo(Int_t ixLoc, Int_t iyLoc, Int_t& ixGlo, Int_t& iyGlo) const;
     void GetPadGlo2Loc(Int_t ixLoc, Int_t iyLoc, Int_t& ixGlo, Int_t& iyGlo) const;
     
-    void PC2LA(Int_t ixPC, Int_t iyPC, Int_t& ixLA, Int_t& iyLA);
-    void LA2PC(Int_t ixLA, Int_t iyLA, Int_t& ixPC, Int_t& iyPC);
+    void PC2LA(Int_t ixPC, Int_t iyPC, Int_t& ixLA, Int_t& iyLA) const;
+    void LA2PC(Int_t ixLA, Int_t iyLA, Int_t& ixPC, Int_t& iyPC) const;
     
-    void IGlo2ILoc(Int_t ixGlo, Int_t iyGlo, Int_t& ixLA, Int_t& iyLA);
-    void ILoc2IGlo(Int_t ixLA, Int_t iyLA, Int_t& ixGlo, Int_t& iyGlo);
+    void IGlo2ILoc(Int_t ixGlo, Int_t iyGlo, Int_t& ixLA, Int_t& iyLA) const;
+    void ILoc2IGlo(Int_t ixLA, Int_t iyLA, Int_t& ixGlo, Int_t& iyGlo) const;
     
     Int_t ModuleColNum(Int_t ixGlo) const;
     
-private:    
-    void ReadMappingData();
-    
 private:
     Int_t fDetElemId;
     AliMpPlaneType fPlaneType;
-    const AliMpTrigger* fSlat; //!
-    AliMpTriggerSegmentation* fSlatSegmentation; //!
+    const AliMpTrigger* fSlat;
+    AliMpTriggerSegmentation* fSlatSegmentation;
 //    AliMpVPadIterator* fPadIterator; //!
     AliMpPad fCurrentPad; //!FIXME: should not be needed, if we externalise the SetPad, SetHit, IntegrationLimits methods which have nothing to do here anyway, together with the iteration methods FirstPad, NextPad, MorePads, which have nothing to do here either.
     Float_t fXhit; //!