]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONManuPainter.h
Update of the class ESDMuonFilter. New marcros for creating AOD with muon information...
[u/mrichter/AliRoot.git] / MUON / AliMUONManuPainter.h
1 #ifndef ALIMUONMANUPAINTER_H
2 #define ALIMUONMANUPAINTER_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 AliMUONManuPainter
11 /// \brief Painter for one manu (not the pads, only the manu)
12 /// 
13 // Author Laurent Aphecetche, Subatech
14
15 #ifndef ALIMUONVPAINTER_H
16 #  include "AliMUONVPainter.h"
17 #endif
18
19 class AliMUONManuPainter : public AliMUONVPainter
20 {
21 public:
22
23   AliMUONManuPainter();
24   AliMUONManuPainter(const AliMUONAttPainter& att, 
25                      Int_t detElemId, 
26                      Int_t manuId);
27   AliMUONManuPainter(const AliMUONManuPainter& rhs);
28   AliMUONManuPainter& operator=(const AliMUONManuPainter& rhs);
29   
30   virtual ~AliMUONManuPainter();
31   
32   virtual void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex, 
33                                 Double_t& dataMin, Double_t& dataMax) const;
34     
35   /// Clone ourselves
36   virtual TObject* Clone(const char* = "") const { return new AliMUONManuPainter(*this); }
37
38   virtual void Copy(TObject& object) const;
39   
40     virtual TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
41                              Double_t x=FLT_MAX, Double_t y=FLT_MAX);
42
43     void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
44                    Double_t min, Double_t max);
45   
46     virtual AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
47
48     virtual void FillManuList(TObjArray& manuList) const;
49     
50 private:
51   Int_t fDetElemId; ///< our detection element id
52   Int_t fManuId; ///< our manu id
53   
54   ClassDef(AliMUONManuPainter,1) // Painter for one manu (not the pads, only the manu)
55 };
56
57 #endif