54 AliDebug(1,Form(
"this=%p Empty ctor",
this));
68 AliDebug(1,Form(
"this=%p Normal ctor slat=%p",
this,slat));
97 AliDebug(1,Form(
"this=%p",
this));
107 AliError(
"Not implemented for trigger");
118 AliError(
"Not implemented for trigger");
131 AliError(
"Not implemented for trigger");
165 TString name(
"TriggerSegmentation");
199 Bool_t warning)
const
224 if ( warning && !pad.
IsValid() )
226 AliWarning(Form(
"No pad found at location (%d,%d)", manuId, manuChannel));
234 Bool_t warning)
const
267 if ( warning && !pad.
IsValid() )
269 AliWarning(Form(
"No pad found at indices (%d,%d)",ix, iy));
278 Bool_t warning)
const
309 if ( warning && !pad.
IsValid() )
311 AliWarning(Form(
"No pad found at position (%e,%e)",x,y));
345 return ecn.GetSize();
369 AliError(
"Not implemented");
Double_t GetPositionX() const
Return x position.
virtual AliMpPad PadByLocation(Int_t manuId, Int_t manuChannel, Bool_t warning) const
Find pad by location.
AliMpTriggerSegmentation()
Int_t GetNofPadsX() const
virtual Double_t GetPositionY() const
Return the y position of the origin of the detection element.
Int_t MaxPadIndexX() const
Return maximum pad index in X direction.
virtual Bool_t HasMotifPosition(Int_t manuId) const =0
Whether or not we have a given manu.
void GetAllLocalBoardNumbers(TArrayI &lbn) const
AliMpVSegmentation * GetLayerSegmentation(int layer) const
AliMp::PlaneType PlaneType() const
A rectangle area positioned in plane..
const AliMpTrigger * fkSlat
Slat.
MpPair_t GetIndices() const
Return pad indices as encoded pair (ix, iy)
virtual Double_t GetDimensionY() const
Return the y half-sizes of the detection element.
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.
const AliMpTrigger * Slat() const
virtual void GetAllElectronicCardIDs(TArrayI &ecn) const
Fill the given array with the electronic card IDs.
virtual Double_t GetDimensionX() const
Return the x half-sizes of the detection element.
Int_t GetManuChannel() const
Bool_t fIsOwner
Trigger slat ownership.
const char * GetName() const
Int_t GetSize() const
Returns the number of layers.
virtual AliMpVPadIterator * CreateIterator() const
Create a pad iterator over the whole area.
Implementation of AliMpVSegmentation for trigger slats.
An interface for an iterator over pads.
Double_t GetPositionY() const
Return the pad x position (in cm)
virtual AliMpMotifPosition * MotifPosition(Int_t manuId) const
Return the position of a given manu (aka motifPosition)
virtual ~AliMpTriggerSegmentation()
virtual Bool_t HasMotifPosition(Int_t manuId) const
Whether or not we have a given manu.
Double_t GetDimensionX() const
Return the x dimension (half-sizes) of that slat (cm)
virtual AliMpPad PadByIndices(Int_t ix, Int_t iy, Bool_t warning) const
Find pad by indices.
Int_t MaxPadIndexY() const
Return maximum pad index in Y direction.
Int_t fNofStrips
Number of strips in this slat.
Bool_t IsValid() const
Return validity.
virtual AliMpPad PadByPosition(Double_t x, Double_t y, Bool_t warning=true) const =0
Find pad by position.
Double_t GetDimensionY() const
Return the y dimension (half-sizes) of that slat (cm)
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.
Double_t GetDimensionY() const
Return the y pad dimension - half length (in cm)
Double_t GetPositionY() const
Return y position.
Class which encapsuate all information about a pad.
Double_t GetPositionX() const
Return the pad x position (in cm)
virtual Double_t GetPositionX() const
Return the x position of the origin of the detection element.
virtual AliMpPad PadByLocation(Int_t manuId, Int_t manuChannel, Bool_t warning=true) const =0
Find pad by location.
Bool_t AddLocation(Int_t localBoardId, Int_t localBoardChannel, Bool_t warn=true)
const char * GetName() const
virtual Int_t GetNofElectronicCards() const
Get the number of electronic card IDs.
virtual AliMpPad PadByPosition(Double_t x, Double_t y, Bool_t warning) const
Find pad by position.
Double_t GetDimensionX() const
Return the x pad dimension - half length (in cm)
Int_t GetMaxNofPadsY() const
virtual AliMp::PlaneType PlaneType() const
Return the plane type.