#include <TGo4ExportManager.h>
Public Member Functions | |
TGo4ExportManager () | |
TGo4ExportManager (const char *name) | |
virtual | ~TGo4ExportManager () |
void | Export (TObject *ob, Go4Export_t format) |
Conversion of object into selected file format in working dir. | |
void | Export (TObject *ob) |
Treat all general objects. | |
void | Export (TH1 *histo) |
Conversion of histogram into filter format file. | |
void | Export (TGraph *graph) |
Conversion of graph into filter file. | |
void | Export (TFolder *fold) |
Recursive conversion of all objects in fold specified filter files. | |
void | Export (TDirectory *dir) |
Recursive conversion of all objects in directory into filter format. | |
void | Export (TCollection *dir) |
Recursive conversion of all objects in collection into ascii files. | |
void | SetFilter (Go4Export_t format) |
void | SetCurrentDir (const char *dir=0) |
void | SetStartDir (const char *dir=0) |
void | SetOutFile (const char *filename=0) |
void | SetOutFileComment (const char *comment=0) |
Private Member Functions | |
void | ExportASCII (TH1 *histo, Bool_t channels=kTRUE) |
Conversion of histogram into ascii file. | |
void | ExportASCII (TGraph *graph) |
Conversion of graph into ascii file. | |
void | ExportRadware (TH1 *histo) |
Conversion of histogram into radware file. | |
void | ExportRadware (TH2 *histo) |
Conversion of 2d histogram into radware file. | |
void | ExportRadware (TGraph *graph) |
Conversion of graph into radware file. | |
void | ExportRoot (TObject *ob) |
Store object into root file. | |
void | ExportXML (TObject *ob) |
Store object into root xml file. | |
Private Attributes | |
TString | fxStartDir |
name of the start (top level) directory. | |
TString | fxCurrentDir |
name of the current working directory. | |
TString | fxOutFile |
Name of the output file. | |
TString | fxOutFileComment |
Comment (title) of the output file. | |
Go4Export_t | fiFilter |
Active filter format. |
Definition at line 46 of file TGo4ExportManager.h.
|
Definition at line 40 of file TGo4ExportManager.cxx. |
|
Definition at line 34 of file TGo4ExportManager.cxx. References fxOutFile. |
|
Definition at line 45 of file TGo4ExportManager.cxx. |
|
Conversion of object into selected file format in working dir. If object is a collection, folder or root directory, all contents of these are converted recursively. The substructure hierarchy is expressed by means of subdirectories of the file system, or within the output root file, respectively Definition at line 75 of file TGo4ExportManager.cxx. References SetFilter(). Referenced by Export(), and TGo4BrowserProxy::ExportItemsTo(). |
|
Treat all general objects. Downcast types for overloaded export methods. Conversion format is to be specified with SetFilter method first. Definition at line 84 of file TGo4ExportManager.cxx. References Export(), ExportRoot(), ExportXML(), fiFilter, GO4EX_ROOT, GO4EX_XML, and TGo4Log::Message(). |
|
Conversion of histogram into filter format file.
Definition at line 218 of file TGo4ExportManager.cxx. References ExportASCII(), ExportRadware(), ExportRoot(), ExportXML(), fiFilter, GO4EX_ASCII, GO4EX_ASCII_CHANNELS, GO4EX_RADWARE, GO4EX_ROOT, GO4EX_XML, and TGo4Log::Message(). |
|
Conversion of graph into filter file.
Definition at line 244 of file TGo4ExportManager.cxx. References ExportASCII(), ExportRadware(), ExportRoot(), ExportXML(), fiFilter, GO4EX_ASCII, GO4EX_ASCII_CHANNELS, GO4EX_RADWARE, GO4EX_ROOT, GO4EX_XML, and TGo4Log::Message(). |
|
Recursive conversion of all objects in fold specified filter files. folder structure will be represented by subdirs on file system. Definition at line 127 of file TGo4ExportManager.cxx. References Export(), ExportRoot(), fiFilter, fxCurrentDir, fxStartDir, GO4EX_ROOT, and TGo4Log::Message(). |
|
Recursive conversion of all objects in directory into filter format. folder structure will be represented by subdirs on file system. Definition at line 154 of file TGo4ExportManager.cxx. References Export(), ExportRoot(), fiFilter, fxCurrentDir, fxStartDir, GO4EX_ROOT, and TGo4Log::Message(). |
|
Recursive conversion of all objects in collection into ascii files. folder structure will be represented by subdirs on file system. Definition at line 201 of file TGo4ExportManager.cxx. References Export(), ExportRoot(), fiFilter, GO4EX_ROOT, and TGo4Log::Message(). |
|
Definition at line 49 of file TGo4ExportManager.cxx. References fiFilter. Referenced by Export(). |
|
Definition at line 54 of file TGo4ExportManager.cxx. References fxCurrentDir. Referenced by TGo4BrowserProxy::ExportItemsTo(). |
|
Definition at line 67 of file TGo4ExportManager.cxx. References fxStartDir. Referenced by TGo4BrowserProxy::ExportItemsTo(). |
|
Definition at line 89 of file TGo4ExportManager.h. References fxOutFile. Referenced by TGo4BrowserProxy::ExportItemsTo(). |
|
Definition at line 92 of file TGo4ExportManager.h. References fxOutFileComment. Referenced by TGo4BrowserProxy::ExportItemsTo(). |
|
Conversion of histogram into ascii file. If channels is true, x/y/z coordinates are in absolute bin channel numbers. Otherwise, export value of bincenters, with respect to axis scale. Definition at line 268 of file TGo4ExportManager.cxx. References fxCurrentDir, fxStartDir, and TGo4Log::Message(). Referenced by Export(). |
|
Conversion of graph into ascii file.
Definition at line 347 of file TGo4ExportManager.cxx. References fxCurrentDir, fxStartDir, and TGo4Log::Message(). |
|
Conversion of histogram into radware file.
Definition at line 395 of file TGo4ExportManager.cxx. References fxCurrentDir, fxStartDir, and TGo4Log::Message(). Referenced by Export(). |
|
Conversion of 2d histogram into radware file.
Definition at line 487 of file TGo4ExportManager.cxx. References TGo4Log::Message(). |
|
Conversion of graph into radware file.
Definition at line 491 of file TGo4ExportManager.cxx. References TGo4Log::Message(). |
|
Store object into root file. Filename can be set by SetOutFile() Definition at line 512 of file TGo4ExportManager.cxx. References fxOutFile, fxOutFileComment, and TGo4Log::Message(). Referenced by Export(). |
|
Store object into root xml file. Filename derived from object name Definition at line 496 of file TGo4ExportManager.cxx. References TGo4Log::Message(). Referenced by Export(). |
|
name of the start (top level) directory. If keys from a directory are read, it is required that this start directory is current dir. Definition at line 123 of file TGo4ExportManager.h. Referenced by Export(), ExportASCII(), ExportRadware(), and SetStartDir(). |
|
name of the current working directory.
Definition at line 126 of file TGo4ExportManager.h. Referenced by Export(), ExportASCII(), ExportRadware(), and SetCurrentDir(). |
|
Name of the output file. Optionally, for ascii export the files are named according to object names. Definition at line 130 of file TGo4ExportManager.h. Referenced by ExportRoot(), SetOutFile(), and TGo4ExportManager(). |
|
Comment (title) of the output file. Optionally, for ascii export the files are named according to object names. For root export, this will be TFile t Definition at line 134 of file TGo4ExportManager.h. Referenced by ExportRoot(), and SetOutFileComment(). |
|
Active filter format.
Definition at line 137 of file TGo4ExportManager.h. Referenced by Export(), and SetFilter(). |