Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4DiskFileBrowserSlots Class Reference

#include <TGo4DiskFileBrowserSlots.h>

Inheritance diagram for TGo4DiskFileBrowserSlots:

TGo4SlotsBaseClass List of all members.

Public Methods

 TGo4DiskFileBrowserSlots (const char *name, const char *title, TGo4DiskFileBrowser *p)
virtual ~TGo4DiskFileBrowserSlots ()
TGo4StatusGetStatus ()
void SetGUI (TGo4DiskFileBrowser *GUI)
TGo4DiskFileBrowser * GetGUI ()
void PlotLocal ()
void SuperImposeLocal ()
void ShowSelectedProperties ()
void ShowProperties (QListViewItem *Item)
void EditSelected ()
void FileItemDoubleClicked (QListViewItem *Item)
const Text_t * SaveObject (TObject *ob, const char *newname=0)
 Save object ob to a root file. More...

const Text_t * LoadObject (TObject **pob, const Text_t *name)
 Retrieve object of name from a root file. More...

void OpenSelectedMacro (const char *cName, const char *cPath)
void OpenSelectedRootFile (const char *cName, const char *cPath)

Private Methods

QListViewItem * MapEvent (QListViewItem *parent, TFile *file, TTree *tree, TGo4EventElement *elem, TObjArray *ListOfBranches, TArrayC *UsageOfBarnches)
QListViewItem * MapBranch (QListViewItem *parent, TFile *file, TTree *tree, TBranch *branch, Bool_t createbr=kTRUE)
QListViewItem * MapObject (QListViewItem *parent, TFile *file, TKey *key, TObject *obj=0)

Private Attributes

TGo4GUIRegistryfxTGo4GUIRegistry
 @supplierCardinality 1. More...

TGo4DiskFileBrowserStatusfxTGo4DiskFileBrowserStatus
TGo4DiskFileBrowser * fxTGo4DiskFileBrowser
TGo4DockBrowsers * fxTGo4DockBrowsers
TGo4MainWindowfxMainWin
TString fxFilename

Detailed Description

Author:
Mohammad Al-Turany, S.Linev, J.Adamczewski

Definition at line 45 of file TGo4DiskFileBrowserSlots.h.


Constructor & Destructor Documentation

TGo4DiskFileBrowserSlots::TGo4DiskFileBrowserSlots const char *    name,
const char *    title,
TGo4DiskFileBrowser *    p
 

Definition at line 79 of file TGo4DiskFileBrowserSlots.cxx.

References fxMainWin, fxTGo4DiskFileBrowser, fxTGo4DiskFileBrowserStatus, fxTGo4DockBrowsers, fxTGo4GUIRegistry, TGo4GUIRegistry::GetMainWindow(), TGo4GUIRegistry::Instance(), p, and TGo4GUIRegistry::RegisterSlotClass().

TGo4DiskFileBrowserSlots::~TGo4DiskFileBrowserSlots   [virtual]
 

Definition at line 218 of file TGo4DiskFileBrowserSlots.cxx.

References fxTGo4DiskFileBrowserStatus.


Member Function Documentation

TGo4Status * TGo4DiskFileBrowserSlots::GetStatus  
 

Definition at line 214 of file TGo4DiskFileBrowserSlots.cxx.

References fxTGo4DiskFileBrowserStatus.

Referenced by TGo4FitPanelSlots::GetDropedObject(), and TGo4TreeViewerSlots::TreeDraw().

void TGo4DiskFileBrowserSlots::SetGUI TGo4DiskFileBrowser *    GUI
 

Definition at line 208 of file TGo4DiskFileBrowserSlots.cxx.

References fxTGo4DiskFileBrowser, fxTGo4GUIRegistry, and TGo4GUIRegistry::GuiIsChanged().

TGo4DiskFileBrowser* TGo4DiskFileBrowserSlots::GetGUI   [inline]
 

Definition at line 52 of file TGo4DiskFileBrowserSlots.h.

References fxTGo4DiskFileBrowser.

void TGo4DiskFileBrowserSlots::PlotLocal  
 

Definition at line 131 of file TGo4DiskFileBrowserSlots.cxx.

