]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpHVUID.h
Fix for the problem during PbPb run of Nov 2010 (Indra)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpHVUID.h
1 #ifndef ALIMPHVUID_H
2 #define ALIMPHVUID_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
9 /// \ingroup management
10 /// \class AliMpHVUID
11 /// \brief Unique ID class for HV channels
12 /// 
13 //  Author Laurent Aphecetche
14
15 #ifndef ROOT_TObject
16 #  include "TObject.h"
17 #endif
18
19 class AliMpHVUID : public TObject
20 {
21 public:
22   AliMpHVUID();
23   virtual ~AliMpHVUID();
24   
25   static UInt_t BuildUniqueID(Int_t detElemId, Int_t index);
26   
27   static Int_t DetElemId(UInt_t uniqueId);
28   
29   static Int_t Index(UInt_t uniqueID);
30                      
31   ClassDef(AliMpHVUID,1) // Unique ID class for HV channels
32 };
33
34 #endif