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 AddFrt(Int_t frtId);
30 Bool_t AddTriggerCrate(Int_t crateId);
32 void FillBusPatchIds();
38 Int_t GetNofDEs() const;
39 Int_t GetDEId(Int_t index) const;
40 Bool_t HasDEId(Int_t detElemId) const;
43 Int_t GetNofFrts() const;
44 Int_t GetFrtId(Int_t index) const;
45 Bool_t HasFrtId(Int_t frtId) const;
48 Int_t GetNofBusPatches() const;
49 Int_t GetBusPatchId(Int_t index) const;
50 Bool_t HasBusPatchId(Int_t busPatchId) const;
53 Int_t GetNofTriggerCrates() const;
54 Int_t GetTriggerCrateId(Int_t index) const;
55 Bool_t HasTriggerCrateId(Int_t crateId) const;
58 Int_t GetMaxDsp() const;
59 void GetBusPerDsp(Int_t* iBusPerDSP) const;
65 AliMpDDL(const AliMpDDL& rhs);
67 AliMpDDL& operator=(const AliMpDDL& rhs);
70 Int_t fId; ///< Identifier (unique)
71 AliMpArrayI fDEIds; ///< Detection element Ids connected to this DDL
72 AliMpArrayI fFrtIds; ///< FRT Crocus Ids connected to this DDL
73 AliMpArrayI fBusPatchIds; ///< Bus patch Ids connected to this DDL
74 AliMpArrayI fTriggerCrateIds; ///< Trigger crate Ids connected to this DDL
77 ClassDef(AliMpDDL,1) // The class collectiong electronics properties of DDL
82 /// Return the unique Id
83 inline Int_t AliMpDDL::GetId() const
86 #endif //ALI_MP_MANAGER_H