]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONBusPatchPainter.h
fixing small memory leak
[u/mrichter/AliRoot.git] / MUON / AliMUONBusPatchPainter.h
index 2c9b888fdd3e3bb29166cc6019b1446758536681..a9182dad126ded975029a78742dfc716bcb240bc 100644 (file)
@@ -24,6 +24,7 @@ class AliMUONBusPatchPainter : public AliMUONVPainter
 public:
   
   AliMUONBusPatchPainter();
+  AliMUONBusPatchPainter(TRootIOCtor* ioCtor);
   AliMUONBusPatchPainter(const AliMUONAttPainter& att, Int_t busPatchId);
   AliMUONBusPatchPainter(const AliMUONBusPatchPainter& rhs);
   AliMUONBusPatchPainter& operator=(const AliMUONBusPatchPainter& rhs);
@@ -37,14 +38,18 @@ public:
     
   virtual void Copy(TObject& object) const;
   
+  using AliMUONVPainter::PaintArea;
+  
   void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
                  Double_t min, Double_t max);
     
-  TString Describe(const AliMUONVTrackerData& data, Int_t, 
+  TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex
                    Double_t x = FLT_MAX, Double_t y = FLT_MAX);
 
   virtual AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
 
+  virtual Bool_t IsIncluded() const;
+  
 private:
   Int_t fBusPatchId; ///< our identifier