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);
49 AliMUONContourHandler& operator=(const AliMUONContourHandler& rhs);
51 AliMpExMap* GenerateTransformations(Bool_t exploded);
53 TObjArray* CreateContourList(const TObjArray& manuContours);
55 void GenerateAllContours(const TObjArray& manuContours);
58 AliMpExMap* fTransformations; ///< transformations used to go from local to global coordinates
59 TMap* fAllContourMap; ///< all (i.e. manus, buspatches, detection elements, etc..) contours
60 TObjArray* fAllContourArray; ///< all contours, ordered by hierarchy level
62 ClassDef(AliMUONContourHandler,1) // MUON tracker contour holder