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 Bool_t AddTriggerCrate(Int_t crateId);
31 void FillBusPatchIds();
37 Int_t GetNofDEs() const;
38 Int_t GetDEId(Int_t index) const;
39 Bool_t HasDEId(Int_t detElemId) const;
42 Int_t GetNofBusPatches() const;
43 Int_t GetBusPatchId(Int_t index) const;
44 Bool_t HasBusPatchId(Int_t busPatchId) const;
47 Int_t GetNofTriggerCrates() const;
48 Int_t GetTriggerCrateId(Int_t index) const;
49 Bool_t HasTriggerCrateId(Int_t crateId) const;
52 Int_t GetMaxDsp() const;
53 void GetBusPerDsp(Int_t* iBusPerDSP) const;
59 AliMpDDL(const AliMpDDL& rhs);
61 AliMpDDL& operator=(const AliMpDDL& rhs);
64 Int_t fId; ///< Identifier (unique)
65 AliMpArrayI fDEIds; ///< Detection element Ids connected to this DDL
66 AliMpArrayI fBusPatchIds; ///< Bus patch Ids connected to this DDL
67 AliMpArrayI fTriggerCrateIds; ///< Trigger crate Ids connected to this DDL
70 ClassDef(AliMpDDL,1) // The class collectiong electronics properties of DDL
75 /// Return the unique Id
76 inline Int_t AliMpDDL::GetId() const
79 #endif //ALI_MP_MANAGER_H