]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpManuList.h
Using Min and Max from TMath
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpManuList.h
1 #ifndef ALIMPMANULIST_H
2 #define ALIMPMANULIST_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 AliMpManuList
11 /// \brief Cache of often used information
12 /// 
13 /// \author Laurent Aphecetche
14
15 #ifndef ROOT_TObject
16 #  include "TObject.h"
17 #endif
18
19 class TList;
20
21 class AliMpManuList : public TObject
22 {
23 public:
24   AliMpManuList();
25   virtual ~AliMpManuList();
26   
27   /// return a list of AliMpIntPair(detElemId, manuID). Returned value must be deleted.
28   static TList* ManuList();
29
30   /// whether a given (de,id,ch) exists
31   static Bool_t DoesChannelExist(Int_t detElemId, Int_t manuID, Int_t manuChannel);
32   
33   /// number of manu in a given DE
34   static Int_t NumberOfManus(Int_t detElemId);
35   
36   /// number of channels in a given manu (<=64)
37   static Int_t NumberOfChannels(Int_t detElemId, Int_t manuId);
38   
39   ClassDef(AliMpManuList,1) // 
40 };
41
42 #endif