]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/AliEveTPCSector2D.h
Put all classes in Alieve/ sub-module out of the Alieve namespace and
[u/mrichter/AliRoot.git] / EVE / Alieve / AliEveTPCSector2D.h
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          *
7  * full copyright notice.                                                 * 
8  **************************************************************************/
9
10 #ifndef ALIEVE_TPCSector2D_H
11 #define ALIEVE_TPCSector2D_H
12
13 #include "AliEveTPCSectorViz.h"
14
15
16 class AliEveTPCSector2DEditor;
17 class AliEveTPCSector2DGL;
18
19 class AliEveTPCSector2D : public AliEveTPCSectorViz
20 {
21   friend class AliEveTPCSector2DGL;
22   friend class AliEveTPCSector2DEditor;
23
24 protected:
25   Bool_t      fShowMax;
26   Bool_t      fAverage;
27
28   Bool_t      fUseTexture;
29   Bool_t      fPickEmpty;
30   Int_t       fPickMode;  // 0-print, 1-1dhisto of pad, 2-2dhisto of padrow
31
32 public:
33   AliEveTPCSector2D(const Text_t* n="AliEveTPCSector2D", const Text_t* t=0);
34   virtual ~AliEveTPCSector2D();
35
36   void SetShowMax(Bool_t sm)  { fShowMax  = sm;  IncRTS(); }
37   void SetAverage(Bool_t avg) { fAverage  = avg; IncRTS(); }
38
39   Int_t GetPickMode() const     { return fPickMode; }
40   void  SetPickMode(Int_t mode) { fPickMode = mode; }
41
42   void MakeSector3D(); // *MENU*
43
44   virtual void ComputeBBox();
45
46   virtual void PadSelected(Int_t row, Int_t pad);
47
48   virtual void Paint(Option_t* option="");
49
50   ClassDef(AliEveTPCSector2D, 1); // Visualization of TPC raw-data in 2D
51 }; // endclass AliEveTPCSector2D
52
53 #endif