Adding code to patch St1 HV mapping
[u/mrichter/AliRoot.git] / MUON / AliMUONManuPainter.h
CommitLineData
0145e89a 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
19class AliMUONManuPainter : public AliMUONVPainter
20{
21public:
22
7d5d0cc5 23 AliMUONManuPainter(TRootIOCtor* ioCtor);
0145e89a 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 virtual TObject* Clone(const char* = "") const { return new AliMUONManuPainter(*this); }
38
39 virtual void Copy(TObject& object) const;
40
8f0acce4 41 virtual TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
42 Double_t x=FLT_MAX, Double_t y=FLT_MAX);
0145e89a 43
8f0acce4 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;
1ffbeb9d 54
0145e89a 55private:
56 Int_t fDetElemId; ///< our detection element id
57 Int_t fManuId; ///< our manu id
58
59 ClassDef(AliMUONManuPainter,1) // Painter for one manu (not the pads, only the manu)
60};
61
62#endif