AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONContourHandler.h
Go to the documentation of this file.
1 #ifndef ALIMUONCONTOURHANDLER_H
2 #define ALIMUONCONTOURHANDLER_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 
13 // Author Laurent Aphecetche
14 
15 #ifndef ROOT_TObject
16 # include "TObject.h"
17 #endif
18 
19 class TObjArray;
20 class AliMpExMap;
21 class TMap;
22 class AliMUONContour;
23 
24 class AliMUONContourHandler : public TObject
25 {
26 public:
27  AliMUONContourHandler(Bool_t explodedView=kTRUE);
28  virtual ~AliMUONContourHandler();
29 
30  Bool_t Adopt(AliMUONContour* contour);
31 
33  TMap* AllContourMap() const { return fAllContourMap; }
34 
37 
38  AliMUONContour* GetContour(const char* contourname) const;
39 
42 
43  void Print(Option_t* opt="") const;
44 
45 private:
50 
51  AliMpExMap* GenerateTransformations(Bool_t exploded);
52 
53  TObjArray* CreateContourList(const TObjArray& manuContours);
54 
55  void GenerateAllContours(const TObjArray& manuContours);
56 
57 private:
61 
62  ClassDef(AliMUONContourHandler,1) // MUON tracker contour holder
63 };
64 
65 #endif
#define TObjArray
TMap * AllContourMap() const
Get all the contours as a map.
AliMpExMap * GetTransformations() const
Get detection element geometrical transformations.
TObjArray * CreateContourList(const TObjArray &manuContours)
void Print(Option_t *opt="") const
TMap * fAllContourMap
all (i.e. manus, buspatches, detection elements, etc..) contours
Bool_t Adopt(AliMUONContour *contour)
AliMUONContourHandler(Bool_t explodedView=kTRUE)
TObjArray * fAllContourArray
all contours, ordered by hierarchy level
TObjArray * AllContourArray() const
Get all the contours as an array.
Holder for MUON tracker contours.
AliMUONContour * GetContour(const char *contourname) const
void GenerateAllContours(const TObjArray &manuContours)
2D contour
AliMUONContourHandler & operator=(const AliMUONContourHandler &rhs)
Not implemented.
AliMpExMap * fTransformations
transformations used to go from local to global coordinates
Helper class making Root persistent TExMap.
Definition: AliMpExMap.h:28
AliMpExMap * GenerateTransformations(Bool_t exploded)