14#ifndef TGO4EXPORTMANAGER_H
15#define TGO4EXPORTMANAGER_H
74 void Export(TGraph *graph);
78 void Export(TFolder *fold);
82 void Export(TDirectory *dir);
86 void Export(TCollection *dir);
95 {
fxOutFile = filename ? filename :
"Go4Export"; }
118 void ExportASCII(TH1 *histo, Bool_t channels=kTRUE);
TString fxOutFileComment
Comment (title) of the output file.
TH1 * ImportHistogramGo4Ascii(const char *nom)
Provide reading back ascii histograms exported by another go4.
virtual ~TGo4ExportManager()
void SetFilter(Go4Export_t format)
TH1 * ImportHistogramOrtec(const char *filename)
Convert from Ortec MCA (request U.Spillmann)
void SetOutFileComment(const char *comment=nullptr)
TString fxOutFile
Name of the output file.
void SetStartDir(const char *dir=nullptr)
Go4Export_t fiFilter
Active filter format.
void SetOutFile(const char *filename=nullptr)
void ExportXML(TObject *ob)
Store object into root xml file.
void ExportRoot(TObject *ob)
Store object into root file.
void Export(TObject *ob, Go4Export_t format)
Conversion of object into selected file format in working dir.
void ExportRadware(TH1 *histo)
Conversion of histogram into radware file.
TString fxStartDir
name of the start (top level) directory.
void SetCurrentDir(const char *dir=nullptr)
void ExportASCII(TH1 *histo, Bool_t channels=kTRUE)
Conversion of histogram into ascii file.
TString fxCurrentDir
name of the current working directory.
TH1 * ImportHistogram(const char *filename, Go4Import_t format)
create imported histogram from file of given name