File indexing completed on 2025-01-18 10:11:46
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TFileDrawMap
0013 #define ROOT_TFileDrawMap
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #include "TNamed.h"
0025
0026 class TH1;
0027 class TFile;
0028 class TDirectory;
0029 class TBox;
0030 class TBranch;
0031
0032 class TFileDrawMap : public TNamed {
0033
0034 protected:
0035 TFile *fFile;
0036 TH1 *fFrame;
0037 TString fKeys;
0038 TString fOption;
0039 Int_t fXsize;
0040 Int_t fYsize;
0041
0042 virtual void DrawMarker(Int_t marker, Long64_t eseek);
0043 virtual bool GetObjectInfoDir(TDirectory *dir, Int_t px, Int_t py, TString &info) const;
0044 virtual void PaintBox(TBox &box, Long64_t bseek, Int_t nbytes);
0045 virtual void PaintDir(TDirectory *dir, const char *keys);
0046 virtual TObject *GetObject();
0047
0048 public:
0049 TFileDrawMap();
0050 TFileDrawMap(const TFile *file, const char *keys, Option_t *option);
0051 ~TFileDrawMap() override;
0052
0053 virtual void AnimateTree(const char *branches="");
0054 Int_t DistancetoPrimitive(Int_t px, Int_t py) override;
0055 virtual void DrawObject();
0056 virtual void DumpObject();
0057 void ExecuteEvent(Int_t event, Int_t px, Int_t py) override;
0058 char *GetObjectInfo(Int_t px, Int_t py) const override;
0059 virtual void InspectObject();
0060 void Paint(Option_t *option) override;
0061
0062 ClassDefOverride(TFileDrawMap,1);
0063 };
0064
0065 #endif