]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSegmentationManager.h
Removed - functionality of this class moved to geometry and mapping
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationManager.h
1 #ifndef ALIMUONSEGMENTATIONMANAGER_H
2 #define ALIMUONSEGMENTATIONMANAGER_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 base
10 /// \class AliMUONSegmentationManager
11 /// \brief Segmentation manager
12
13 #ifndef ROOT_TObject
14 #  include "TObject.h"
15 #endif
16
17 #ifndef ALI_MP_EX_MAP_H
18 #  include "AliMpExMap.h"
19 #endif
20
21 #ifndef ALI_MP_PLANE_TYPE
22 #  include "AliMpPlaneType.h"
23 #endif
24
25 #ifndef ALI_MP_STATION_TYPE
26 #  include "AliMpStationType.h"
27 #endif
28
29 class AliMpSlat;
30 class AliMpTriggerSegmentation;
31 class AliMpVSegmentation;
32 class TList;
33
34 class AliMUONSegmentationManager : public TObject
35 {
36 public:
37   AliMUONSegmentationManager();
38   virtual ~AliMUONSegmentationManager();
39
40   static Bool_t IsValidDetElemId(Int_t detElemId);
41
42   static AliMpVSegmentation* Segmentation(Int_t detElemId,
43                                           AliMpPlaneType planeType);
44   
45   static TList* SegmentationList(Int_t localBoardNumber);
46
47   static const char* DetElemName(Int_t detElemId);
48   
49   static AliMpStationType StationType(Int_t detElemId);
50   
51 private:
52
53     static void FillLocalBoardMap(AliMpTriggerSegmentation* seg);
54   
55   static const char* SlatType(Int_t detElemId);
56   
57   static bool ReadDetElemIdToName(AliMpStationType stationType);
58     
59   static AliMpVSegmentation* ReadSegmentation(Int_t detElemId,
60                                               AliMpPlaneType planeType);
61   
62   static AliMpExMap fgDetElemIdToNameMap; // map of int to TObjString
63   
64   static AliMpExMap fgMap; // map of int to TPair<AliMpVSegmentation*, AliMpVSegmentation*>
65   
66   static AliMpExMap fgLocalBoardMap; // map of int to TList* of AliMpVSegmentation*
67   
68   ClassDef(AliMUONSegmentationManager,1) // Holder for various segmentations
69 };
70
71 #endif