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 TMap* AllContourMap() const { return fAllContourMap; }
34 TObjArray* AllContourArray() const { return fAllContourArray; }
36 AliMUONContour* GetContour(const char* contourname) const;
38 AliMpExMap* GetTransformations() const { return fTransformations; }
40 void Print(Option_t* opt="") const;
44 AliMUONContourHandler(const AliMUONContourHandler& rhs);
45 AliMUONContourHandler& operator=(const AliMUONContourHandler& rhs);
47 AliMpExMap* GenerateTransformations(Bool_t exploded);
49 TObjArray* CreateContourList(const TObjArray& manuContours);
51 void GenerateAllContours(const TObjArray& manuContours);
54 AliMpExMap* fTransformations; //< transformations used to go from local to global coordinates
55 TMap* fAllContourMap; //< all (i.e. manus, buspatches, detection elements, etc..) contours
56 TObjArray* fAllContourArray; //< all contours, ordered by hierarchy level
58 ClassDef(AliMUONContourHandler,1) // MUON tracker contour holder