]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/TPCSector2D.h
Put black-listed classes out of Alieve namespace.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector2D.h
1 // $Header$
2
3 #ifndef ALIEVE_TPCSector2D_H
4 #define ALIEVE_TPCSector2D_H
5
6 #include "TPCSectorViz.h"
7
8
9 namespace Alieve {
10
11 class TPCSector2DEditor;
12 class TPCSector2DGL;
13
14 class TPCSector2D : public TPCSectorViz
15 {
16   friend class TPCSector2DGL;
17   friend class TPCSector2DEditor;
18
19 protected:
20   Bool_t      fShowMax;
21   Bool_t      fAverage;
22
23   Bool_t      fUseTexture;
24   Bool_t      fPickEmpty;
25   Int_t       fPickMode;  // 0-print, 1-1dhisto of pad, 2-2dhisto of padrow
26
27 public:
28   TPCSector2D(const Text_t* n="TPCSector2D", const Text_t* t=0);
29   virtual ~TPCSector2D();
30
31   void SetShowMax(Bool_t sm)  { fShowMax  = sm;  IncRTS(); }
32   void SetAverage(Bool_t avg) { fAverage  = avg; IncRTS(); }
33
34   Int_t GetPickMode() const     { return fPickMode; }
35   void  SetPickMode(Int_t mode) { fPickMode = mode; }
36
37   void MakeSector3D(); // *MENU*
38
39   virtual void ComputeBBox();
40
41   virtual void PadSelected(Int_t row, Int_t pad);
42
43   virtual void Paint(Option_t* option="");
44
45   ClassDef(TPCSector2D, 1); // Visualization of TPC raw-data in 2D
46 }; // endclass TPCSector2D
47
48 }
49
50 #endif