14#ifndef TGO4EXPORTMANAGER_H
15#define TGO4EXPORTMANAGER_H
95 {
fxOutFile = filename ? filename :
"Go4Export"; }
This class manages all export and import conversions of objects to/from different file formats like a...
TString fxOutFileComment
Comment (title) of the output file.
TH1 * ImportHistogramGo4Ascii(const char *nom)
Provide reading back ascii histograms exported by another go4.
void ExportRadware(TH2 *histo)
Conversion of 2d histogram into radware file.
void SetFilter(Go4Export_t format)
void Export(TFolder *fold)
Recursive conversion of all objects in fold specified filter files.
TH1 * ImportHistogramOrtec(const char *filename)
Convert from Ortec MCA (request U.Spillmann).
void SetOutFileComment(const char *comment=nullptr)
void Export(TH1 *histo)
Conversion of histogram into filter format file.
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 Export(TCollection *dir)
Recursive conversion of all objects in collection into ascii files.
void ExportXML(TObject *ob)
Store object into root xml file.
virtual ~TGo4ExportManager()
void ExportRoot(TObject *ob)
Store object into root file.
void Export(TDirectory *dir)
Recursive conversion of all objects in directory into filter format.
void Export(TObject *ob, Go4Export_t format)
Conversion of object into selected file format in working dir.
void ExportRadware(TGraph *graph)
Conversion of graph into radware file.
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 Export(TObject *ob)
Treat all general objects.
void ExportASCII(TH1 *histo, Bool_t channels=kTRUE)
Conversion of histogram into ascii file.
void ExportASCII(TGraph *graph)
Conversion of graph into ascii file.
TString fxCurrentDir
name of the current working directory.
TGo4ExportManager(const char *name)
TH1 * ImportHistogram(const char *filename, Go4Import_t format)
create imported histogram from file of given name
void Export(TGraph *graph)
Conversion of graph into filter file.