References TGo4QItem::DrawObj(), fxMainWin, fxTGo4DiskFileBrowser, and TGo4MainWindow::ViewPanelSlot().

Referenced by FileItemDoubleClicked().

void TGo4DiskFileBrowserSlots::SuperImposeLocal  
 

Definition at line 115 of file TGo4DiskFileBrowserSlots.cxx.

References TGo4QItem::DrawObj(), fxMainWin, fxTGo4DiskFileBrowser, and TGo4MainWindow::ViewPanelSlot().

void TGo4DiskFileBrowserSlots::ShowSelectedProperties  
 

Definition at line 168 of file TGo4DiskFileBrowserSlots.cxx.

References fxTGo4DiskFileBrowser, and ShowProperties().

void TGo4DiskFileBrowserSlots::ShowProperties QListViewItem *    Item
 

Definition at line 182 of file TGo4DiskFileBrowserSlots.cxx.

References TGo4MainWindow::ConditionInfoSlot(), fxMainWin, fxTGo4DiskFileBrowserStatus, TGo4QItem::GetRootFile(), TGo4QItem::GetWorkObject(), TGo4MainWindow::HistogramInfoSlot(), and TGo4DiskFileBrowserStatus::SetActiveFile().

Referenced by ShowSelectedProperties().

void TGo4DiskFileBrowserSlots::EditSelected  
 

Definition at line 155 of file TGo4DiskFileBrowserSlots.cxx.

References FileItemDoubleClicked(), and fxTGo4DiskFileBrowser.

void TGo4DiskFileBrowserSlots::FileItemDoubleClicked QListViewItem *    Item
 

Definition at line 98 of file TGo4DiskFileBrowserSlots.cxx.

References fxTGo4DiskFileBrowserStatus, TGo4QItem::GetRootFile(), TGo4QItem::ItemDBkLocal(), PlotLocal(), and TGo4DiskFileBrowserStatus::SetActiveFile().

Referenced by EditSelected().

const Text_t * TGo4DiskFileBrowserSlots::SaveObject TObject *    ob,
const char *    newname = 0
 

Save object ob to a root file.

If newname is given, name of object is changed to it. Will open a file requester first, default file is the currently active file. Searches old object of same name, ob will replace it at the old subdirectory. returns name of save file if successful, or 0. JA

Definition at line 447 of file TGo4DiskFileBrowserSlots.cxx.

References TGo4AnalysisObjectManager::fgcCANVFOLDER, TGo4AnalysisObjectManager::fgcCONDFOLDER, TGo4AnalysisObjectManager::fgcDYNFOLDER, TGo4AnalysisObjectManager::fgcHISTFOLDER, TGo4AnalysisObjectManager::fgcPARAFOLDER, TGo4AnalysisObjectManager::fgcPICTFOLDER, TGo4AnalysisObjectManager::fgcTOPFOLDER, fxFilename, fxTGo4DiskFileBrowser, fxTGo4DiskFileBrowserStatus, TGo4DiskFileBrowserStatus::GetObjectfromFileList(), and OpenSelectedRootFile().

const Text_t * TGo4DiskFileBrowserSlots::LoadObject TObject **    pob,
const Text_t *    name
 

Retrieve object of name from a root file.

Will open file requester default file is currently active file. Pointer ob will give a reference to the clone of the object in file, if successful, or 0. returns name of save file if successful, or 0

Definition at line 567 of file TGo4DiskFileBrowserSlots.cxx.

References fxFilename, and fxTGo4DiskFileBrowser.

void TGo4DiskFileBrowserSlots::OpenSelectedMacro const char *    cName,
const char *    cPath
 

Definition at line 93 of file TGo4DiskFileBrowserSlots.cxx.

void TGo4DiskFileBrowserSlots::OpenSelectedRootFile const char *    cName,
const char *    cPath
 

Definition at line 226 of file TGo4DiskFileBrowserSlots.cxx.

