fDESegmentations->Add(detElemId, segmentation);
}
+
+//______________________________________________________________________________
+const AliMUONVGeometryDESegmentation*
+AliMUONGeometrySegmentation::GetDESegmentation(Int_t detElemId) const
+{
+// Return the DE segmentation
+
+ if (!OwnNotify(detElemId)) return 0;
+
+ return fCurrentSegmentation;
+}
+
//______________________________________________________________________________
AliMUONGeometryDirection
AliMUONGeometrySegmentation::GetDirection(Int_t detElemId) const
// get methods
AliMUONGeometryModule* GetGeometry() const;
+ virtual const AliMUONVGeometryDESegmentation* GetDESegmentation(Int_t detElemId) const;
+ // DE segmentation
virtual AliMUONGeometryDirection GetDirection(Int_t detElemId) const;
// Direction with a constant pad size
// (Direction or coordinate where the resolution is the best)
}
}
+//______________________________________________________________________________
+const AliMpSectorSegmentation*
+AliMUONSt12QuadrantSegmentation::GetMpSegmentation() const
+{
+// Returns the mapping segmentation
+// (provides access to electronics info)
+
+ return fSectorSegmentation;
+}
+
//______________________________________________________________________________
Float_t AliMUONSt12QuadrantSegmentation::GetAnod(Float_t xhit) const
{
//
virtual AliMUONGeometryDirection GetDirection();
// Returns the direction with a constant pad size
+ // Access to mapping
+ virtual const AliMpSectorSegmentation* GetMpSegmentation() const;
// Transform from pad (wire) to real coordinates and vice versa
//
TVector2 GetMinPadDimensions() const;
Bool_t CircleTest(const AliMpIntPair& indices) const;
void PrintZones() const;
+
+ const AliMpSector* GetSector() const;
protected:
AliMpSectorSegmentation(const AliMpSectorSegmentation& right);
ClassDef(AliMpSectorSegmentation,1) // Segmentation
};
+
+// inline functions
+
+inline const AliMpSector* AliMpSectorSegmentation::GetSector() const
+{ return fkSector; }
+
#endif //ALI_MP_SECTOR_SEGMENTATION_H