1 #ifndef ALIMUONCONTOURHANDLER_H
2 #define ALIMUONCONTOURHANDLER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONContourHandler
11 /// \brief Holder for MUON tracker contours
13 // Author Laurent Aphecetche
24 class AliMUONContourHandler : public TObject
27 AliMUONContourHandler(Bool_t explodedView=kTRUE);
28 virtual ~AliMUONContourHandler();
30 Bool_t Adopt(AliMUONContour* contour);
32 /// Get all the contours as a map
33 TMap* AllContourMap() const { return fAllContourMap; }
35 /// Get all the contours as an array
36 TObjArray* AllContourArray() const { return fAllContourArray; }
38 AliMUONContour* GetContour(const char* contourname) const;
40 /// Get detection element geometrical transformations
41 AliMpExMap* GetTransformations() const { return fTransformations; }
43 void Print(Option_t* opt="") const;
47 AliMUONContourHandler(const AliMUONContourHandler& rhs);
48 AliMUONContourHandler& operator=(const AliMUONContourHandler& rhs);
50 AliMpExMap* GenerateTransformations(Bool_t exploded);
52 TObjArray* CreateContourList(const TObjArray& manuContours);
54 void GenerateAllContours(const TObjArray& manuContours);
57 AliMpExMap* fTransformations; //< transformations used to go from local to global coordinates
58 TMap* fAllContourMap; //< all (i.e. manus, buspatches, detection elements, etc..) contours
59 TObjArray* fAllContourArray; //< all contours, ordered by hierarchy level
61 ClassDef(AliMUONContourHandler,1) // MUON tracker contour holder