]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONContourHandler.h
PreReading of MC information on demand.
[u/mrichter/AliRoot.git] / MUON / AliMUONContourHandler.h
CommitLineData
fef32488 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
9/// \ingroup graphics
10/// \class AliMUONContourHandler
11/// \brief Holder for MUON tracker contours
12///
c442ee61 13// Author Laurent Aphecetche
fef32488 14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class TObjArray;
20class AliMpExMap;
21class TMap;
22class AliMUONContour;
23
24class AliMUONContourHandler : public TObject
25{
26public:
27 AliMUONContourHandler(Bool_t explodedView=kTRUE);
28 virtual ~AliMUONContourHandler();
29
30 Bool_t Adopt(AliMUONContour* contour);
31
32 TMap* AllContourMap() const { return fAllContourMap; }
33
34 TObjArray* AllContourArray() const { return fAllContourArray; }
35
36 AliMUONContour* GetContour(const char* contourname) const;
37
38 AliMpExMap* GetTransformations() const { return fTransformations; }
39
40 void Print(Option_t* opt="") const;
41
42private:
43
44 AliMUONContourHandler(const AliMUONContourHandler& rhs);
45 AliMUONContourHandler& operator=(const AliMUONContourHandler& rhs);
46
47 AliMpExMap* GenerateTransformations(Bool_t exploded);
48
49 TObjArray* CreateContourList(const TObjArray& manuContours);
50
51 void GenerateAllContours(const TObjArray& manuContours);
52
53private:
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
57
58 ClassDef(AliMUONContourHandler,1) // MUON tracker contour holder
59};
60
61#endif