]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/TPCSector3D.h
Add some class docs.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector3D.h
1 // $Header$
2
3 #ifndef ALIEVE_TPCSector3D_H
4 #define ALIEVE_TPCSector3D_H
5
6 #include <Alieve/TPCSectorViz.h>
7 #include <Alieve/TPCSectorData.h>
8
9 #include <Reve/BoxSet.h>
10 #include <Reve/PointSet.h>
11
12
13 namespace Alieve {
14
15 class TPCSector3D : public TPCSectorViz
16 {
17   friend class TPCSector3DEditor;
18   friend class TPCSector3DGL;
19
20 protected:
21   void LoadPadrow(TPCSectorData::RowIterator& iter,
22                   Float_t sx, Float_t sy, Float_t pw, Float_t ph);
23   void UpdateBoxes();
24   void SetupPointSetArray();
25
26   Reve::BoxSet        fBoxSet;
27   Reve::PointSetArray fPointSetArray;
28   Float_t             fPointFrac;
29   Float_t             fPointSize;
30   Bool_t              fPointSetOn;
31   Int_t               fPointSetMaxVal;
32
33   Float_t             fDriftVel;
34   Float_t             fZStep;
35
36 public:
37   TPCSector3D(const Text_t* n="TPCSector3D", const Text_t* t=0);
38   virtual ~TPCSector3D();
39
40   void SetPointFrac(Float_t f) { fPointFrac = f; IncRTS(); }
41   void SetPointSize(Float_t s) { fPointSize = s; }
42
43   void SetDriftVel(Float_t v) { fDriftVel = v; IncRTS(); }
44   void SetZStep(Float_t step) { fZStep = step; IncRTS(); }
45
46   virtual void SetRnrFrame(Bool_t rf);
47
48   virtual void ComputeBBox();
49   virtual void Paint(Option_t* option="");
50
51   ClassDef(TPCSector3D, 1);
52 }; // endclass TPCSector3D
53
54 }
55
56 #endif