2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 #ifndef AliEveTPCSector2D_H
11 #define AliEveTPCSector2D_H
13 #include "AliEveTPCSectorViz.h"
15 class AliEveTPCSector2DEditor;
16 class AliEveTPCSector2DGL;
18 //------------------------------------------------------------------------------
21 // Visualization of TPC raw-data in 2D.
23 class AliEveTPCSector2D : public AliEveTPCSectorViz
25 friend class AliEveTPCSector2DGL;
26 friend class AliEveTPCSector2DEditor;
29 AliEveTPCSector2D(const Text_t* n="AliEveTPCSector2D", const Text_t* t=0);
30 virtual ~AliEveTPCSector2D() {}
32 void SetShowMax(Bool_t sm) { fShowMax = sm; IncRTS(); }
33 void SetAverage(Bool_t avg) { fAverage = avg; IncRTS(); }
35 Int_t GetPickMode() const { return fPickMode; }
36 void SetPickMode(Int_t mode) { fPickMode = mode; }
38 void MakeSector3D(); // *MENU*
40 virtual void ComputeBBox();
42 virtual void PadSelected(Int_t row, Int_t pad);
44 virtual void Paint(Option_t* option="");
47 Bool_t fShowMax; // Show maximum signal-value in time range.
48 Bool_t fAverage; // Show average signal value in time range.
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.
54 ClassDef(AliEveTPCSector2D, 0); // Visualization of TPC raw-data in 2D.