References TGo4DiskFileBrowserStatus::AddToFileListStatus(), fxTGo4DiskFileBrowser, fxTGo4DiskFileBrowserStatus, TGo4DiskFileBrowserStatus::GetObjectfromFileList(), MapBranch(), MapEvent(), MapObject(), TGo4DiskFileBrowserStatus::SetActiveFile(), TGo4QFileItem::SetComposite(), TGo4QItem::SetFileKey(), TGo4QItem::SetFileObj(), TGo4QItem::SetItemObject(), TGo4QItem::SetRootFile(), and TGo4CompositeEvent::synchronizeWithTree().

Referenced by TGo4ScriptSlots::OpenFile(), and SaveObject().

QListViewItem * TGo4DiskFileBrowserSlots::MapEvent QListViewItem *    parent,
TFile *    file,
TTree *    tree,
TGo4EventElement   elem,
TObjArray *    ListOfBranches,
TArrayC *    UsageOfBarnches
[private]
 

Definition at line 339 of file TGo4DiskFileBrowserSlots.cxx.

References TGo4CompositeEvent::getElements(), MapBranch(), TGo4QBranchItem::SetRootBranchName(), TGo4QItem::SetRootFile(), and TGo4QBranchItem::SetRootTree().

Referenced by OpenSelectedRootFile().

QListViewItem * TGo4DiskFileBrowserSlots::MapBranch QListViewItem *    parent,
TFile *    file,
TTree *    tree,
TBranch *    branch,
Bool_t    createbr = kTRUE
[private]
 

Definition at line 305 of file TGo4DiskFileBrowserSlots.cxx.

References TGo4QItem::SetRootFile(), TGo4QLeafItem::SetRootTree(), and TGo4QBranchItem::SetRootTree().

Referenced by MapEvent(), and OpenSelectedRootFile().

QListViewItem * TGo4DiskFileBrowserSlots::MapObject QListViewItem *    parent,
TFile *    file,
TKey *    key,
TObject *    obj = 0
[private]
 

Definition at line 373 of file TGo4DiskFileBrowserSlots.cxx.

References fxTGo4DockBrowsers, TGo4CondArray::GetType(), TGo4QItem::SetFileKey(), TGo4QItem::SetFileObj(), TGo4QItem::SetItemObject(), and TGo4QItem::SetRootFile().

Referenced by OpenSelectedRootFile().


Member Data Documentation

TGo4GUIRegistry* TGo4DiskFileBrowserSlots::fxTGo4GUIRegistry [private]
 

@supplierCardinality 1.

Definition at line 90 of file TGo4DiskFileBrowserSlots.h.

Referenced by SetGUI(), and TGo4DiskFileBrowserSlots().

TGo4DiskFileBrowserStatus* TGo4DiskFileBrowserSlots::fxTGo4DiskFileBrowserStatus [private]
 

Definition at line 91 of file TGo4DiskFileBrowserSlots.h.

Referenced by FileItemDoubleClicked(), GetStatus(), OpenSelectedRootFile(), SaveObject(), ShowProperties(), TGo4DiskFileBrowserSlots(), and ~TGo4DiskFileBrowserSlots().

TGo4DiskFileBrowser* TGo4DiskFileBrowserSlots::fxTGo4DiskFileBrowser [private]
 

Definition at line 92 of file TGo4DiskFileBrowserSlots.h.

Referenced by EditSelected(), GetGUI(), LoadObject(), OpenSelectedRootFile(), PlotLocal(), SaveObject(), SetGUI(), ShowSelectedProperties(), SuperImposeLocal(), and TGo4DiskFileBrowserSlots().

TGo4DockBrowsers* TGo4DiskFileBrowserSlots::fxTGo4DockBrowsers [private]
 

Definition at line 93 of file TGo4DiskFileBrowserSlots.h.

Referenced by MapObject(), and TGo4DiskFileBrowserSlots().

TGo4MainWindow* TGo4DiskFileBrowserSlots::fxMainWin [private]
 

Definition at line 94 of file TGo4DiskFileBrowserSlots.h.

Referenced by PlotLocal(), ShowProperties(), SuperImposeLocal(), and TGo4DiskFileBrowserSlots().

TString TGo4DiskFileBrowserSlots::fxFilename [private]
 

Definition at line 95 of file TGo4DiskFileBrowserSlots.h.

Referenced by LoadObject(), and SaveObject().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:35 2005 for Go4-v2.10-5 by doxygen1.2.15