17 #ifndef ALI_MP_SECTOR_SEGMENTATION_H
18 #define ALI_MP_SECTOR_SEGMENTATION_H
42 Bool_t includeSelf = kFALSE,
43 Bool_t includeVoid = kFALSE)
const;
47 Bool_t warning = kTRUE)
const;
49 Bool_t warning = kTRUE)
const;
51 Bool_t warning = kTRUE)
const;
53 Double_t distance)
const;
76 virtual void Print(Option_t* opt=
"")
const;
120 #endif //ALI_MP_SECTOR_SEGMENTATION_H
AliMpSectorSegmentation()
AliMpMotifPosition * FindMotifPosition(Int_t ix, Int_t iy) const
virtual AliMpVPadIterator * CreateIterator() const
Create a pad iterator over the whole area.
Int_t fMaxIndexInY
maximum pad index in y
const AliMpSector * GetSector() const
Return the sector.
Bool_t CircleTest(Int_t ix, Int_t iy) const
virtual AliMpPad PadByYDirection(Double_t startx, Double_t starty, Double_t maxY) const
virtual AliMpPad PadByDirection(Double_t startx, Double_t starty, Double_t distance) const
virtual AliMpPad PadByIndices(Int_t ix, Int_t iy, Bool_t warning=kTRUE) const
Find pad by indices.
virtual void Print(Option_t *opt="") const
virtual AliMpPad PadByLocation(Int_t manuId, Int_t manuChannel, Bool_t warning=kTRUE) const
Find pad by location.
A rectangle area positioned in plane..
virtual AliMpMotifPosition * MotifPosition(Int_t manuId) const
Return the position of a given manu (aka motifPosition)
virtual Double_t GetDimensionY() const
Return the y half-sizes of the detection element.
virtual Int_t GetNofElectronicCards() const
Get the number of electronic card IDs.
virtual Double_t GetPositionY() const
Return the y position of the origin of the detection element.
virtual void GetAllElectronicCardIDs(TArrayI &ecn) const
Fill the given array with the electronic card IDs.
virtual Bool_t HasPadByIndices(Int_t ix, Int_t iy) const
Double_t GetMinPadDimensionY() const
virtual AliMpPad PadByXDirection(Double_t startx, Double_t starty, Double_t maxX) const
An interface for an iterator over pads.
virtual ~AliMpSectorSegmentation()
A sector (quadrant) of the MUON chamber of stations 1 and 2.
virtual Double_t GetPositionX() const
Return the x position of the origin of the detection element.
const AliMpSector * fkSector
Sector.
Bool_t fIsOwner
Sector ownership.
virtual Double_t GetDimensionX() const
Return the x half-sizes of the detection element.
A segmentation of the sector.
virtual Int_t GetNeighbours(const AliMpPad &pad, TObjArray &neighbours, Bool_t includeSelf=kFALSE, Bool_t includeVoid=kFALSE) const
The abstract base class for the segmentation.
virtual AliMpPad PadByPosition(Double_t x, Double_t y, Bool_t warning=kTRUE) const
Find pad by position.
AliMpSectorSegmentation & operator=(const AliMpSectorSegmentation &right)
Not implemented.
Double_t GetMinPadDimensionX() const
Class which encapsuate all information about a pad.
Int_t fMaxIndexInX
maximum pad index in x
AliMpPad * fPadBuffer
The pad buffer.
virtual Bool_t HasPadByLocation(Int_t manuId, Int_t manuChannel) const
Return true if the pad with given location exists.
virtual Int_t MaxPadIndexX() const
Return maximum pad index in X direction.
virtual Bool_t HasMotifPosition(Int_t motifPositionID) const
Whether or not we have a given manu.
virtual Int_t MaxPadIndexY() const
Return maximum pad index in Y direction.
virtual AliMp::StationType StationType() const
Return station type.
virtual Int_t NofPads() const
Return the number of pads in the detection element.
virtual AliMp::PlaneType PlaneType() const
Return the plane type.