/* $Id$ */
// Revision of includes 07/05/2004
+/// \ingroup base
+/// \class AliMUONSt12QuadrantSegmentation
+/// \brief Segmentation for MUON quadrants of stations 1 and 2
+
// Class AliMUONSt12QuadrantSegmentation
// -------------------------------------
// Segmentation for MUON quadrants of stations 1 and 2 using
class AliMpSectorSegmentation;
class AliMpVPadIterator;
class AliMpPad;
-class AliMUONSegmentManuIndex;
class AliMUONChamber;
class AliMUONSt12QuadrantSegmentation : public AliMUONVGeometryDESegmentation
{
public:
- AliMUONSt12QuadrantSegmentation(AliMpStationType stationType,
+ AliMUONSt12QuadrantSegmentation(AliMpVSegmentation* segmentation,
+ AliMpStationType stationType,
AliMpPlaneType planeType);
AliMUONSt12QuadrantSegmentation();
virtual AliMUONGeometryDirection GetDirection();
// Returns the direction with a constant pad size
// Access to mapping
- virtual const AliMpSectorSegmentation* GetMpSegmentation() const;
+ virtual const AliMpVSegmentation* GetMpSegmentation() const;
// Transform from pad (wire) to real coordinates and vice versa
//
virtual void GetPadC(Int_t ix, Int_t iy, Float_t& x, Float_t& y, Float_t& z);
virtual void GetPadC(Int_t ix, Int_t iy, Float_t& x, Float_t& y);
// Transform from real to pad coordinates
- // get pad for a given connection
- virtual void GetPadE(Int_t &/*ix*/, Int_t &/*iy*/, AliMUONSegmentManuIndex* /*connect*/) {return;}
- virtual AliMUONSegmentManuIndex* GetMpConnection(Int_t /*ix*/, Int_t /*iy*/) {return 0x0;}
- // get electronics connection for given pad
+
// Initialisation
//
virtual void Init(Int_t chamber);
private:
// methods
void UpdateCurrentPadValues(const AliMpPad& pad);
- void ReadMappingData();
- // constants
- static const Float_t fgkWireD; // default wire pitch
- static const Float_t fgkLengthUnit;// conversion between length units
- // from mapping (mm) to AliRoot (cm)
// data members
// From mapping
//
AliMpStationType fStationType; // station type
AliMpPlaneType fPlaneType; // plane type
- AliMpSector* fSector; // ! sector (from mapping)
- AliMpSectorSegmentation* fSectorSegmentation;// ! sector segmentation (from mapping)
+ const AliMpSector* fSector; // sector (from mapping)
+ AliMpSectorSegmentation* fSectorSegmentation;// sector segmentation (from mapping)
AliMpVPadIterator* fSectorIterator; // ! iterator over pads
// Wire pitch
TObjArray* fCorrA; // ! Array of correction functions
- ClassDef(AliMUONSt12QuadrantSegmentation,1) // Station1 segmentation
+ ClassDef(AliMUONSt12QuadrantSegmentation,2) // Station1 segmentation
};
#endif //ALI_MUON_ST12_QUADRANT_SEGMENTATION_H