3 #ifndef ALIEVE_TPCSector2D_H
4 #define ALIEVE_TPCSector2D_H
6 #include "TPCSectorViz.h"
11 class TPCSector2DEditor;
14 class TPCSector2D : public TPCSectorViz
16 friend class TPCSector2DGL;
17 friend class TPCSector2DEditor;
25 Int_t fPickMode; // 0-print, 1-1dhisto of pad, 2-2dhisto of padrow
28 TPCSector2D(const Text_t* n="TPCSector2D", const Text_t* t=0);
29 virtual ~TPCSector2D();
31 void SetShowMax(Bool_t sm) { fShowMax = sm; IncRTS(); }
32 void SetAverage(Bool_t avg) { fAverage = avg; IncRTS(); }
34 Int_t GetPickMode() const { return fPickMode; }
35 void SetPickMode(Int_t mode) { fPickMode = mode; }
37 void MakeSector3D(); // *MENU*
39 virtual void ComputeBBox();
41 virtual void PadSelected(Int_t row, Int_t pad);
43 virtual void Paint(Option_t* option="");
45 ClassDef(TPCSector2D, 1); // Visualization of TPC raw-data in 2D
46 }; // endclass TPCSector2D