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 ALIEVE_TPCSector2D_H
11 #define ALIEVE_TPCSector2D_H
13 #include "AliEveTPCSectorViz.h"
16 class AliEveTPCSector2DEditor;
17 class AliEveTPCSector2DGL;
19 class AliEveTPCSector2D : public AliEveTPCSectorViz
21 friend class AliEveTPCSector2DGL;
22 friend class AliEveTPCSector2DEditor;
30 Int_t fPickMode; // 0-print, 1-1dhisto of pad, 2-2dhisto of padrow
33 AliEveTPCSector2D(const Text_t* n="AliEveTPCSector2D", const Text_t* t=0);
34 virtual ~AliEveTPCSector2D();
36 void SetShowMax(Bool_t sm) { fShowMax = sm; IncRTS(); }
37 void SetAverage(Bool_t avg) { fAverage = avg; IncRTS(); }
39 Int_t GetPickMode() const { return fPickMode; }
40 void SetPickMode(Int_t mode) { fPickMode = mode; }
42 void MakeSector3D(); // *MENU*
44 virtual void ComputeBBox();
46 virtual void PadSelected(Int_t row, Int_t pad);
48 virtual void Paint(Option_t* option="");
50 ClassDef(AliEveTPCSector2D, 1); // Visualization of TPC raw-data in 2D
51 }; // endclass AliEveTPCSector2D