1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpDDL.h,v 1.6 2006/05/24 13:58:16 ivana Exp $
7 /// \ingroup management
9 /// \brief The class defined electronics properties of DDL
11 /// \author Ivana Hrivnacova, IPN Orsay
18 #include "AliMpArrayI.h"
20 class AliMpDDL : public TObject {
24 AliMpDDL(TRootIOCtor* /*ioCtor*/);
28 Bool_t AddDE(Int_t detElemId);
29 void FillBusPatchIds();
35 Int_t GetNofDEs() const;
36 Int_t GetDEId(Int_t index) const;
37 Bool_t HasDEId(Int_t detElemId) const;
40 Int_t GetNofBusPatches() const;
41 Int_t GetBusPatchId(Int_t index) const;
42 Bool_t HasBusPatchId(Int_t busPatchId) const;
45 Int_t GetMaxDsp() const;
46 void GetBusPerDsp(Int_t* iBusPerDSP) const;
50 AliMpDDL(const AliMpDDL& rhs);
51 AliMpDDL& operator=(const AliMpDDL& rhs);
54 Int_t fId; ///< Identifier (unique)
55 AliMpArrayI fDEIds; ///< Detection element Ids connected to this DDL
56 AliMpArrayI fBusPatchIds; ///< Bus patch Ids connected to this DDL
59 ClassDef(AliMpDDL,1) // The class collectiong electronics properties of DDL
64 /// Return the unique Id
65 inline Int_t AliMpDDL::GetId() const
68 #endif //ALI_MP_MANAGER_H