13 #ifndef ALI_MP_MOTIF_TYPE_H 14 #define ALI_MP_MOTIF_TYPE_H 20 #ifndef ROOT_TObjArray 21 # include <TObjArray.h> 38 TObject*
Clone(
const char* newname=
"")
const;
47 Int_t localIx, Int_t localIy)
const;
60 void SetNofPads(Int_t nofPadsX, Int_t nofPadY);
75 virtual void Print(Option_t *option=
"")
const;
77 Int_t
PadNum(
const TString &padName)
const;
79 TString
PadName(Int_t padNum)
const;
91 Bool_t
Save(
const char* motifName)
const;
99 void Copy(TObject& o)
const;
122 #endif //ALI_MP_MOTIF_TYPE_H
Int_t fNofPads
total number of pads (= the number of non-void entries in the arrays below)
Int_t PadNum(const TString &padName) const
virtual AliMpVPadIterator * CreateIterator() const
AliMpConnection * FindConnectionByGassiNum(Int_t gassiNum) const
AliMpConnection * FindConnectionByKaptonNum(Int_t kaptonNum) const
MpPair_t FindLocalIndicesByPadNum(Int_t padNum) const
Int_t fNofPadsX
number of pads in x direction
virtual ~AliMpMotifType()
AliMpConnection * FindConnectionByLocalIndices(MpPair_t localIndices) const
void Copy(TObject &o) const
TString PadName(Int_t padNum) const
MpPair_t FindLocalIndicesByGassiNum(Int_t gassiNum) const
AliMpMotifType & operator=(const AliMpMotifType &rhs)
TObject * Clone(const char *newname="") const
TObjArray fConnectionsByManuChannel
array [manuChannel] -> AliMpConnection*
Bool_t HasPadByGassiNum(Int_t gassiNum) const
Return whether the pad with given manu channel exists.
void SetNofPads(Int_t nofPadsX, Int_t nofPadY)
static const Int_t fgkPadNumForA
the pad number for the pad "A"
AliMpMotifType()
Not implemented.
AliMpConnection * FindConnectionByBergNum(Int_t bergNum) const
Int_t GetNofPadsX() const
Return number of pads in x direction.
Int_t fNofPadsY
number of pads in y direction
Int_t GetNofPadsY() const
Return number of pads in y direction.
Bool_t HasPadByLocalIndices(MpPair_t localIndices) const
Bool_t HasPadByManuChannel(Int_t manuChannel) const
An interface for an iterator over pads.
MpPair_t FindLocalIndicesByConnection(const AliMpConnection *connection) const
Int_t fMaxNofPads
max number of pads we can hold
MpPair_t FindLocalIndicesByBergNum(Int_t bergNum) const
Int_t GetNofPads() const
Return the total number of pads.
virtual void Print(Option_t *option="") const
TString GetID() const
Return unique motif ID.
Bool_t AddConnection(AliMpConnection *connection)
MpPair_t FindLocalIndicesByKaptonNum(Int_t kaptonNum) const
TObjArray fConnectionsByLocalIndices
array [ix + 64*iy ] -> AliMpConnection*
Bool_t IsFull() const
Return true if the motif conatins all pads.
TString fID
unique motif ID
AliMpConnection * FindConnectionByPadNum(Int_t padNum) const
Class that defines the motif properties.