]>
Commit | Line | Data |
---|---|---|
092578a7 | 1 | // $Header$ |
2 | ||
3 | #ifndef ALIEVE_TPCSector3D_H | |
4 | #define ALIEVE_TPCSector3D_H | |
5 | ||
6 | #include <Alieve/TPCSectorViz.h> | |
7 | #include <Alieve/TPCSectorData.h> | |
9a7ad6a0 | 8 | |
092578a7 | 9 | #include <Reve/BoxSet.h> |
9a7ad6a0 | 10 | #include <Reve/PointSet.h> |
092578a7 | 11 | |
12 | ||
13 | namespace Alieve { | |
14 | ||
1a351260 | 15 | class TPCSector3D : public TPCSectorViz |
092578a7 | 16 | { |
17 | friend class TPCSector3DEditor; | |
8ac84a96 | 18 | friend class TPCSector3DGL; |
092578a7 | 19 | |
20 | protected: | |
092578a7 | 21 | void LoadPadrow(TPCSectorData::RowIterator& iter, |
22 | Float_t sx, Float_t sy, Float_t pw, Float_t ph); | |
23 | void UpdateBoxes(); | |
9a7ad6a0 | 24 | void SetupPointSetArray(); |
092578a7 | 25 | |
9a7ad6a0 | 26 | Reve::BoxSet fBoxSet; |
27 | Reve::PointSetArray fPointSetArray; | |
28 | Float_t fPointFrac; | |
1a351260 | 29 | Float_t fPointSize; |
9a7ad6a0 | 30 | Bool_t fPointSetOn; |
31 | Int_t fPointSetMaxVal; | |
092578a7 | 32 | |
9a7ad6a0 | 33 | Float_t fDriftVel; |
34 | Float_t fZStep; | |
092578a7 | 35 | |
36 | public: | |
37 | TPCSector3D(const Text_t* n="TPCSector3D", const Text_t* t=0); | |
38 | virtual ~TPCSector3D(); | |
39 | ||
9a7ad6a0 | 40 | void SetPointFrac(Float_t f) { fPointFrac = f; IncRTS(); } |
1a351260 | 41 | void SetPointSize(Float_t s) { fPointSize = s; } |
9a7ad6a0 | 42 | |
092578a7 | 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 |