#include <TFileDrawMap.h>
Inheritance diagram for TFileDrawMap:
Public Member Functions | |
TFileDrawMap () | |
TFileDrawMap (const TFile *file, const char *keys, Option_t *option) | |
virtual | ~TFileDrawMap () |
virtual void | AnimateTree (const char *branches="") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | DrawObject () |
virtual void | DumpObject () |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual void | InspectObject () |
virtual void | Paint (Option_t *option) |
ClassDef (TFileDrawMap, 1) | |
TFileDrawMap () | |
TFileDrawMap (const TFile *file, const char *keys, Option_t *option) | |
virtual | ~TFileDrawMap () |
virtual void | AnimateTree (const char *branches="") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | DrawObject () |
virtual void | DumpObject () |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual void | InspectObject () |
virtual void | Paint (Option_t *option) |
ClassDef (TFileDrawMap, 1) | |
Protected Member Functions | |
virtual void | DrawMarker (Int_t marker, Long64_t eseek) |
virtual Bool_t | GetObjectInfoDir (TDirectory *dir, Int_t px, Int_t py, TString &info) const |
virtual void | PaintBox (TBox &box, Long64_t bseek, Int_t nbytes) |
virtual void | PaintDir (TDirectory *dir, const char *keys) |
virtual TObject * | GetObject () |
virtual void | DrawMarker (Int_t marker, Long64_t eseek) |
virtual Bool_t | GetObjectInfoDir (TDirectory *dir, Int_t px, Int_t py, TString &info) const |
virtual void | PaintBox (TBox &box, Long64_t bseek, Int_t nbytes) |
virtual void | PaintDir (TDirectory *dir, const char *keys) |
virtual TObject * | GetObject () |
Protected Attributes | |
TFile * | fFile |
TH1 * | fFrame |
TString | fKeys |
TString | fOption |
Int_t | fXsize |
Int_t | fYsize |
TFile * | fFile |
TH1 * | fFrame |
Definition at line 34 of file TFileDrawMap.h.
TFileDrawMap::TFileDrawMap | ( | ) |
Definition at line 98 of file TFileDrawMap.cxx.
References TObject::Draw(), fFile, fFrame, fKeys, fOption, fXsize, fYsize, TFile::GetEND(), TH1::GetXaxis(), TH1::GetYaxis(), gPad, TObject::kCanDelete, TH1::kNoStats, TObject::SetBit(), TH1::SetDirectory(), TAxis::SetLimits(), TH1::SetMaximum(), TH1::SetMinimum(), TNamed::SetTitle(), and TString::ToLower().
TFileDrawMap::~TFileDrawMap | ( | ) | [virtual] |
Definition at line 145 of file TFileDrawMap.cxx.
TFileDrawMap::TFileDrawMap | ( | ) |
virtual TFileDrawMap::~TFileDrawMap | ( | ) | [virtual] |
Definition at line 249 of file TFileDrawMap.cxx.
References d, fXsize, gPad, and gVirtualX.
Referenced by AnimateTree().
Bool_t TFileDrawMap::GetObjectInfoDir | ( | TDirectory * | dir, | |
Int_t | px, | |||
Int_t | py, | |||
TString & | info | |||
) | const [protected, virtual] |
Definition at line 379 of file TFileDrawMap.cxx.
References TDirectory::cd(), xmlio::Class, dir(), entry, fFile, fXsize, gDirectory, TDirectory::Get(), TBranch::GetBasketBytes(), TBranch::GetBasketEntry(), TBranch::GetBasketSeek(), TClass::GetClass(), TBranch::GetEntryOffsetLen(), TBranch::GetMaxBaskets(), TNamed::GetName(), TFile::GetNbytesFree(), TFile::GetNbytesInfo(), TDirectory::GetPath(), TFile::GetSeekFree(), TFile::GetSeekInfo(), gPad, i, info, TClass::InheritsFrom(), kFALSE, kTRUE, len, Long64_t, x, and y.
Referenced by GetObjectInfo().
void TFileDrawMap::PaintDir | ( | TDirectory * | dir, | |
const char * | keys | |||
) | [protected, virtual] |
Definition at line 538 of file TFileDrawMap.cxx.
References box(), TDirectory::cd(), xmlio::Class, TString::Data(), dir(), fFile, fKeys, gDirectory, TDirectory::Get(), TBranch::GetBasketBytes(), TBranch::GetBasketSeek(), TClass::GetClass(), TAttFill::GetFillColor(), TBranch::GetMaxBaskets(), TFile::GetNbytesFree(), TFile::GetNbytesInfo(), TFile::GetSeekFree(), TFile::GetSeekInfo(), i, TClass::InheritsFrom(), kNPOS, kTRUE, Long64_t, PaintBox(), and s.
Referenced by Paint().
TObject * TFileDrawMap::GetObject | ( | ) | [protected, virtual] |
Definition at line 352 of file TFileDrawMap.cxx.
References TString::Data(), fFile, TNamed::fName, TDirectoryFile::Get(), TNamed::GetName(), info, TString::Length(), and strlcpy().
Referenced by DrawObject(), DumpObject(), and InspectObject().
void TFileDrawMap::AnimateTree | ( | const char * | branches = "" |
) | [virtual] |
Definition at line 154 of file TFileDrawMap.cxx.
References TMath::BinarySearch(), TString::Data(), DrawMarker(), entry, fFile, TDirectoryFile::Get(), TBranch::GetBasketBytes(), TBranch::GetBasketEntry(), TBranch::GetBasketSeek(), TTree::GetBranch(), TFile::GetEND(), TTree::GetEntries(), TBranch::GetListOfBaskets(), TNamed::GetName(), TCollection::GetSize(), TObject::GetUniqueID(), TBranch::GetZipBytes(), gPad, gSystem, gVirtualX, TString::Index(), info, TVirtualX::kInvert, kNPOS, list, Long64_t, nentries, TSystem::ProcessEvents(), TString::Remove(), TObject::SetUniqueID(), TSystem::Sleep(), and sleep.
Reimplemented from TObject.
Definition at line 232 of file TFileDrawMap.cxx.
References TH1::DistancetoPrimitive(), fFrame, GetObjectInfo(), gPad, and TNamed::SetName().
void TFileDrawMap::DrawObject | ( | ) | [virtual] |
Definition at line 287 of file TFileDrawMap.cxx.
References TVirtualPad::cd(), TString::Data(), TTree::Draw(), fFile, TNamed::fName, TDirectoryFile::Get(), GetObject(), TROOT::GetSelectedPad(), gPad, gROOT, info, TString::Length(), TROOT::MakeDefCanvas(), and strlcpy().
void TFileDrawMap::DumpObject | ( | ) | [virtual] |
Definition at line 321 of file TFileDrawMap.cxx.
References entry, fFile, TNamed::GetName(), TDirectoryFile::GetObject(), GetObject(), info, and TTree::Show().
Reimplemented from TObject.
Definition at line 344 of file TFileDrawMap.cxx.
References TH1::ExecuteEvent(), and fFrame.
Reimplemented from TObject.
Definition at line 367 of file TFileDrawMap.cxx.
References fFile, GetObjectInfoDir(), and info.
Referenced by DistancetoPrimitive().
void TFileDrawMap::InspectObject | ( | ) | [virtual] |
void TFileDrawMap::Paint | ( | Option_t * | option | ) | [virtual] |
Reimplemented from TObject.
Definition at line 485 of file TFileDrawMap.cxx.
References TString::Contains(), TString::Data(), TH1::Draw(), fFile, fFrame, fKeys, fOption, fYsize, TH1::GetMaximumStored(), TH1::GetYaxis(), gPad, TH1::Paint(), PaintDir(), TAxis::SetLimits(), TH1::SetMaximum(), and TH1::SetMinimum().
TFileDrawMap::ClassDef | ( | TFileDrawMap | , | |
1 | ||||
) |
virtual Bool_t TFileDrawMap::GetObjectInfoDir | ( | TDirectory * | dir, | |
Int_t | px, | |||
Int_t | py, | |||
TString & | info | |||
) | const [protected, virtual] |
virtual void TFileDrawMap::PaintBox | ( | TBox & | box, | |
Long64_t | bseek, | |||
Int_t | nbytes | |||
) | [protected, virtual] |
virtual void TFileDrawMap::PaintDir | ( | TDirectory * | dir, | |
const char * | keys | |||
) | [protected, virtual] |
virtual TObject* TFileDrawMap::GetObject | ( | ) | [protected, virtual] |
virtual void TFileDrawMap::AnimateTree | ( | const char * | branches = "" |
) | [virtual] |
Reimplemented from TObject.
virtual void TFileDrawMap::DrawObject | ( | ) | [virtual] |
virtual void TFileDrawMap::DumpObject | ( | ) | [virtual] |
Reimplemented from TObject.
Reimplemented from TObject.
virtual void TFileDrawMap::InspectObject | ( | ) | [virtual] |
TFileDrawMap::ClassDef | ( | TFileDrawMap | , | |
1 | ||||
) |
TFile* TFileDrawMap::fFile [protected] |
Definition at line 37 of file TFileDrawMap.h.
Referenced by AnimateTree(), DrawObject(), DumpObject(), GetObject(), GetObjectInfo(), GetObjectInfoDir(), Paint(), PaintDir(), and TFileDrawMap().
TH1* TFileDrawMap::fFrame [protected] |
Definition at line 38 of file TFileDrawMap.h.
Referenced by DistancetoPrimitive(), ExecuteEvent(), Paint(), and TFileDrawMap().
TString TFileDrawMap::fKeys [protected] |
Definition at line 39 of file TFileDrawMap.h.
Referenced by Paint(), PaintDir(), and TFileDrawMap().
TString TFileDrawMap::fOption [protected] |
Int_t TFileDrawMap::fXsize [protected] |
Definition at line 41 of file TFileDrawMap.h.
Referenced by DrawMarker(), GetObjectInfoDir(), PaintBox(), and TFileDrawMap().
Int_t TFileDrawMap::fYsize [protected] |
TFile* TFileDrawMap::fFile [protected] |
Definition at line 37 of file TFileDrawMap.h.
TH1* TFileDrawMap::fFrame [protected] |
Definition at line 38 of file TFileDrawMap.h.