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