1 #ifndef ALIMUONSEGMENTATIONMANAGER_H
2 #define ALIMUONSEGMENTATIONMANAGER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONSegmentationManager
11 /// \brief Segmentation manager
21 #include "AliMpPlaneType.h"
24 class AliMpVSegmentation;
26 class AliMUONSegmentationManager : public TObject
29 AliMUONSegmentationManager();
30 virtual ~AliMUONSegmentationManager();
32 static Bool_t IsValidDetElemId(Int_t detElemId);
34 static AliMpVSegmentation* Segmentation(Int_t detElemId,
35 AliMpPlaneType planeType);
39 static const char* SlatType(Int_t detElemId);
41 static AliMpSlat* ReadSlat(Int_t detElemId, AliMpPlaneType planeType);
43 static bool ReadDetElemIdToSlatType();
45 static AliMpVSegmentation* ReadSegmentation(Int_t detElemId,
46 AliMpPlaneType planeType);
48 static TExMap fgDetElemIdToSlatTypeMap; // map of int to TObjString
50 static TExMap fgMap; // map of int to TPair<AliMpVSegmentation*, AliMpVSegmentation*>
52 ClassDef(AliMUONSegmentationManager,1) // Holder for various segmentations