20 #ifndef ALI_MP_V_SEGMENTATION_H 21 #define ALI_MP_V_SEGMENTATION_H 56 Bool_t includeSelf=kFALSE,
57 Bool_t includeVoid=kFALSE)
const = 0;
61 Bool_t warning =
true)
const = 0;
64 Bool_t warning =
true)
const = 0;
67 Bool_t warning =
true)
const = 0;
81 virtual Int_t
NofPads()
const = 0;
115 #endif //ALI_MP_V_SEGMENTATION_H virtual Bool_t HasMotifPosition(Int_t manuId) const =0
Whether or not we have a given manu.
virtual AliMp::PlaneType PlaneType() const =0
Return the plane type.
virtual Int_t NofPads() const =0
Return the number of pads in the detection element.
virtual Int_t GetNofElectronicCards() const =0
Get the number of electronic card IDs.
virtual AliMpMotifPosition * MotifPosition(Int_t manuId) const =0
Return the position of a given manu (aka motifPosition)
A rectangle area positioned in plane..
virtual Bool_t HasPadByIndices(Int_t ix, Int_t iy) const
virtual AliMpPad PadByIndices(Int_t ix, Int_t iy, Bool_t warning=true) const =0
Find pad by indices.
virtual Double_t GetDimensionY() const =0
Return the y half-sizes of the detection element.
virtual AliMp::StationType StationType() const =0
Return the station type.
virtual Double_t GetPositionY() const =0
Return the y position of the origin of the detection element.
virtual Int_t MaxPadIndexY() const =0
Return maximum pad index in Y direction.
virtual AliMpVPadIterator * CreateIterator() const =0
Create a pad iterator over the whole area.
An interface for an iterator over pads.
virtual Double_t GetDimensionX() const =0
Return the x half-sizes of the detection element.
virtual ~AliMpVSegmentation()
virtual AliMpPad PadByPosition(Double_t x, Double_t y, Bool_t warning=true) const =0
Find pad by position.
virtual Bool_t HasPadByLocation(Int_t manuId, Int_t manuChannel) const
Return true if the pad with given location exists.
The abstract base class for the segmentation.
virtual Int_t MaxPadIndexX() const =0
Return maximum pad index in X direction.
virtual Int_t GetNeighbours(const AliMpPad &pad, TObjArray &neighbours, Bool_t includeSelf=kFALSE, Bool_t includeVoid=kFALSE) const =0
Class which encapsuate all information about a pad.
virtual AliMpPad PadByLocation(Int_t manuId, Int_t manuChannel, Bool_t warning=true) const =0
Find pad by location.
virtual Double_t GetPositionX() const =0
Return the x position of the origin of the detection element.
virtual void GetAllElectronicCardIDs(TArrayI &ecn) const =0
Fill the given array with the electronic card IDs.