Line data Source code
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(TRootIOCtor* ioCtor);
24 : AliMUONManuPainter();
25 : AliMUONManuPainter(const AliMUONAttPainter& att,
26 : Int_t detElemId,
27 : Int_t manuId);
28 : AliMUONManuPainter(const AliMUONManuPainter& rhs);
29 : AliMUONManuPainter& operator=(const AliMUONManuPainter& rhs);
30 :
31 : virtual ~AliMUONManuPainter();
32 :
33 : virtual void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
34 : Double_t& dataMin, Double_t& dataMax) const;
35 :
36 : /// Clone ourselves
37 0 : virtual TObject* Clone(const char* = "") const { return new AliMUONManuPainter(*this); }
38 :
39 : virtual void Copy(TObject& object) const;
40 :
41 : virtual TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
42 : Double_t x=FLT_MAX, Double_t y=FLT_MAX);
43 :
44 : using AliMUONVPainter::PaintArea;
45 :
46 : void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
47 : Double_t min, Double_t max);
48 :
49 : virtual AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
50 :
51 : virtual void FillManuList(TObjArray& manuList) const;
52 :
53 : virtual Bool_t IsIncluded() const;
54 :
55 : private:
56 : Int_t fDetElemId; ///< our detection element id
57 : Int_t fManuId; ///< our manu id
58 :
59 12 : ClassDef(AliMUONManuPainter,1) // Painter for one manu (not the pads, only the manu)
60 : };
61 :
62 : #endif
|