Initial version (Laurent)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpHVUID.h
CommitLineData
1ef5468a 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
19class AliMpHVUID : public TObject
20{
21public:
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