AliRoot Core  edcc906 (edcc906)
AliMpManuUID.h
Go to the documentation of this file.
1 #ifndef ALIMPMANUUID_H
2 #define ALIMPMANUUID_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 
7 // $Id$
8 
13 // Author Laurent Aphecetche, Subatech
14 
15 #ifndef ROOT_TObject
16 # include "TObject.h"
17 #endif
18 
19 class AliMpManuUID : public TObject
20 {
21 public:
22  AliMpManuUID();
23  AliMpManuUID(Int_t detElemId, Int_t manuId);
24  virtual ~AliMpManuUID();
25 
27  Int_t DetElemId() const { return AliMpManuUID::DetElemId(GetUniqueID()); }
28 
30  Int_t ManuId() const { return AliMpManuUID::ManuId(GetUniqueID()); }
31 
32  static UInt_t BuildUniqueID(Int_t detElemId, Int_t manuId);
33 
34  static Int_t DetElemId(UInt_t uniqueID);
35 
36  static Int_t ManuId(UInt_t uniqueID);
37 
38  ClassDef(AliMpManuUID,2) // Unique ID for MUON tracker manus
39 };
40 
41 #endif
static UInt_t BuildUniqueID(Int_t detElemId, Int_t manuId)
Int_t DetElemId() const
Get detection element.
Definition: AliMpManuUID.h:27
Unique ID for manus.
Definition: AliMpManuUID.h:19
virtual ~AliMpManuUID()
Int_t ManuId() const
Get manu identifier.
Definition: AliMpManuUID.h:30