Warning, file /include/root/TGL5D.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef ROOT_TGL5D
0012 #define ROOT_TGL5D
0013
0014 #include "TGLHistPainter.h"
0015 #include "TGLUtil.h"
0016 #include "TNamed.h"
0017 #include "TAxis.h"
0018
0019 #include <memory>
0020 #include <vector>
0021
0022 class TGL5DPainter;
0023 class TTree;
0024
0025
0026
0027
0028 class TGL5DDataSet : public TNamed {
0029 friend class TGL5DPainter;
0030 private:
0031 enum Edefaults{
0032 kDefaultNB = 50
0033 };
0034 public:
0035 TGL5DDataSet(TTree *inputData);
0036
0037
0038
0039 Int_t DistancetoPrimitive(Int_t px, Int_t py) override;
0040 void ExecuteEvent(Int_t event, Int_t px, Int_t py) override;
0041 char *GetObjectInfo(Int_t px, Int_t py) const override;
0042 void Paint(Option_t *option) override;
0043
0044
0045 TGL5DPainter *GetRealPainter()const;
0046
0047
0048 void SelectPoints(Double_t v4Level, Double_t range);
0049 UInt_t SelectedSize()const;
0050
0051
0052 Double_t V1(UInt_t ind)const;
0053 Double_t V2(UInt_t ind)const;
0054 Double_t V3(UInt_t ind)const;
0055
0056
0057 TAxis *GetXAxis()const;
0058 TAxis *GetYAxis()const;
0059 TAxis *GetZAxis()const;
0060
0061
0062 const Rgl::Range_t &GetXRange()const;
0063 const Rgl::Range_t &GetYRange()const;
0064 const Rgl::Range_t &GetZRange()const;
0065 const Rgl::Range_t &GetV4Range()const;
0066
0067 private:
0068
0069
0070
0071 Double_t V1ToUnitCube(Double_t v1)const;
0072 Double_t V2ToUnitCube(Double_t v2)const;
0073 Double_t V3ToUnitCube(Double_t v3)const;
0074
0075 Long64_t fNP;
0076 const Double_t *fV1;
0077 const Double_t *fV2;
0078 const Double_t *fV3;
0079 const Double_t *fV4;
0080 const Double_t *fV5;
0081
0082
0083
0084 Rgl::Range_t fV1MinMax;
0085 Double_t fV1Range;
0086 Rgl::Range_t fV2MinMax;
0087 Double_t fV2Range;
0088 Rgl::Range_t fV3MinMax;
0089 Double_t fV3Range;
0090 Rgl::Range_t fV4MinMax;
0091 Rgl::Range_t fV5MinMax;
0092
0093
0094
0095 mutable TAxis fXAxis;
0096 mutable TAxis fYAxis;
0097 mutable TAxis fZAxis;
0098
0099 Bool_t fV4IsString;
0100
0101 std::unique_ptr<TGLHistPainter> fPainter;
0102
0103 std::vector<UInt_t> fIndices;
0104
0105 TGL5DDataSet(const TGL5DDataSet &rhs);
0106 TGL5DDataSet &operator = (const TGL5DDataSet &rhs);
0107
0108 ClassDefOverride(TGL5DDataSet, 0)
0109 };
0110
0111 #endif