]>
Commit | Line | Data |
---|---|---|
d810d0de | 1 | // $Id$ |
2 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 | |
3 | ||
4 | /************************************************************************** | |
5 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * | |
6 | * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * | |
51346b82 | 7 | * full copyright notice. * |
d810d0de | 8 | **************************************************************************/ |
9 | ||
a15e6d7d | 10 | #ifndef AliEveTPCSector2D_H |
11 | #define AliEveTPCSector2D_H | |
d810d0de | 12 | |
13 | #include "AliEveTPCSectorViz.h" | |
14 | ||
d810d0de | 15 | class AliEveTPCSector2DEditor; |
16 | class AliEveTPCSector2DGL; | |
17 | ||
a15e6d7d | 18 | //------------------------------------------------------------------------------ |
19 | // AliEveTPCSector2D | |
20 | // | |
21 | // Visualization of TPC raw-data in 2D. | |
22 | ||
d810d0de | 23 | class AliEveTPCSector2D : public AliEveTPCSectorViz |
24 | { | |
25 | friend class AliEveTPCSector2DGL; | |
26 | friend class AliEveTPCSector2DEditor; | |
27 | ||
d810d0de | 28 | public: |
29 | AliEveTPCSector2D(const Text_t* n="AliEveTPCSector2D", const Text_t* t=0); | |
a97abca8 | 30 | virtual ~AliEveTPCSector2D() {} |
d810d0de | 31 | |
32 | void SetShowMax(Bool_t sm) { fShowMax = sm; IncRTS(); } | |
33 | void SetAverage(Bool_t avg) { fAverage = avg; IncRTS(); } | |
34 | ||
35 | Int_t GetPickMode() const { return fPickMode; } | |
36 | void SetPickMode(Int_t mode) { fPickMode = mode; } | |
37 | ||
38 | void MakeSector3D(); // *MENU* | |
39 | ||
40 | virtual void ComputeBBox(); | |
41 | ||
42 | virtual void PadSelected(Int_t row, Int_t pad); | |
43 | ||
44 | virtual void Paint(Option_t* option=""); | |
45 | ||
4b456ebb | 46 | protected: |
47 | Bool_t fShowMax; // Show maximum signal-value in time range. | |
48 | Bool_t fAverage; // Show average signal value in time range. | |
49 | ||
50 | Bool_t fUseTexture; // Use texture to draw each segment. | |
51 | Bool_t fPickEmpty; // Pick also empty pads. | |
52 | Int_t fPickMode; // Pick mode: 0-print, 1-1dhisto of pad, 2-2dhisto of padrow. | |
53 | ||
54 | ClassDef(AliEveTPCSector2D, 0); // Visualization of TPC raw-data in 2D. | |
55 | }; | |
d810d0de | 56 | |
57 | #endif |