]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONManuPadPainter.h
Adding PiKP-only histograms and eliminating a number of switches where histograms...
[u/mrichter/AliRoot.git] / MUON / AliMUONManuPadPainter.h
index e2f5e14850fa48814f0cefcda7a148153f9481b5..c041844e09b2a6b2fca549a3b4c5fe76e4e78b01 100644 (file)
@@ -22,6 +22,7 @@
 class AliMUONManuPadPainter : public AliMUONVPainter
 {
 public:
+  AliMUONManuPadPainter(TRootIOCtor* ioCtor);
   AliMUONManuPadPainter();
   AliMUONManuPadPainter(const AliMUONVPainter& mother,
                         Int_t detElemId,
@@ -45,19 +46,28 @@ public:
     virtual TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
                              Double_t x=FLT_MAX, Double_t y=FLT_MAX);
 
-    void PaintArea(const AliMUONVTrackerData& data,
+  using AliMUONVPainter::PaintArea;
+  
+  void PaintArea(const AliMUONVTrackerData& data,
                    Int_t dataIndex,
                    Double_t min,
                    Double_t max);
   
   void PaintOutline(Int_t color=-1, Int_t width=-1, Double_t x=FLT_MAX, Double_t y=FLT_MAX);
+
+  /// Whether this painter can be detached from the current view.
+  Bool_t CanBeDetached() const { return kFALSE; }
+
+  virtual void DrawHistogramClone(Double_t* values=0x0) const;
+
+  virtual Bool_t IsIncluded() const;
   
 private:
     
   void BackupStyle();
   void RestoreStyle();
-  void PaintPad(Int_t padId) const;
   AliMpPad PadByPosition(Double_t x, Double_t y) const;
+  void PaintPad(const AliMpPad& pad) const;
   
 private:
   Int_t fDetElemId; ///< our detection element id