#include <TGo4ExportManager.h>
Public Methods | |
TGo4ExportManager () | |
TGo4ExportManager (const Text_t *name) | |
virtual | ~TGo4ExportManager () |
void | Export (TObject *ob, Go4Export_t format) |
Conversion of object into selected file format in working dir. More... | |
void | Export (TObject *ob) |
Treat all general objects. More... | |
void | Export (TH1 *histo) |
Conversion of histogram into filter format file. More... | |
void | Export (TGraph *graph) |
Conversion of graph into filter file. More... | |
void | Export (TFolder *fold) |
Recursive conversion of all objects in fold specified filter files. More... | |
void | Export (TDirectory *dir) |
Recursive conversion of all objects in directory into filter format. More... | |
void | Export (TCollection *dir) |
Recursive conversion of all objects in collection into ascii files. More... | |
void | SetFilter (Go4Export_t format) |
void | SetCurrentDir (const Text_t *dir=0) |
void | SetStartDir (const Text_t *dir=0) |
void | SetOutFile (const Text_t *filename=0) |
void | SetOutFileComment (const Text_t *comment=0) |
Private Methods | |
void | ExportASCII (TH1 *histo, Bool_t channels=kTRUE) |
Conversion of histogram into ascii file. More... | |
void | ExportASCII (TGraph *graph) |
Conversion of graph into ascii file. More... | |
void | ExportRadware (TH1 *histo) |
Conversion of histogram into radware file. More... | |
void | ExportRadware (TH2 *histo) |
Conversion of 2d histogram into radware file. More... | |
void | ExportRadware (TGraph *graph) |
Conversion of graph into radware file. More... | |
void | ExportRoot (TObject *ob) |
Store object into root file. More... | |
Private Attributes | |
TString | fxStartDir |
name of the start (top level) directory. More... | |
TString | fxCurrentDir |
name of the current working directory. More... | |
TString | fxOutFile |
Name of the output file. More... | |
TString | fxOutFileComment |
Comment (title) of the output file. More... | |
Go4Export_t | fiFilter |
Active filter format. More... |
Definition at line 45 of file TGo4ExportManager.h.
|
Definition at line 39 of file TGo4ExportManager.cxx. References GO4EX_ROOT. |
|
Definition at line 32 of file TGo4ExportManager.cxx. References fxOutFile, and GO4EX_ROOT. |
|
Definition at line 44 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 69 of file TGo4ExportManager.cxx. References Go4Export_t, and SetFilter(). Referenced by Export(), and TGo4BrowserSlots::ExportSelectedItems(). |
|
Treat all general objects. Downcast types for overloaded export methods. Conversion format is to be specified with SetFilter method first. Definition at line 78 of file TGo4ExportManager.cxx. References Export(), and TGo4Log::Message(). |
|
Conversion of histogram into filter format file.
Definition at line 209 of file TGo4ExportManager.cxx. References ExportASCII(), ExportRadware(), ExportRoot(), fiFilter, GO4EX_ASCII, GO4EX_ASCII_CHANNELS, GO4EX_RADWARE, GO4EX_ROOT, and TGo4Log::Message(). |
|
Conversion of graph into filter file.
Definition at line 232 of file TGo4ExportManager.cxx. References ExportASCII(), ExportRadware(), ExportRoot(), fiFilter, GO4EX_ASCII, GO4EX_ASCII_CHANNELS, GO4EX_RADWARE, GO4EX_ROOT, 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 114 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 141 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 188 of file TGo4ExportManager.cxx. References Export(), ExportRoot(), fiFilter, GO4EX_ROOT, and TGo4Log::Message(). |
|
Definition at line 82 of file TGo4ExportManager.h. References fiFilter, and Go4Export_t. Referenced by Export(). |
|
Definition at line 48 of file TGo4ExportManager.cxx. References fxCurrentDir. Referenced by TGo4BrowserSlots::ExportSelectedItems(). |
|
Definition at line 61 of file TGo4ExportManager.cxx. References fxStartDir. Referenced by TGo4BrowserSlots::ExportSelectedItems(). |
|
Definition at line 88 of file TGo4ExportManager.h. References fxOutFile. Referenced by TGo4BrowserSlots::ExportSelectedItems(). |
|
Definition at line 91 of file TGo4ExportManager.h. References fxOutFileComment. Referenced by TGo4BrowserSlots::ExportSelectedItems(). |
|
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 253 of file TGo4ExportManager.cxx. References fxCurrentDir, fxStartDir, and TGo4Log::Message(). Referenced by Export(). |
|
Conversion of graph into ascii file.
Definition at line 331 of file TGo4ExportManager.cxx. References fxCurrentDir, fxStartDir, and TGo4Log::Message(). |
|
Conversion of histogram into radware file.
Definition at line 380 of file TGo4ExportManager.cxx. References fxCurrentDir, fxStartDir, and TGo4Log::Message(). Referenced by Export(). |
|
Conversion of 2d histogram into radware file.
Definition at line 472 of file TGo4ExportManager.cxx. References TGo4Log::Message(). |
|
Conversion of graph into radware file.
Definition at line 476 of file TGo4ExportManager.cxx. References TGo4Log::Message(). |
|
Store object into root file. Filename can be set by SetOutFile() Definition at line 481 of file TGo4ExportManager.cxx. References fxOutFile, fxOutFileComment, and 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 119 of file TGo4ExportManager.h. Referenced by Export(), ExportASCII(), ExportRadware(), and SetStartDir(). |
|
name of the current working directory.
Definition at line 122 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 126 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 130 of file TGo4ExportManager.h. Referenced by ExportRoot(), and SetOutFileComment(). |
|
Active filter format.
Definition at line 133 of file TGo4ExportManager.h. |