20 #include <TClonesArray.h>
25 AliMpPad(Int_t manuId, Int_t channel,
27 Double_t x, Double_t y,
28 Double_t dx, Double_t dy,
29 Bool_t validity =
true);
30 AliMpPad(Int_t manuId, Int_t channel,
32 Double_t positionX, Double_t positionY,
33 Double_t dx, Double_t dy,
34 Bool_t validity =
true);
50 void PrintOn(ostream& out)
const;
51 void Print(
const char* =
"")
const;
62 Bool_t
AddLocation(Int_t localBoardId, Int_t localBoardChannel,
96 Bool_t
HasLocation(Int_t localBoardId, Int_t localBoardChannel)
const;
121 #endif //ALI_MP_PAD_H
MpPair_t fLIndices
pad indices as encoded pair (ix, iy)
Int_t GetNofLocations() const
Double_t fDimensionX
the pad x dimension - half length (in cm)
void PrintOn(ostream &out) const
MpPair_t * fLLocations
Collection of pad locations - encoded pair (localBoardId, localBoardChannel)
MpPair_t fLLocation
pad location as encoded pair (manuId, manuChannel)
MpPair_t GetIndices() const
Return pad indices as encoded pair (ix, iy)
static AliMpPad Invalid()
Return invalid pad.
Bool_t HasLocation(Int_t localBoardId, Int_t localBoardChannel) const
Bool_t operator==(const AliMpPad &pos2) const
Double_t fPositionY
the pad y position (in cm)
MpPair_t GetLocation() const
Return pad location as encoded pair (manuId, manuChannel)
Int_t GetManuChannel() const
static const Int_t fgkMaxNofLocations
maximum number of pad locations in the collection
Double_t GetPositionY() const
Return the pad x position (in cm)
void Print(const char *="") const
Int_t GetLocalBoardId(Int_t i) const
Double_t fPositionX
the pad x position (in cm)
Bool_t operator!=(const AliMpPad &pos2) const
Bool_t IsValid() const
Return validity.
AliMpPad & operator=(const AliMpPad &src)
Double_t GetDimensionY() const
Return the y pad dimension - half length (in cm)
Class which encapsuate all information about a pad.
ostream & operator<<(ostream &out, const AliMpPad &op)
Double_t GetPositionX() const
Return the pad x position (in cm)
Bool_t operator<(const AliMpPad &left, const AliMpPad &right)
Double_t fDimensionY
the pad y dimension - half length(in cm)
Bool_t AddLocation(Int_t localBoardId, Int_t localBoardChannel, Bool_t warn=true)
Int_t GetLocalBoardChannel(Int_t i) const
Double_t GetDimensionX() const
Return the x pad dimension - half length (in cm)