// methods
Bool_t AddManu(Int_t manuId);
- Bool_t SetNofManusPerModule();
+ Bool_t SetNofManusPerModule(Int_t manuNumber = 0);
+ void SetCableLength(Float_t length);
// get methods
Int_t GetId() const;
Int_t GetNofPatchModules() const;
Int_t GetNofManusPerModule(Int_t patchModule) const;
+ Float_t GetCableLength() const;
private:
/// Not implemented
Int_t fDdlId; ///< DDL to which this bus patch is connected
AliMpArrayI fManus; ///< Manu Ids connected to this bus patch
AliMpArrayI fNofManusPerModule;///< Nof Manus per patch modules (PCBs)
-
- ClassDef(AliMpBusPatch,1) // The class collectiong electronics properties of DDL
+ Float_t fCableLength; ///< length of the buspatch cable
+
+ ClassDef(AliMpBusPatch,2) // The class collectiong electronics properties of DDL
};
// inline functions
inline Int_t AliMpBusPatch::GetDdlId() const
{ return fDdlId; }
+/// Return length of buspatch
+inline Float_t AliMpBusPatch::GetCableLength() const
+{ return fCableLength; }
+
+/// Set length of buspatch
+inline void AliMpBusPatch::SetCableLength(Float_t length)
+{ fCableLength = length; }
+
#endif //ALI_BUS_PATCH_H