4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 /// \ingroup management
10 /// \class AliMpManuUID
11 /// \brief Unique ID for manus
13 // Author Laurent Aphecetche, Subatech
19 class AliMpManuUID : public TObject
23 AliMpManuUID(Int_t detElemId, Int_t manuId, Int_t nofChannels=0);
24 virtual ~AliMpManuUID();
26 /// Get detection element
27 Int_t DetElemId() const { return AliMpManuUID::DetElemId(GetUniqueID()); }
29 /// Get manu identifier
30 Int_t ManuId() const { return AliMpManuUID::ManuId(GetUniqueID()); }
32 /// Get number of channels in this manu
33 Int_t NofChannels() const { return fNofChannels; }
35 static UInt_t BuildUniqueID(Int_t detElemId, Int_t manuId);
37 static Int_t DetElemId(UInt_t uniqueID);
39 static Int_t ManuId(UInt_t uniqueID);
42 Int_t fNofChannels; ///< number of channels in this manu (<=64)
44 ClassDef(AliMpManuUID,1) // Unique ID for MUON tracker manus