]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONBusPatchPainter.h
New check for bad SDD modules (F. Prino)
[u/mrichter/AliRoot.git] / MUON / AliMUONBusPatchPainter.h
CommitLineData
0145e89a 1#ifndef ALIMUONBUSPATCHPAINTER_H
2#define ALIMUONBUSPATCHPAINTER_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 AliMUONBusPatchPainter
11/// \brief A painter for one buspatch
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef AliMUONVPAINTER_H
16# include "AliMUONVPainter.h"
17#endif
18#ifndef ALI_MP_PLANE_TYPE_H
19# include "AliMpPlaneType.h"
20#endif
21
22class AliMUONBusPatchPainter : public AliMUONVPainter
23{
24public:
25
26 AliMUONBusPatchPainter();
1ffbeb9d 27 AliMUONBusPatchPainter(TRootIOCtor*);
0145e89a 28 AliMUONBusPatchPainter(const AliMUONAttPainter& att, Int_t busPatchId);
29 AliMUONBusPatchPainter(const AliMUONBusPatchPainter& rhs);
30 AliMUONBusPatchPainter& operator=(const AliMUONBusPatchPainter& rhs);
31 virtual ~AliMUONBusPatchPainter();
32
33 /// Clone ourselves
34 virtual TObject* Clone(const char* = "") const { return new AliMUONBusPatchPainter(*this); }
35
36 void ComputeDataRange(const AliMUONVTrackerData& data, Int_t dataIndex,
37 Double_t& dataMin, Double_t& dataMax) const;
38
39 virtual void Copy(TObject& object) const;
40
41 void PaintArea(const AliMUONVTrackerData& data, Int_t dataIndex,
42 Double_t min, Double_t max);
43
9016a84e 44 TString Describe(const AliMUONVTrackerData& data, Int_t dataIndex,
0145e89a 45 Double_t x = FLT_MAX, Double_t y = FLT_MAX);
46
47 virtual AliMUONAttPainter Validate(const AliMUONAttPainter& attributes) const;
48
1ffbeb9d 49 virtual Bool_t IsIncluded() const;
50
0145e89a 51private:
52 Int_t fBusPatchId; ///< our identifier
53
54 ClassDef(AliMUONBusPatchPainter,1) // Painter for one buspatch
55};
56
57#endif