3 #ifndef ALIEVE_TPCSector3D_H
4 #define ALIEVE_TPCSector3D_H
6 #include <Alieve/TPCSectorViz.h>
7 #include <Alieve/TPCSectorData.h>
9 #include <Reve/BoxSet.h>
10 #include <Reve/PointSet.h>
15 class TPCSector3D : public TPCSectorViz
17 friend class TPCSector3DEditor;
18 friend class TPCSector3DGL;
21 void LoadPadrow(TPCSectorData::RowIterator& iter,
22 Float_t sx, Float_t sy, Float_t pw, Float_t ph);
24 void SetupPointSetArray();
27 Reve::PointSetArray fPointSetArray;
31 Int_t fPointSetMaxVal;
37 TPCSector3D(const Text_t* n="TPCSector3D", const Text_t* t=0);
38 virtual ~TPCSector3D();
40 virtual UInt_t IncRTS();
42 void SetPointFrac(Float_t f) { fPointFrac = f; IncRTS(); }
43 void SetPointSize(Float_t s) { fPointSize = s; }
45 void SetDriftVel(Float_t v) { fDriftVel = v; IncRTS(); }
46 void SetZStep(Float_t step) { fZStep = step; IncRTS(); }
48 virtual void SetRnrFrame(Bool_t rf);
50 virtual void ComputeBBox();
51 virtual void Paint(Option_t* option="");
53 ClassDef(TPCSector3D, 1);
54 }; // endclass TPCSector3D