]>
Commit | Line | Data |
---|---|---|
b56d8877 | 1 | // $Header$ |
2 | ||
915dabe1 | 3 | #ifndef ALIEVE_TPCSector2D_H |
4 | #define ALIEVE_TPCSector2D_H | |
5 | ||
092578a7 | 6 | #include "TPCSectorViz.h" |
915dabe1 | 7 | |
8 | ||
9 | namespace Alieve { | |
10 | ||
915dabe1 | 11 | class TPCSector2DEditor; |
12 | class TPCSector2DGL; | |
13 | ||
092578a7 | 14 | class TPCSector2D : public TPCSectorViz |
915dabe1 | 15 | { |
16 | friend class TPCSector2DGL; | |
17 | friend class TPCSector2DEditor; | |
18 | ||
915dabe1 | 19 | protected: |
915dabe1 | 20 | Bool_t fShowMax; |
b56d8877 | 21 | Bool_t fAverage; |
b56d8877 | 22 | |
915dabe1 | 23 | Bool_t fUseTexture; |
915dabe1 | 24 | |
25 | public: | |
092578a7 | 26 | TPCSector2D(const Text_t* n="TPCSector2D", const Text_t* t=0); |
915dabe1 | 27 | virtual ~TPCSector2D(); |
28 | ||
092578a7 | 29 | void SetShowMax(Bool_t sm) { fShowMax = sm; IncRTS(); } |
30 | void SetAverage(Bool_t avg) { fAverage = avg; IncRTS(); } | |
915dabe1 | 31 | |
32 | virtual void ComputeBBox(); | |
33 | ||
34 | virtual void Paint(Option_t* option=""); | |
35 | ||
092578a7 | 36 | ClassDef(TPCSector2D, 1); // Visualization of TPC raw-data in 2D |
915dabe1 | 37 | }; // endclass TPCSector2D |
38 | ||
39 | } | |
40 | ||
41 | #endif |